Build problem on solaris 10
Michael Abshoff
mabshoff at googlemail.com
Mon May 5 15:20:17 CEST 2008
Mathieu Dutour wrote:
> Dear all,
>
>
Hi,
> the gmp libraries are build with "make" on solaris 5.10
> But afterwards, the linking does not occur correctly with following
> errors during "make check":
> ......
> FAIL: t-modlinv
> ld.so.1: t-popc: fatal: /usr/local/lib/libgcc_s.so.1: wrong ELF class:
> ELFCLASS32
> bash: line 4: 27910 Killed ${dir}$tst
> FAIL: t-popc
> ld.so.1: t-parity: fatal: /usr/local/lib/libgcc_s.so.1: wrong ELF class:
> ELFCLASS32
> bash: line 4: 27930 Killed ${dir}$tst
> ......
>
> the file config.log is in attachment
>
>
There are two ways how to solve this:
* Build gmp in 32 bit mode, i.e. with "ABI=32 ./configure ...."
* The other solution is to set LD_LIBRARY_PATH in a way that gcc's 64
bit libraries are picked up.
According to the uname it is a 32 bit Solaris box, but I am never quite
sure there.
> the system is
> -----------------------------
> mdutour at brasdor: ~/gmp-4.2.2 > uname -a
> SunOS clhead 5.10 Generic_127112-07 i86pc i386 i86pc
> ----------------------------
>
> Thank you for any help.
> Best,
>
> Mathieu
>
Cheers,
Michael
> _______________________________________________
> gmp-bugs mailing list
> gmp-bugs at swox.com
> https://gmplib.org/mailman/listinfo/gmp-bugs
>
>
More information about the gmp-bugs
mailing list