[Numpy-discussion] problems building in cygwin under vmware
Chris Kees
christopher.e.kees@usace.army....
Mon Jun 9 14:41:14 CDT 2008
Hi,
I'm getting an assembler error "Error: suffix or operands invalid for
`fnstsw'" while trying to build numpy on cygwin (running under windows
XP running on vmware on a mac pro). I've tried the last two releases
of numpy and the svn version. Has anybody ever seen this before?
-Chris
tail end of 'python setup.py build' output:
compile options: '-g -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 -
Inumpy/core/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:2183:
numpy/core/src/ufuncobject.c: In function `_extract_pyvals':
numpy/core/src/ufuncobject.c:1164: warning: int format, long int arg
(arg 4)
numpy/core/src/ufuncobject.c:1164: warning: int format, long int arg
(arg 5)
/cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/cclP4Hfs.s: Assembler
messages:
/cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/cclP4Hfs.s:72160: Error:
suffix or operands invalid for `fnstsw'
/cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/cclP4Hfs.s:72415: Error:
suffix or operands invalid for `fnstsw'
In file included from numpy/core/src/umathmodule.c.src:2183:
numpy/core/src/ufuncobject.c: In function `_extract_pyvals':
numpy/core/src/ufuncobject.c:1164: warning: int format, long int arg
(arg 4)
numpy/core/src/ufuncobject.c:1164: warning: int format, long int arg
(arg 5)
/cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/cclP4Hfs.s: Assembler
messages:
/cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/cclP4Hfs.s:72160: Error:
suffix or operands invalid for `fnstsw'
/cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/cclP4Hfs.s:72415: Error:
suffix or operands invalid for `fnstsw'
error: Command "gcc -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -
Wstrict-prototypes -g -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
-Inumpy/core/src -Inumpy/core/include -I/usr/include/python2.5 -I/usr/
include/python2.5 -c build/src.cygwin-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
exit status 1
compiler information:
$ python -V
Python 2.5.1
$ gcc -v
Reading specs from /usr/lib/gcc/i686-pc-cygwin/3.4.4/specs
Configured with: /usr/build/package/orig/test.respin/gcc-3.4.4-3/
configure --verbose --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc
--libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --
infodir=/usr/share/info --enable-languages=c,ada,c+
+,d,f77,pascal,java,objc --enable-nls --without-included-gettext --
enable-version-specific-runtime-libs --without-x --enable-libgcj --
disable-java-awt --with-system-zlib --enable-interpreter --disable-
libgcj-debug --enable-threads=posix --enable-java-gc=boehm --disable-
win32-registry --enable-sjlj-exceptions --enable-hash-synchronization
--enable-libstdcxx-debug
Thread model: posix
gcc version 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
$ g77 -v
Reading specs from /usr/lib/gcc/i686-pc-cygwin/3.4.4/specs
Configured with: /usr/build/package/orig/test.respin/gcc-3.4.4-3/
configure --verbose --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc
--libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --
infodir=/usr/share/info --enable-languages=c,ada,c+
+,d,f77,pascal,java,objc --enable-nls --without-included-gettext --
enable-version-specific-runtime-libs --without-x --enable-libgcj --
disable-java-awt --with-system-zlib --enable-interpreter --disable-
libgcj-debug --enable-threads=posix --enable-java-gc=boehm --disable-
win32-registry --enable-sjlj-exceptions --enable-hash-synchronization
--enable-libstdcxx-debug
Thread model: posix
gcc version 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
More information about the Numpy-discussion
mailing list