Reported error with "make check"

Simon Fenney simon.fenney at
Tue Mar 11 11:14:22 CET 2008

Dear all,
I was trying to build gmp 4.2.2 in order to eventually build the latest
gcc (which requires gmp).

I'm using the following version of gcc on redhat linux:
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-56)

The error report is:

make[4]: Entering directory
PASS: t-add
PASS: t-sub
PASS: t-conv
PASS: t-sqrt
PASS: t-sqrt_ui
PASS: t-muldiv
PASS: t-dm2exp
PASS: reuse
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

I see (from a google search) that a couple of other people have
encountered this as well (and on other gmp versions) but I've not seen
any solutions.


Simon Fenney                              Principal Design Engineer
PowerVR Technologies     A Division of Imagination Technologies Ltd
Home Park Estate, Kings Langley, WD4 8LZ, UK     ph:+44 1923 260511
mailto:simon.fenney at    

"Your work is both good and original. Unfortunately the part that 
is good is not original and the part that is original is not good." 
- Samuel Johnson

More information about the gmp-bugs mailing list