Skip to content
This repository has been archived by the owner on May 10, 2023. It is now read-only.

clang error unknown argument '-mno-fused-madd' #68

Open
njia opened this issue Aug 27, 2014 · 2 comments
Open

clang error unknown argument '-mno-fused-madd' #68

njia opened this issue Aug 27, 2014 · 2 comments
Labels

Comments

@njia
Copy link

njia commented Aug 27, 2014

We install mysql2pgsql as part of our boxen installation and recently the installation failed with following error.

Xcode 5.1.1

building '_mysql' extension

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

clang -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 -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch x86_64 -pipe -Dversion_info=(1,2,5,'final',1) -D__version__=1.2.5 -I/opt/boxen/homebrew/Cellar/mysql/5.6.10-boxen3/include -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c _mysql.c -o build/temp.macosx-10.8-intel-2.7/_mysql.o -Os -g -fno-strict-aliasing
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

Found this and it explained the problem pretty well.

@kworr
Copy link
Collaborator

kworr commented Aug 28, 2014

Probably this doesn't belongs here as this project has no C/C++ code. Are you building MySQL extension? Could you try using MacPorts?

@kworr kworr added the feedback label Aug 28, 2014
@njia
Copy link
Author

njia commented Aug 28, 2014

ahhh, ok but I followed the installe from source instruction and it failed with same error. Yes, I am building mysql extensions.

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

No branches or pull requests

2 participants