FAIL gmp-4.2 on Solaris 8 with gcc 3.6.6
Thurn, Martin
martin.thurn at ngc.com
Tue Mar 28 15:22:56 CEST 2006
But why is gmp trying to compile in 64-bit mode when I don't have 64-bit libraries? It seems to me that the configure should detect this situation!?!
> -----Original Message-----
> From: tege at king.swox.se [mailto:tege at king.swox.se] On Behalf
> Of Torbjorn Granlund
> Sent: Monday, March 27, 2006 11:09
> To: Thurn, Martin
> Cc: gmp-bugs at swox.com; mthurn at verizon.net
> Subject: Re: FAIL gmp-4.2 on Solaris 8 with gcc 3.6.6
>
> "Thurn, Martin" <martin.thurn at ngc.com> writes:
>
> gcc -O2 -m64 -mptr64 -mcpu=ultrasparc3 -o .libs/t-sub t-sub.o
> ./.libs/libtests.a /disk1/src/GNU/gmp-4.2/.libs/libgmp.so
> ../.libs/libgmp.so -Wl,--rpath -Wl,/usr/local/lib
> creating t-sub
> make[4]: Leaving directory `/disk1/src/GNU/gmp-4.2/tests'
> /usr/local/bin/make check-TESTS
> make[4]: Entering directory `/disk1/src/GNU/gmp-4.2/tests'
> ld.so.1: t-bswap: fatal: /usr/local/lib/libgcc_s.so.1:
> wrong ELF class:
> ELFCLASS32
> FAIL: t-bswap
>
> This is a problem with gcc or your gcc installation. You
> will see the very same problem if you try to compiler a
> hello.c program in 64-bit mode.
>
> You might get some joy by setting LD_LIBRARY_PATH to the
> right libgcc_s.so file; you'd need to figure out the details.
>
> --
> Torbjörn
>
More information about the gmp-bugs
mailing list