[issue1779871] Make python build with gcc-4.2 on OS X 10.4.9

Jeffrey Yasskin report at bugs.python.org
Thu Jan 17 08:09:52 CET 2008


Jeffrey Yasskin added the comment:

Sorry for taking so long to get to this. gcc 4.2.1 still produces the
following errors with this patch:

gcc -c -fno-strict-aliasing -mno-fused-madd -no-cpp-precomp -g -Wall
-Wstrict-prototypes  -I. -IInclude -I./Include -I/opt/local/include 
-DPy_BUILD_CORE -o Objects/boolobject.o Objects/boolobject.c
gcc: unrecognized option '-no-cpp-precomp'
cc1: error: unrecognized command line option "-mno-fused-madd"
make: *** [Objects/boolobject.o] Error 1

I see you dropped the test for -mno-fused-madd. Since gcc-4.2 doesn't
support it, I meant I didn't mind if you dropped the flag entirely. It
looks like -no-cpp-precomp stuck around because it doesn't actually
cause the compile to fail, just to produce a warning message.

_____________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1779871>
_____________________________________


More information about the Python-bugs-list mailing list