GMP 4.1.3 - t-cmp_si fails on x86_64

Schoeller Porter schoeller_porter at
Tue Jul 13 18:32:39 CEST 2004

With a vanilla GMP 4.1.3 on certain x86-64 machines, `configure;make;make
check` gives me the following failure in tests/mpf:

mpf_cmp_si wrong on data[6]
  a=-0.1e1 (-1)
  b=1 (1)
FAIL: t-cmp_si

I've encountered this with both Red Hat Enterprise Linux 3 and Suse Linux
Enterprise 8, but not on Suse Linux Professional 9.1. Any help resolving this
problem would be much appreciated.

Relevant info from the RHEL3 system:
hammer> uname -a
Linux hammer 2.4.21-4.ELsmp #1 SMP Fri Oct 3 17:32:58 EDT 2003 x86_64 x86_64
x86_64 GNU/Linux
hammer> 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-34)

Relevant info from the Suse 9.1 machine (where there is no problem):
athlon64> uname -a
Linux athlon64 2.6.4-52-default #1 Wed Apr 7 02:15:23 UTC 2004 x86_64 x86_64
x86_64 GNU/Linux
athlon64> gcc -v
Reading specs from /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/specs
Configured with: ../configure --enable-threads=posix --prefix=/usr
--with-local-prefix=/usr/local --infodir=/usr/share/info
--mandir=/usr/share/man --enable-languages=c,c++,f77,objc,java,ada
--disable-checking --libdir=/usr/lib64 --enable-libgcj
--with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib64
--with-system-zlib --enable-shared --enable-__cxa_atexit x86_64-suse-linux
Thread model: posix
gcc version 3.3.3 (SuSE Linux)


Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!

More information about the gmp-bugs mailing list