On 11/08/2011 10:01 AM, David Cournapeau wrote:
Hi Mads,

On Tue, Nov 8, 2011 at 8:40 AM, Mads Ipsen<madsip...@gmail.com>  wrote:
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)?
This looks like a compiler bug (gcc 3.4 is really old). einsum uses
SSE intrinsics, and old gcc implementations are quite buggy in that
area.

Could you try the following, at line 38, to add the following:

#define EINSUM_USE_SSE1 0
#define EINSUM_USE_SSE2 0

cheers,

David
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion
Yup, that fixes it. For now, we can apply a temporary fix on our build system. Is this something that'll go into, say, 1.6.2?

Best regards,

Mads

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


_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to