Compile error of GMP-4.2.4

Steven Ward nightcast2000 at googlemail.com
Sat Jan 31 01:59:50 CET 2009


To whom it may concern,
                                     I have just been trying to compile the 
latest version of gmp-4.2.4.I have applied the latest patches to the source 
code from the gmp website.I did the usual ./configure make and make 
check.During the check,it failed with this error:

make[4]: Leaving directory `/root/gmp-4.2.4/tests/misc'                                                                                                                                                                                                                           
make[3]: Leaving directory `/root/gmp-4.2.4/tests/misc'                                                                                                                                                                                                                           
Making check in cxx                                                                                                                                                                                                                                                               
make[3]: Entering directory `/root/gmp-4.2.4/tests/cxx'                                                                                                                                                                                                                           
make  t-assign t-binary t-cast t-constr t-headers t-istream t-locale t-misc t-
ops t-ostream t-prec t-rand t-ternary t-unary                                                                                                                                                       
make[4]: Entering directory `/root/gmp-4.2.4/tests/cxx'                                                                                                                                                                                                                           
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../tests    -m32 -O2 -fomit-
frame-pointer -mtune=pentiumpro -march=pentiumpro -c -o t-assign.o t-assign.cc                                                                                                                       
/bin/bash ../../libtool --mode=link g++  -m32 -O2 -fomit-frame-pointer -
mtune=pentiumpro -march=pentiumpro   -o t-assign  t-assign.o -L../../.libs 
../../tests/libtests.la ../../libgmpxx.la ../../libgmp.la                                                                      
mkdir .libs                                                                                                                                                                                                                                                                       
g++ -m32 -O2 -fomit-frame-pointer -mtune=pentiumpro -march=pentiumpro -o 
.libs/t-assign t-assign.o  -L/root/gmp-4.2.4/.libs 
../../tests/.libs/libtests.a ../../.libs/libgmpxx.so 
/root/gmp-4.2.4/.libs/libgmp.so ../../.libs/libgmp.so                                            
creating t-assign                                                                                                                                                                                                                                                                 
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../tests    -m32 -O2 -fomit-
frame-pointer -mtune=pentiumpro -march=pentiumpro -c -o t-binary.o t-binary.cc                                                                                                                       
/bin/bash ../../libtool --mode=link g++  -m32 -O2 -fomit-frame-pointer -
mtune=pentiumpro -march=pentiumpro   -o t-binary  t-binary.o -L../../.libs 
../../tests/libtests.la ../../libgmpxx.la ../../libgmp.la                                                                      
g++ -m32 -O2 -fomit-frame-pointer -mtune=pentiumpro -march=pentiumpro -o 
.libs/t-binary t-binary.o  -L/root/gmp-4.2.4/.libs 
../../tests/.libs/libtests.a ../../.libs/libgmpxx.so 
/root/gmp-4.2.4/.libs/libgmp.so ../../.libs/libgmp.so                                            
creating t-binary                                                                                                                                                                                                                                                                 
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../tests    -m32 -O2 -fomit-
frame-pointer -mtune=pentiumpro -march=pentiumpro -c -o t-cast.o t-cast.cc                                                                                                                           
/bin/bash ../../libtool --mode=link g++  -m32 -O2 -fomit-frame-pointer -
mtune=pentiumpro -march=pentiumpro   -o t-cast  t-cast.o -L../../.libs 
../../tests/libtests.la ../../libgmpxx.la ../../libgmp.la
g++ -m32 -O2 -fomit-frame-pointer -mtune=pentiumpro -march=pentiumpro -o 
.libs/t-cast t-cast.o  -L/root/gmp-4.2.4/.libs ../../tests/.libs/libtests.a 
../../.libs/libgmpxx.so /root/gmp-4.2.4/.libs/libgmp.so ../../.libs/libgmp.so
creating t-cast
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../tests    -m32 -O2 -fomit-
frame-pointer -mtune=pentiumpro -march=pentiumpro -c -o t-constr.o t-constr.cc
/bin/bash ../../libtool --mode=link g++  -m32 -O2 -fomit-frame-pointer -
mtune=pentiumpro -march=pentiumpro   -o t-constr  t-constr.o -L../../.libs 
../../tests/libtests.la ../../libgmpxx.la ../../libgmp.la
g++ -m32 -O2 -fomit-frame-pointer -mtune=pentiumpro -march=pentiumpro -o 
.libs/t-constr t-constr.o  -L/root/gmp-4.2.4/.libs 
../../tests/.libs/libtests.a ../../.libs/libgmpxx.so 
/root/gmp-4.2.4/.libs/libgmp.so ../../.libs/libgmp.so
creating t-constr
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../tests    -m32 -O2 -fomit-
frame-pointer -mtune=pentiumpro -march=pentiumpro -c -o t-headers.o t-
headers.cc
/bin/bash ../../libtool --mode=link g++  -m32 -O2 -fomit-frame-pointer -
mtune=pentiumpro -march=pentiumpro   -o t-headers  t-headers.o -L../../.libs 
../../tests/libtests.la ../../libgmpxx.la ../../libgmp.la
g++ -m32 -O2 -fomit-frame-pointer -mtune=pentiumpro -march=pentiumpro -o 
.libs/t-headers t-headers.o  -L/root/gmp-4.2.4/.libs 
../../tests/.libs/libtests.a ../../.libs/libgmpxx.so 
/root/gmp-4.2.4/.libs/libgmp.so ../../.libs/libgmp.so
creating t-headers
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../tests    -m32 -O2 -fomit-
frame-pointer -mtune=pentiumpro -march=pentiumpro -c -o t-istream.o t-
istream.cc
/bin/bash ../../libtool --mode=link g++  -m32 -O2 -fomit-frame-pointer -
mtune=pentiumpro -march=pentiumpro   -o t-istream  t-istream.o -L../../.libs 
../../tests/libtests.la ../../libgmpxx.la ../../libgmp.la
g++ -m32 -O2 -fomit-frame-pointer -mtune=pentiumpro -march=pentiumpro -o 
.libs/t-istream t-istream.o  -L/root/gmp-4.2.4/.libs 
../../tests/.libs/libtests.a ../../.libs/libgmpxx.so 
/root/gmp-4.2.4/.libs/libgmp.so ../../.libs/libgmp.so
creating t-istream
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../tests    -m32 -O2 -fomit-
frame-pointer -mtune=pentiumpro -march=pentiumpro -c -o t-locale.o t-locale.cc
gcc-4.3 -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../tests    -m32 -O2 -
fomit-frame-pointer -mtune=pentiumpro -march=pentiumpro -c clocale.c
/bin/bash ../../libtool --mode=link g++  -m32 -O2 -fomit-frame-pointer -
mtune=pentiumpro -march=pentiumpro   -o t-locale  t-locale.o clocale.o -
L../../.libs ../../tests/libtests.la ../../libgmpxx.la ../../libgmp.la
g++ -m32 -O2 -fomit-frame-pointer -mtune=pentiumpro -march=pentiumpro -o 
.libs/t-locale t-locale.o clocale.o  -L/root/gmp-4.2.4/.libs 
../../tests/.libs/libtests.a ../../.libs/libgmpxx.so 
/root/gmp-4.2.4/.libs/libgmp.so ../../.libs/libgmp.so
creating t-locale
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../tests    -m32 -O2 -fomit-
frame-pointer -mtune=pentiumpro -march=pentiumpro -c -o t-misc.o t-misc.cc
/bin/bash ../../libtool --mode=link g++  -m32 -O2 -fomit-frame-pointer -
mtune=pentiumpro -march=pentiumpro   -o t-misc  t-misc.o -L../../.libs 
../../tests/libtests.la ../../libgmpxx.la ../../libgmp.la
g++ -m32 -O2 -fomit-frame-pointer -mtune=pentiumpro -march=pentiumpro -o 
.libs/t-misc t-misc.o  -L/root/gmp-4.2.4/.libs ../../tests/.libs/libtests.a 
../../.libs/libgmpxx.so /root/gmp-4.2.4/.libs/libgmp.so ../../.libs/libgmp.so
creating t-misc
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../tests    -m32 -O2 -fomit-
frame-pointer -mtune=pentiumpro -march=pentiumpro -c -o t-ops.o t-ops.cc
/bin/bash ../../libtool --mode=link g++  -m32 -O2 -fomit-frame-pointer -
mtune=pentiumpro -march=pentiumpro   -o t-ops  t-ops.o -L../../.libs 
../../tests/libtests.la ../../libgmpxx.la ../../libgmp.la
g++ -m32 -O2 -fomit-frame-pointer -mtune=pentiumpro -march=pentiumpro -o 
.libs/t-ops t-ops.o  -L/root/gmp-4.2.4/.libs ../../tests/.libs/libtests.a 
../../.libs/libgmpxx.so /root/gmp-4.2.4/.libs/libgmp.so ../../.libs/libgmp.so
creating t-ops
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../tests    -m32 -O2 -fomit-
frame-pointer -mtune=pentiumpro -march=pentiumpro -c -o t-ostream.o t-
ostream.cc
/bin/bash ../../libtool --mode=link g++  -m32 -O2 -fomit-frame-pointer -
mtune=pentiumpro -march=pentiumpro   -o t-ostream  t-ostream.o -L../../.libs 
../../tests/libtests.la ../../libgmpxx.la ../../libgmp.la
g++ -m32 -O2 -fomit-frame-pointer -mtune=pentiumpro -march=pentiumpro -o 
.libs/t-ostream t-ostream.o  -L/root/gmp-4.2.4/.libs 
../../tests/.libs/libtests.a ../../.libs/libgmpxx.so 
/root/gmp-4.2.4/.libs/libgmp.so ../../.libs/libgmp.so
creating t-ostream
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../tests    -m32 -O2 -fomit-
frame-pointer -mtune=pentiumpro -march=pentiumpro -c -o t-prec.o t-prec.cc
/bin/bash ../../libtool --mode=link g++  -m32 -O2 -fomit-frame-pointer -
mtune=pentiumpro -march=pentiumpro   -o t-prec  t-prec.o -L../../.libs 
../../tests/libtests.la ../../libgmpxx.la ../../libgmp.la
g++ -m32 -O2 -fomit-frame-pointer -mtune=pentiumpro -march=pentiumpro -o 
.libs/t-prec t-prec.o  -L/root/gmp-4.2.4/.libs ../../tests/.libs/libtests.a 
../../.libs/libgmpxx.so /root/gmp-4.2.4/.libs/libgmp.so ../../.libs/libgmp.so
creating t-prec
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../tests    -m32 -O2 -fomit-
frame-pointer -mtune=pentiumpro -march=pentiumpro -c -o t-rand.o t-rand.cc
/bin/bash ../../libtool --mode=link g++  -m32 -O2 -fomit-frame-pointer -
mtune=pentiumpro -march=pentiumpro   -o t-rand  t-rand.o -L../../.libs 
../../tests/libtests.la ../../libgmpxx.la ../../libgmp.la
g++ -m32 -O2 -fomit-frame-pointer -mtune=pentiumpro -march=pentiumpro -o 
.libs/t-rand t-rand.o  -L/root/gmp-4.2.4/.libs ../../tests/.libs/libtests.a 
../../.libs/libgmpxx.so /root/gmp-4.2.4/.libs/libgmp.so ../../.libs/libgmp.so
creating t-rand
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../tests    -m32 -O2 -fomit-
frame-pointer -mtune=pentiumpro -march=pentiumpro -c -o t-ternary.o t-
ternary.cc
/bin/bash ../../libtool --mode=link g++  -m32 -O2 -fomit-frame-pointer -
mtune=pentiumpro -march=pentiumpro   -o t-ternary  t-ternary.o -L../../.libs 
../../tests/libtests.la ../../libgmpxx.la ../../libgmp.la
g++ -m32 -O2 -fomit-frame-pointer -mtune=pentiumpro -march=pentiumpro -o 
.libs/t-ternary t-ternary.o  -L/root/gmp-4.2.4/.libs 
../../tests/.libs/libtests.a ../../.libs/libgmpxx.so 
/root/gmp-4.2.4/.libs/libgmp.so ../../.libs/libgmp.so
creating t-ternary
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../tests    -m32 -O2 -fomit-
frame-pointer -mtune=pentiumpro -march=pentiumpro -c -o t-unary.o t-unary.cc
/bin/bash ../../libtool --mode=link g++  -m32 -O2 -fomit-frame-pointer -
mtune=pentiumpro -march=pentiumpro   -o t-unary  t-unary.o -L../../.libs 
../../tests/libtests.la ../../libgmpxx.la ../../libgmp.la
g++ -m32 -O2 -fomit-frame-pointer -mtune=pentiumpro -march=pentiumpro -o 
.libs/t-unary t-unary.o  -L/root/gmp-4.2.4/.libs ../../tests/.libs/libtests.a 
../../.libs/libgmpxx.so /root/gmp-4.2.4/.libs/libgmp.so ../../.libs/libgmp.so
creating t-unary
make[4]: Leaving directory `/root/gmp-4.2.4/tests/cxx'
make  check-TESTS
make[4]: Entering directory `/root/gmp-4.2.4/tests/cxx'
PASS: t-assign
PASS: t-binary
PASS: t-cast
PASS: t-constr
PASS: t-headers
PASS: t-istream
PASS: t-locale
PASS: t-misc
PASS: t-ops
PASS: t-ostream
t-prec.cc:56: GNU MP assertion failed: __gmpf_eq(_a, _c, very_large_prec)
/bin/bash: line 4: 13637 Aborted                 (core dumped) ${dir}$tst
FAIL: t-prec
PASS: t-rand
PASS: t-ternary
PASS: t-unary
==================================
1 of 14 tests failed
Please report to gmp-bugs at swox.com
==================================
make[4]: *** [check-TESTS] Error 1
make[4]: Leaving directory `/root/gmp-4.2.4/tests/cxx'
make[3]: *** [check-am] Error 2
make[3]: Leaving directory `/root/gmp-4.2.4/tests/cxx'
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory `/root/gmp-4.2.4/tests'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/root/gmp-4.2.4'
make: *** [check] Error 2


I'm currently using Kubuntu Jaunty Jackalope Alpha 3,

I hope somebody can help me.

Regards,
            Steve


More information about the gmp-bugs mailing list