[Numpy-discussion] Failure to build numpy 1.6.1

Mads Ipsen madsipsen@gmail....
Tue Nov 8 02:40:14 CST 2011


Hi,

I am trying to build numpy-1.6.1 with the following gcc compiler specs:

Reading specs from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man 
--infodir=/usr/share/info --enable-shared --enable-threads=posix 
--disable-checking --with-system-zlib --enable-__cxa_atexit 
--disable-libunwind-exceptions --enable-java-awt=gtk 
--host=x86_64-redhat-linux
Thread model: posix
gcc version 3.4.6 20060404 (Red Hat 3.4.6-11)

I get the following error (any clues at what goes wrong)?

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/quantum/quantumnotes/qw-control/quantumsource/external-libs/build/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/ccXaPpf8.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/ccXaPpf8.out file, please attach 
this to your bugreport.
error: Command "gcc -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/quantum/quantumnotes/qw-control/quantumsource/external-libs/build/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

make: *** 
[/home/quantum/quantumnotes/qw-control/quantumsource/external-libs/src/numpy-1.6.1/make-stamp] 
Error 1

-- 
+-----------------------------------------------------+
| Mads Ipsen                                          |
+----------------------+------------------------------+
| Gåsebæksvej 7, 4. tv |                              |
| DK-2500 Valby        | phone:          +45-29716388 |
| Denmark              | email:  mads.ipsen@gmail.com |
+----------------------+------------------------------+


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20111108/a0c24822/attachment.html 


More information about the NumPy-Discussion mailing list