New submission from Arkadiusz Miskiewicz Arkadiusz Miskiewicz <ar...@users.sourceforge.net>:
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 :-) */ ---------- messages: 82712 nosy: arekm severity: normal status: open title: __ppc__ macro checking is incorrect type: compile error versions: Python 3.0 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5369> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com