gmp compile bug

Eric Bonnet eric.bonnet at
Tue Apr 25 12:06:06 CEST 2006

Hi there,

I got an error while trying to compile the latest gmp library on a 
sun20z AMD Opteron system (gcc version is showed below)
Linux  2.4.21-40.ELsmp #1 SMP Thu Feb 2 22:13:55 EST 2006 x86_64 x86_64
x86_64 GNU/Linux

Thanks for yout help,

-- Eric

PASS: t-cmp_d
mpf_cmp_si wrong on data[6]
   a=-0.1e1 (-1)
   b=1 (1)
FAIL: t-cmp_si
PASS: t-div
PASS: t-fits
PASS: t-get_d
PASS: t-get_d_2exp
PASS: t-get_si
PASS: t-get_ui
PASS: t-gsprec
PASS: t-inp_str
PASS: t-int_p
PASS: t-mul_ui
PASS: t-set
PASS: t-set_q
PASS: t-set_si
PASS: t-set_ui
PASS: t-trunc
PASS: t-ui_div
1 of 26 tests failed
Please report to gmp-bugs at
make[4]: *** [check-TESTS] Error 1
make[4]: Leaving directory `/usr/local/src/tarballs/gmp-4.2/tests/mpf'
make[3]: *** [check-am] Error 2
make[3]: Leaving directory `/usr/local/src/tarballs/gmp-4.2/tests/mpf'
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/tarballs/gmp-4.2/tests'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/tarballs/gmp-4.2'
make: *** [check] Error 2
[root at werewulf gmp-4.2]$ gcc -v
Reading specs from /usr/lib/gcc-lib/x86_64-redhat-linux/3.2.3/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man 
--infodir=/usr/share/info --enable-shared --enable-threads=posix 
--disable-checking --with-system-zlib --enable-__cxa_atexit 
Thread model: posix
gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-54)

More information about the gmp-bugs mailing list