[Numpy-discussion] failure to build
Amos Anderson
nitroamos at gmail.com
Mon Oct 10 15:27:36 EDT 2011
hello --
i'm trying to build numpy-1.6.1. so far, it works on several machines
that i've tried, but now it's failing. I put some details on the
machine below. I tried to change the compiler, but setup.py objected
to the things I tried (--compiler=g++4, --compiler=icc).
thanks for any advice!
Amos.
building 'numpy.core.multiarray' extension
compiling C sources
C compiler: gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g
-fwrapv -O3 -Wall -Wstrict-prototypes -fPIC
creating build/temp.linux-x86_64-2.7/numpy/core/src/multiarray
compile options: '-Inumpy/core/include
-Ibuild/src.linux-x86_64-2.7/numpy/core/include/numpy
-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core
-Inumpy/core/src/npymath -Inumpy/core/src/multiarray
-Inumpy/core/src/umath -Inumpy/core/include
-I/home/amosa/triad/tools/python/include/python2.7
-Ibuild/src.linux-x86_64-2.7/numpy/core/src/multiarray
-Ibuild/src.linux-x86_64-2.7/numpy/core/src/umath -c'
gcc: numpy/core/src/multiarray/multiarraymodule_onefile.c
numpy/core/src/multiarray/descriptor.c: In function
`_convert_divisor_to_multiple':
numpy/core/src/multiarray/descriptor.c:606: warning: 'q' might be used
uninitialized in this function
numpy/core/src/multiarray/einsum.c.src: In function
`float_sum_of_products_contig_outstride0_one':
numpy/core/src/multiarray/einsum.c.src:852: error: unrecognizable insn:
(insn:HI 440 228 481 14
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/include/xmmintrin.h:915 (set
(reg:SF 148)
(vec_select:SF (reg/v:V4SF 67 [ accum_sse ])
(parallel [
(const_int 0 [0x0])
]))) -1 (insn_list 213 (nil))
(nil))
numpy/core/src/multiarray/einsum.c.src:852: internal compiler error:
in extract_insn, at recog.c:2083
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.
Preprocessed source stored into /tmp/ccWyirX3.out file, please attach
this to your bugreport.
numpy/core/src/multiarray/descriptor.c: In function
`_convert_divisor_to_multiple':
numpy/core/src/multiarray/descriptor.c:606: warning: 'q' might be used
uninitialized in this function
numpy/core/src/multiarray/einsum.c.src: In function
`float_sum_of_products_contig_outstride0_one':
numpy/core/src/multiarray/einsum.c.src:852: error: unrecognizable insn:
(insn:HI 440 228 481 14
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/include/xmmintrin.h:915 (set
(reg:SF 148)
(vec_select:SF (reg/v:V4SF 67 [ accum_sse ])
(parallel [
(const_int 0 [0x0])
]))) -1 (insn_list 213 (nil))
(nil))
numpy/core/src/multiarray/einsum.c.src:852: internal compiler error:
in extract_insn, at recog.c:2083
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.
Preprocessed source stored into /tmp/ccWyirX3.out file, please attach
this to your bugreport.
error: Command "gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g
-fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Inumpy/core/include
-Ibuild/src.linux-x86_64-2.7/numpy/core/include/numpy
-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core
-Inumpy/core/src/npymath -Inumpy/core/src/multiarray
-Inumpy/core/src/umath -Inumpy/core/include
-I/home/amosa/triad/tools/python/include/python2.7
-Ibuild/src.linux-x86_64-2.7/numpy/core/src/multiarray
-Ibuild/src.linux-x86_64-2.7/numpy/core/src/umath -c
numpy/core/src/multiarray/multiarraymodule_onefile.c -o
build/temp.linux-x86_64-2.7/numpy/core/src/multiarray/multiarraymodule_onefile.o"
failed with exit status 1
cat /etc/redhat-release
Red Hat Enterprise Linux AS release 4 (Nahant Update 4)
$ svnversion . /repos/svn/trunk
4168
gcc: _configtest.c
gcc -pthread _configtest.o -L/usr/lib64 -lf77blas -lcblas -latlas -o _configtest
ATLAS version 3.7.11 built by root on Mon Jun 5 10:14:12 EDT 2006:
UNAME : Linux intel1.lsf.platform.com 2.6.9-34.ELsmp #1 SMP Fri
Feb 24 16:56:28 EST 2006 x86_64 x86_64 x86_64 GNU/Linux
INSTFLG :
MMDEF : /export/madison/src/roll/hpc/BUILD/ATLAS/CONFIG/ARCHS/P4E64SSE3/gcc/gemm
ARCHDEF : /export/madison/src/roll/hpc/BUILD/ATLAS/CONFIG/ARCHS/P4E64SSE3/gcc/misc
F2CDEFS : -DAdd__ -DStringSunStyle
CACHEEDGE: 393216
F77 : /usr/bin/g77, version GNU Fortran (GCC) 3.4.5 20051201
(Red Hat 3.4.5-2)
F77FLAGS : -fomit-frame-pointer -O -m64
CC : /usr/bin/gcc, version gcc (GCC) 3.4.5 20051201 (Red Hat 3.4.5-2)
CC FLAGS : -fomit-frame-pointer -O3 -funroll-all-loops -m64
MCC : /usr/bin/gcc, version gcc (GCC) 3.4.5 20051201 (Red Hat 3.4.5-2)
MCCFLAGS : -fomit-frame-pointer -O -m64
success!
More information about the NumPy-Discussion
mailing list