[Numpy-discussion] Built Lapack, Atlas from source.... now numpy.linalg.eig() hangs at 100% CPU

David Cournapeau cournape@gmail....
Sat Mar 28 13:13:29 CDT 2009


2009/3/29 Chris Colbert <sccolbert@gmail.com>:
> going back and looking at this error:
>
> C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall
> -Wstrict-prototypes -fPIC
>
> compile options: '-c'
> gcc: _configtest.c
> gcc -pthread _configtest.o -L/usr/local/atlas/lib -llapack -lptf77blas
> -lptcblas -latlas -o _configtest
> /usr/bin/ld: _configtest: hidden symbol `__powidf2' in
> /usr/lib/gcc/i486-linux-gnu/4.3.2/libgcc.a(_powidf2.o) is referenced by DSO
> /usr/bin/ld: final link failed: Nonrepresentable section on output
> collect2: ld returned 1 exit status
> /usr/bin/ld: _configtest: hidden symbol `__powidf2' in
> /usr/lib/gcc/i486-linux-gnu/4.3.2/libgcc.a(_powidf2.o) is referenced by DSO
> /usr/bin/ld: final link failed: Nonrepresentable section on output
> collect2: ld returned 1 exit status
> failure.
> removing: _configtest.c _configtest.o
>
>
> isnt that saying that _configtest.o is referencing something in libgcc which
> is not lined to in the compile command?
>
> Is this something I can add to the numpy setup script?
>
> This problem is really beating me down. I've gone back and re-made the atlas
> .so like 15 times linking with libgcc in 15 different ways. all to no
> avail....

The way to build shared libraries in atlas does not always work, and
some auto-detected settings are often the wrong ones.

There is unfortunately not much we can do to help - and understanding
the exact problem may be quite difficult if you are not familiar with
various build issues.

David


More information about the Numpy-discussion mailing list