make check failed on sparc solaris 9
Marc Glisse
marc.glisse at normalesup.org
Fri Feb 13 22:07:38 CET 2009
On Fri, 13 Feb 2009, Peter Wood wrote:
> make check-TESTS
> ld.so.1: t-bswap: fatal: /usr/local/lib/libgcc_s.so.1: wrong ELF class:
> ELFCLASS32
> FAIL: t-bswap
http://www.google.com/search?q=%22ld.so.1%3A+t-bswap%3A+fatal%3A+%2Fusr%2Flocal%2Flib%2Flibgcc_s.so.1%3A+wrong+ELF+class%3A+ELFCLASS32%22
As mentionned in the FAQ, this is not a gmp bug but a gcc bug.
If you want a 32 bit gmp, use ABI=32.
If you want a 64 bit gmp, use LDFLAGS='-R/usr/local/lib/sparcv9'.
Besides, if you are installing a 64 bit gmp in /usr/local, you want:
./configure --libdir=/usr/local/lib/sparcv9
(32 bit libs go to /usr/local/lib and 64 bit libs to
/usr/local/lib/sparcv9)
--
Marc Glisse
More information about the gmp-bugs
mailing list