Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't build on OSX #6

Open
ruipacheco opened this issue Mar 13, 2014 · 0 comments
Open

Can't build on OSX #6

ruipacheco opened this issue Mar 13, 2014 · 0 comments

Comments

@ruipacheco
Copy link

Got the following exception while building on OSX:

$ pip install smhasher
Downloading/unpacking smhasher
  Downloading smhasher-0.150.1.tar.gz (66kB): 66kB downloaded
  Running setup.py egg_info for package smhasher

Installing collected packages: smhasher
  Running setup.py install for smhasher
    building 'smhasher' extension
    cc -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -pipe -arch i386 -arch x86_64 -DMODULE_VERSION="0.150.1" -Ismhasher -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c smhasher.cpp -o build/temp.macosx-10.9-intel-2.7/smhasher.o
    clang: error: unknown argument: '-mno-fused-madd' [-Wunused-command-line-argument-hard-error-in-future]
    clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
    error: command 'cc' failed with exit status 1
    Complete output from command /Users/ruipacheco/.virtualenvs/gedditreader/bin/python -c "import setuptools;__file__='/Users/ruipacheco/.virtualenvs/gedditreader/build/smhasher/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/j5/cnkzwr9n78n__t_2hzgrycv80000gn/T/pip-v2ZCrD-record/install-record.txt --single-version-externally-managed --install-headers /Users/ruipacheco/.virtualenvs/gedditreader/include/site/python2.7:
    running install

running build

running build_ext

building 'smhasher' extension

creating build

creating build/temp.macosx-10.9-intel-2.7

creating build/temp.macosx-10.9-intel-2.7/smhasher

cc -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -pipe -arch i386 -arch x86_64 -DMODULE_VERSION="0.150.1" -Ismhasher -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c smhasher.cpp -o build/temp.macosx-10.9-intel-2.7/smhasher.o

clang: error: unknown argument: '-mno-fused-madd' [-Wunused-command-line-argument-hard-error-in-future]

clang: note: this will be a hard error (cannot be downgraded to a warning) in the future

error: command 'cc' failed with exit status 1

----------------------------------------
Cleaning up...
Command /Users/ruipacheco/.virtualenvs/gedditreader/bin/python -c "import setuptools;__file__='/Users/ruipacheco/.virtualenvs/gedditreader/build/smhasher/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/j5/cnkzwr9n78n__t_2hzgrycv80000gn/T/pip-v2ZCrD-record/install-record.txt --single-version-externally-managed --install-headers /Users/ruipacheco/.virtualenvs/gedditreader/include/site/python2.7 failed with error code 1 in /Users/ruipacheco/.virtualenvs/gedditreader/build/smhasher
Storing complete log in /Users/ruipacheco/.pip/pip.log

Latest Xcode on latest OSX at the time of this writing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant