Skip to content

Compilation fails on Cygwin (Trac #903) #1501

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

Closed
numpy-gitbot opened this issue Oct 19, 2012 · 2 comments
Closed

Compilation fails on Cygwin (Trac #903) #1501

numpy-gitbot opened this issue Oct 19, 2012 · 2 comments

Comments

@numpy-gitbot
Copy link

Original ticket http://projects.scipy.org/numpy/ticket/903 on 2008-09-01 by @mdehoon, assigned to unknown.

compiling C sources
C compiler: gcc -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes

compile options: '-Ibuild/src.cygwin-1.5.25-i686-2.5/numpy/core/src -Inumpy/core
/include -Ibuild/src.cygwin-1.5.25-i686-2.5/numpy/core/include/numpy -Inumpy/cor
e/src -Inumpy/core/include -I/usr/include/python2.5 -I/usr/include/python2.5 -c'

gcc: build/src.cygwin-1.5.25-i686-2.5/numpy/core/src/umathmodule.c
In file included from numpy/core/src/umathmodule.c.src:2182:
numpy/core/src/ufuncobject.c: In function _extract_pyvals': numpy/core/src/ufuncobject.c:1166: warning: int format, long int arg (arg 4) numpy/core/src/ufuncobject.c:1166: warning: int format, long int arg (arg 5) /cygdrive/c/DOCUME~1/mdehoon/LOCALS~1/Temp/ccpLcg0M.s: Assembler messages: /cygdrive/c/DOCUME~1/mdehoon/LOCALS~1/Temp/ccpLcg0M.s:72840: Error: suffix or op erands invalid forfnstsw'
/cygdrive/c/DOCUME1/mdehoon/LOCALS1/Temp/ccpLcg0M.s:73095: Error: suffix or op
erands invalid for fnstsw' In file included from numpy/core/src/umathmodule.c.src:2182: numpy/core/src/ufuncobject.c: In function_extract_pyvals':
numpy/core/src/ufuncobject.c:1166: warning: int format, long int arg (arg 4)
numpy/core/src/ufuncobject.c:1166: warning: int format, long int arg (arg 5)
/cygdrive/c/DOCUME1/mdehoon/LOCALS1/Temp/ccpLcg0M.s: Assembler messages:
/cygdrive/c/DOCUME1/mdehoon/LOCALS1/Temp/ccpLcg0M.s:72840: Error: suffix or op
erands invalid for fnstsw' /cygdrive/c/DOCUME~1/mdehoon/LOCALS~1/Temp/ccpLcg0M.s:73095: Error: suffix or op erands invalid forfnstsw'
error: Command "gcc -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototyp
es -Ibuild/src.cygwin-1.5.25-i686-2.5/numpy/core/src -Inumpy/core/include -Ibuil
d/src.cygwin-1.5.25-i686-2.5/numpy/core/include/numpy -Inumpy/core/src -Inumpy/c
ore/include -I/usr/include/python2.5 -I/usr/include/python2.5 -c build/src.cygwi
n-1.5.25-i686-2.5/numpy/core/src/umathmodule.c -o build/temp.cygwin-1.5.25-i686-
2.5/build/src.cygwin-1.5.25-i686-2.5/numpy/core/src/umathmodule.o" failed with e
xit status 1

@numpy-gitbot
Copy link
Author

@cournape wrote on 2008-09-01

Mmh, so it looks like my "fix" did not work. See at #1409, which I reopened.

@numpy-gitbot
Copy link
Author

@cournape wrote on 2008-09-01

Which version of cygwin are you using ? Which version of binutils ?

On my machine, ld --version tells me 2.18.50.20080625, and I can build and test numpy correctly...

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

No branches or pull requests

1 participant