This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author arekm
Recipients arekm
Date 2009-02-25.19:26:05
SpamBayes Score 4.791215e-06
Marked as misclassified No
Message-id <1235589968.39.0.392818865305.issue5369@psf.upfronthosting.co.za>
In-reply-to
Content
Python/ceval.c and many other places rely on __ppc__ (and __ppc64__) 
symbol defined like below.

Unfortunately on my Linux ppc __ppc__ is never defined while 
__powerpc__ is. Build fortunately failed so the problem was noticed.

The fix is to check for __powerpc__ and __powerpc64__ as for example 
glibc does.



#if defined(__ppc__) /* <- Don't know if this is the correct symbol; 
this
                           section should work for GCC on any PowerPC
                           platform, irrespective of OS.
                           POWER?  Who knows :-) */
History
Date User Action Args
2009-02-25 19:26:08arekmsetrecipients: + arekm
2009-02-25 19:26:08arekmsetmessageid: <1235589968.39.0.392818865305.issue5369@psf.upfronthosting.co.za>
2009-02-25 19:26:05arekmlinkissue5369 messages
2009-02-25 19:26:05arekmcreate