Make check fails for GMP-5.0.1 on Snow Leopard

Davidson, Gregory G. davidsongg at ornl.gov
Wed May 5 16:39:08 CEST 2010


Hi,

I have attempted to install GMP-5.0.1 on Snow Leopard.  It compiles and builds just fine, but make check fails.  Here is the output from the end of make check:

g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../tests    -O2 -pedantic -m64 -mtune=k8 -march=k8 -c -o t-unary.o t-unary.cc
/bin/sh ../../libtool --tag=CXX   --mode=link g++  -O2 -pedantic -m64 -mtune=k8 -march=k8   -o t-unary t-unary.o -L../../.libs ../../tests/libtests.la ../../libgmpxx.la ../../libgmp.la
libtool: link: g++ -O2 -pedantic -m64 -mtune=k8 -march=k8 -o .libs/t-unary t-unary.o -Wl,-bind_at_load  -L/opt/gcc/builds/gcc-4.4.4/gmp-5.0.1/.libs ../../tests/.libs/libtests.a ../../.libs/libgmpxx.dylib /opt/gcc/builds/gcc-4.4.4/gmp-5.0.1/.libs/libgmp.dylib ../../.libs/libgmp.dylib
make  check-TESTS
/bin/sh: line 1: 88641 Abort trap              ${dir}$tst
FAIL: t-assign
PASS: t-binary
PASS: t-cast
/bin/sh: line 1: 88701 Abort trap              ${dir}$tst
FAIL: t-constr
PASS: t-headers
PASS: t-istream
PASS: t-locale
PASS: t-misc
PASS: t-ops
PASS: t-ostream
PASS: t-prec
/bin/sh: line 1: 88855 Abort trap              ${dir}$tst
FAIL: t-rand
PASS: t-ternary
PASS: t-unary
====================================
3 of 14 tests failed
Please report to gmp-bugs at gmplib.org
====================================
make[4]: *** [check-TESTS] Error 1
make[3]: *** [check-am] Error 2
make[2]: *** [check-recursive] Error 1
make[1]: *** [check-recursive] Error 1
make: *** [check] Error 2

I configured GMP with the following configure line:
 ./configure --build=x86_64-apple-darwin --enable-cxx --with-gnu-ld --prefix=/opt/gcc/gcc-4.4.4

I built GMP with gcc-4.4.2:
> gcc -v
Using built-in specs.
Target: x86_64-apple-darwin
Configured with: ../gcc-4.4.2/configure --prefix=/opt/gcc/gcc-4.4.2 --with-gmp=/opt/gcc/gcc-4.4.2 --with-mpfr=/opt/gcc/gcc-4.4.2 --build=x86_64-apple-darwin --enable-languages=c,c++,fortran
Thread model: posix
gcc version 4.4.2 (GCC)

Here is the output from uname –a:
Darwin wolverine.ornl.gov 10.3.0 Darwin Kernel Version 10.3.0: Fri Feb 26 11:57:13 PST 2010; root:xnu-1504.3.12~1/RELEASE_X86_64 x86_64

Thanks,

--
Greg Davidson
Radiation Transport Group
Nuclear Science & Technology Division
Oak Ridge National Laboratory
P.O. Box 2008
Bldg. 5700,  Rm. J303, MS 6170
Oak Ridge, TN  37831-6170
Tel: (865) 574-3921; Fax: (865) 574-3527


More information about the gmp-bugs mailing list