[Numpy-discussion] Failure to build numpy 1.6.1

Mads Ipsen madsipsen@gmail....
Tue Nov 8 03:20:42 CST 2011


On 11/08/2011 10:01 AM, David Cournapeau wrote:
> Hi Mads,
>
> On Tue, Nov 8, 2011 at 8:40 AM, Mads Ipsen<madsipsen@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.ipsen@gmail.com |
+----------------------+------------------------------+


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


More information about the NumPy-Discussion mailing list