GMP 4.2.2 wrong elf class on Solaris 9 Sparc
NOVACK, BRIAN M (ATTSI)
bn5789 at att.com
Tue Jul 22 06:48:08 CEST 2008
I'm on Solaris 9 (Sun V880 sparc). gcc 3.3.2.
./configure --prefix=/usr/local/gnu --with-gnu-ld CC='gcc -m64'
LDFLAGS='-L/export/home/bn5789/tmp/usr/local/lib -L/usr/local/gnu/lib'
When I run make check, I get the following. I can't seem to find any
docs telling me how to fix this. Please help.
Thanks
---Brian
gcc -m64 -O2 -m64 -mptr64 -mcpu=ultrasparc3 -o .libs/t-sub t-sub.o
-L/export/home/bn5789/tmp/usr/local/lib -L/usr/local/gnu/lib
./.libs/libtests.a /usr/local/gnu/src/gmp-4.2.2/.libs/libgmp.so
../.libs/libgmp.so -R/usr/local/gnu/lib
ld: warning: file ../.libs/libgmp.so: linked to
/usr/local/gnu/src/gmp-4.2.2/.libs/libgmp.so: attempted multiple
inclusion of file
creating t-sub
make[4]: Leaving directory `/appl/vbio/brian/gnu/src/gmp-4.2.2/tests'
make check-TESTS
make[4]: Entering directory `/appl/vbio/brian/gnu/src/gmp-4.2.2/tests'
ld.so.1: t-bswap: fatal:
/export/home/bn5789/tmp/usr/local/lib/libgcc_s.so.1: wrong ELF class:
ELFCLASS32
FAIL: t-bswap
ld.so.1: t-constants: fatal:
/export/home/bn5789/tmp/usr/local/lib/libgcc_s.so.1: wrong ELF class:
ELFCLASS32
FAIL: t-constants
ld.so.1: t-count_zeros: fatal:
/export/home/bn5789/tmp/usr/local/lib/libgcc_s.so.1: wrong ELF class:
ELFCLASS32
FAIL: t-count_zeros
ld.so.1: t-gmpmax: fatal:
/export/home/bn5789/tmp/usr/local/lib/libgcc_s.so.1: wrong ELF class:
ELFCLASS32
FAIL: t-gmpmax
ld.so.1: t-hightomask: fatal:
/export/home/bn5789/tmp/usr/local/lib/libgcc_s.so.1: wrong ELF class:
ELFCLASS32
FAIL: t-hightomask
ld.so.1: t-modlinv: fatal:
/export/home/bn5789/tmp/usr/local/lib/libgcc_s.so.1: wrong ELF class:
ELFCLASS32
FAIL: t-modlinv
ld.so.1: t-popc: fatal:
/export/home/bn5789/tmp/usr/local/lib/libgcc_s.so.1: wrong ELF class:
ELFCLASS32
FAIL: t-popc
ld.so.1: t-parity: fatal:
/export/home/bn5789/tmp/usr/local/lib/libgcc_s.so.1: wrong ELF class:
ELFCLASS32
FAIL: t-parity
ld.so.1: t-sub: fatal:
/export/home/bn5789/tmp/usr/local/lib/libgcc_s.so.1: wrong ELF class:
ELFCLASS32
FAIL: t-sub
==================================
9 of 9 tests failed
Please report to gmp-bugs at swox.com
==================================
make[4]: *** [check-TESTS] Error 1
make[4]: Leaving directory `/appl/vbio/brian/gnu/src/gmp-4.2.2/tests'
make[3]: *** [check-am] Error 2
make[3]: Leaving directory `/appl/vbio/brian/gnu/src/gmp-4.2.2/tests'
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory `/appl/vbio/brian/gnu/src/gmp-4.2.2/tests'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/appl/vbio/brian/gnu/src/gmp-4.2.2'
make: *** [check] Error 2
More information about the gmp-bugs
mailing list