GMP failing make check on Sun Ultrasparc

James Avery avery at
Wed Apr 18 19:11:05 CEST 2007

Dear GMP team,

I've just compiled the latest release of libgmp on Solaris. The
"t-get_d" test fails, as shown below:

PASS: t-asmtype
PASS: t-aors_1
PASS: t-divrem_1
PASS: t-fat
mpn_get_d wrong on random data
   sign     0
   n        =0x1FF800FE007FC0
   nsize    1
   exp      -37
   want     =[43 3F F8 00 FE 00 7F C0] 8998407423164352
   got      =[40 EF F8 00 FE 00 7F C0] 65472.031006097327918
/bin/bash: line 4: 21355 Abort                   ${dir}$tst
FAIL: t-get_d
PASS: t-instrument
PASS: t-iord_u
PASS: t-mp_bases
PASS: t-perfsqr
PASS: t-scan
1 of 10 tests failed
Please report to gmp-bugs at

I compiled for 64 bit using the following C/CXXFLAGS:
"-fast -xtarget=ultra3 -xarch=v9b"

CC -V gives:
CC: Sun C++ 5.8 Patch 121017-08 2006/12/06

And uname -a gives:
"SunOS isaac 5.10 Generic_118833-23 sun4u sparc SUNW,Sun-Fire-15000"

Is there anything I can do to provide you with more relevant
information? I am a programmer, but am not familiar with the internals
of GMP. I'll be more than happy to help track down the bug, but I'll
probably need some guidance.

Thank's for your good work.

Med venlig hilsen,
  James Avery <avery at>

More information about the gmp-bugs mailing list