gmp tests failed alain.morel at
Thu Jun 22 14:47:53 CEST 2006

We would like to use gmp for students so I compile it.
One test fails after compiling gmp. Perhaps last check is not important but I
don't know.

Machine : SUN Ultra5
OS : Solaris9 ( up to date )
gmp-4.2.1 sources
gcc version 3.4.2

./configure : no problem
make : no problem ( GNU Make 3.80)
make check , 1 problem :
gcc -O2 -m64 -mptr64 -mcpu=ultrasparc -o .libs/t-sub t-sub.o  ./.libs/libtests.a
/home/SOURCES/gmp-4.2.1/.libs/ ../.libs/ -R/usr/local/lib
ld: avertissement : fichier ../.libs/ : lié à
/home/SOURCES/gmp-4.2.1/.libs/ : tentative d'inclusion multiple du
creating t-sub
make[4]: Leaving directory `/home/SOURCES/gmp-4.2.1/tests'
make  check-TESTS
make[4]: Entering directory `/home/SOURCES/gmp-4.2.1/tests'
PASS: t-bswap
PASS: t-constants
PASS: t-count_zeros
PASS: t-gmpmax
PASS: t-hightomask
PASS: t-modlinv
PASS: t-popc
PASS: t-parity
FAIL: t-sub
1 of 9 tests failed
Please report to gmp-bugs at
make[4]: *** [check-TESTS] Error 1
make[4]: Leaving directory `/home/SOURCES/gmp-4.2.1/tests'
make[3]: *** [check-am] Error 2
make[3]: Leaving directory `/home/SOURCES/gmp-4.2.1/tests'
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory `/home/SOURCES/gmp-4.2.1/tests'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/home/SOURCES/gmp-4.2.1'
make: *** [check] Error 2

I don't find how to solve this problem on web, is it known ? If yes, can you
tell me how to workaround it.

Bests regards

Université Paris13
Institut Galilee
99 Avenue Jean-Baptiste CLEMENT
93430 Villetaneuse
Tel 33 1 49 40 36 19

More information about the gmp-bugs mailing list