problem with 'make check' in GMP 4.3.2
Michael Schulte
mike at babbage.cs.umsl.edu
Fri Jul 9 03:38:17 CEST 2010
I am trying to compile gmp-4.3.2 from source code so that I can build the newest
version of gcc.
For GMP, I run './configure' with no options, then run 'make'.
There are no compiler errors in either the 'make' or in 'make check'.
When I run 'make check', all the tests fail (output is below).
The GCC version is:
Reading specs from /usr/local/lib/gcc/sparc-sun-solaris2.10/3.4.6/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/l
d --enable-shared --enable-languages=c,c++,f77
Thread model: posix
gcc version 3.4.6
uname -a returns: SunOS arch 5.10 Generic sun4u sparc SUNW,Sun-Fire-V240
config.guess returns: ultrasparc3-sun-solaris2.10
configfsf.guess returns: sparc-sun-solaris2.10
The output of the 'make check' (run a second time) is:
make check-recursive
Making check in tests
Making check in .
make libtests.la t-bswap t-constants t-count_zeros t-gmpmax t-hightomask t-mo
dlinv t-popc t-parity t-sub
`libtests.la' is up to date.
`t-bswap' is up to date.
`t-constants' is up to date.
`t-count_zeros' is up to date.
`t-gmpmax' is up to date.
`t-hightomask' is up to date.
`t-modlinv' is up to date.
`t-popc' is up to date.
`t-parity' is up to date.
`t-sub' is up to date.
make check-TESTS
ld.so.1: /tmp/GCC/gcc-infra/gmp-4.3.2/tests/.libs/t-bswap: fatal: /usr/local/lib
/libgcc_s.so.1: wrong ELF class: ELFCLASS32
bash: line 4: 3099 Killed ${dir}$tst
FAIL: t-bswap
ld.so.1: /tmp/GCC/gcc-infra/gmp-4.3.2/tests/.libs/t-constants: fatal: /usr/local
/lib/libgcc_s.so.1: wrong ELF class: ELFCLASS32
bash: line 4: 3119 Killed ${dir}$tst
FAIL: t-constants
ld.so.1: /tmp/GCC/gcc-infra/gmp-4.3.2/tests/.libs/t-count_zeros: fatal: /usr/loc
al/lib/libgcc_s.so.1: wrong ELF class: ELFCLASS32
bash: line 4: 3139 Killed ${dir}$tst
FAIL: t-count_zeros
ld.so.1: /tmp/GCC/gcc-infra/gmp-4.3.2/tests/.libs/t-gmpmax: fatal: /usr/local/li
b/libgcc_s.so.1: wrong ELF class: ELFCLASS32
bash: line 4: 3159 Killed ${dir}$tst
FAIL: t-gmpmax
ld.so.1: /tmp/GCC/gcc-infra/gmp-4.3.2/tests/.libs/t-hightomask: fatal: /usr/loca
l/lib/libgcc_s.so.1: wrong ELF class: ELFCLASS32
bash: line 4: 3179 Killed ${dir}$tst
FAIL: t-hightomask
ld.so.1: /tmp/GCC/gcc-infra/gmp-4.3.2/tests/.libs/t-modlinv: fatal: /usr/local/l
ib/libgcc_s.so.1: wrong ELF class: ELFCLASS32
bash: line 4: 3199 Killed ${dir}$tst
FAIL: t-modlinv
ld.so.1: /tmp/GCC/gcc-infra/gmp-4.3.2/tests/.libs/t-popc: fatal: /usr/local/lib/
libgcc_s.so.1: wrong ELF class: ELFCLASS32
bash: line 4: 3219 Killed ${dir}$tst
FAIL: t-popc
ld.so.1: /tmp/GCC/gcc-infra/gmp-4.3.2/tests/.libs/t-parity: fatal: /usr/local/li
b/libgcc_s.so.1: wrong ELF class: ELFCLASS32
bash: line 4: 3239 Killed ${dir}$tst
FAIL: t-parity
ld.so.1: /tmp/GCC/gcc-infra/gmp-4.3.2/tests/.libs/t-sub: fatal: /usr/local/lib/l
ibgcc_s.so.1: wrong ELF class: ELFCLASS32
bash: line 4: 3259 Killed ${dir}$tst
FAIL: t-sub
====================================
9 of 9 tests failed
Please report to gmp-bugs at gmplib.org
====================================
*** Error code 1
<info about where in the script the error occurs; if it would be helpful,
I can email it to you.>
--- end of output of 'make check' ---
Any ideas of what is wrong and how I might fix it?
---
Michael Schulte Associate Teaching Professor
Math/CS Dept. (MC-61) (314) 516 5239
Univ. of Missouri-St. Louis schulte at cs.umsl.edu
One University Boulevard http://www.cs.umsl.edu/~schulte
St. Louis, MO 63121 USA
More information about the gmp-bugs
mailing list