[issue824] source install on darwin/intel fails due to -mno-fused-madd

benoit.hudson@gmail.com 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
gives me:

~/sandbox/mercurial-0.9.5 -> make install-home
python -V
Python 2.5
python setup.py build
running build
running build_py
running build_ext
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?

----------
messages: 4272
nosy: benoit.hudson at gmail.com
priority: bug
status: unread
title: source install on darwin/intel fails due to -mno-fused-madd

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue824>
____________________________________________________



More information about the Mercurial-devel mailing list