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, dmalcolm, pitrou
Date 2010-12-09.12:48:33
SpamBayes Score 0.00038307396
Marked as misclassified No
Message-id <1291898916.38.0.132332831227.issue10655@psf.upfronthosting.co.za>
In-reply-to
Content
Here is a patch that I had to include in my Linux PowerPC build of 2.7 and 3.2

--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -31,10 +31,12 @@
 
 typedef unsigned long long uint64;
 
-#if defined(__ppc__) /* <- Don't know if this is the correct symbol; this
+#if defined(__ppc__) || defined (__powerpc__) /* <- 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 :-) */
+                           POWER?  Who knows :-) 
+                           __powerpc__ is necessary for Linux */
 
 #define READ_TIMESTAMP(var) ppc_getcounter(&var)
History
Date User Action Args
2010-12-09 12:48:36adriansetrecipients: + adrian, pitrou, dmalcolm
2010-12-09 12:48:36adriansetmessageid: <1291898916.38.0.132332831227.issue10655@psf.upfronthosting.co.za>
2010-12-09 12:48:33adrianlinkissue10655 messages
2010-12-09 12:48:33adriancreate