[issue824] source install on darwin/intel fails due to -mno-fused-madd
mercurial-bugs at selenic.com
Mon Nov 5 12:31:21 CST 2007
New submission from benoit.hudson at gmail.com <benoit.hudson at gmail.com>:
The build process is using flags that are only valid on powerpc, even with
python 2.5 on an osx intel box. I'd seen rumours that old versions of python
fail, so I slightly modified the 'build' target to also run $(PYTHON) -V. This
~/sandbox/mercurial-0.9.5 -> make install-home
python setup.py build
building 'mercurial.mpatch' extension
gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd
-DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/sw/include/python2.5 -c
mercurial/mpatch.c -o build/temp.macosx-10.4-i386-2.5/mercurial/mpatch.o
gcc: unrecognized option '-no-cpp-precomp'
cc1: error: unrecognized command line option "-mno-fused-madd"
cc1: error: unrecognized command line option "-Wno-long-double"
Is there a workaround for this?
nosy: benoit.hudson at gmail.com
title: source install on darwin/intel fails due to -mno-fused-madd
Mercurial issue tracker <mercurial-bugs at selenic.com>
More information about the Mercurial-devel