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 adrian
Recipients adrian
Date 2010-12-08.21:50:25
SpamBayes Score 4.5031918e-08
Marked as misclassified No
Message-id <1291845027.1.0.195055674772.issue10655@psf.upfronthosting.co.za>
In-reply-to
Content
In Python/ceval.c is following line:

#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 :-) */

which seems wrong and aborts the build on powerpc. Changing it to __powerpc__ fixes it for me.

The following output of gcc confirms it:

$ gcc -dM -E -x c /tmp/foo.c  | grep powerpc
#define __powerpc__ 1
#define __powerpc 1
#define powerpc 1

Whereas there are no defines containing "ppc"
History
Date User Action Args
2010-12-08 21:50:27adriansetrecipients: + adrian
2010-12-08 21:50:27adriansetmessageid: <1291845027.1.0.195055674772.issue10655@psf.upfronthosting.co.za>
2010-12-08 21:50:25adrianlinkissue10655 messages
2010-12-08 21:50:25adriancreate