Skip to content
This repository has been archived by the owner on Feb 26, 2020. It is now read-only.

Does not install on Mac OS X Mavericks #30

Closed
alanhamlett opened this issue May 13, 2014 · 2 comments
Closed

Does not install on Mac OS X Mavericks #30

alanhamlett opened this issue May 13, 2014 · 2 comments

Comments

@alanhamlett
Copy link

running build

running build_ext

building 'umemcache' extension

creating build

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

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

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

cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wsho

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
@jskorpan
Copy link

Hi
I haven’t got a clue how that argument gets in there, probably is some Python build issue rather than umemcache
//JT

From: Alan Hamlett [mailto:notifications@github.com]
Sent: den 13 maj 2014 04:03
To: esnme/ultramemcache
Subject: [ultramemcache] Does not install on Mac OS X Mavericks (#30)

running build

running build_ext

building 'umemcache' extension

creating build

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

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

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

cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wsho

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


Reply to this email directly or view it on GitHubhttps://github.com//issues/30.

@ingmar
Copy link

ingmar commented May 28, 2014

This is due to a change in clang. It'll basically start throwing errors upon seeing unknown (usually GCC specific) command line arguments, while previously it just ignored them. You can temporarily disable the error by setting ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future. So to install something via PIP (this affects pretty much any C extension):

env ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future pip install umemcache

@Jahaja Jahaja closed this as completed Feb 22, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants