4 tests failed on gmp 5.0.3 using mingw64 gcc 4.7

Torbjorn Granlund tg at gmplib.org
Wed Feb 8 11:34:20 CET 2012


Rene Sugar <rene.sugar at gmail.com> writes:

  I got the following 4 errors on gmp 5.0.3 when running "make check" on
  a mingw64 build on Windows 7 64-bit.
  
  ./configure --host=x86_64-w64-mingw32 --build=x86_64-w64-mingw32
  --target=x86_64-w64-mingw32 --prefix=/mingw
  make
  make check
  
  My CPU is an AMD Phenom II X4 940 processor. The configure script
  picked "k8" instead of "amdfam10".
  
What does config.guess return?
  
WHat does cpuid return?  (You might try the cpuid2.c program attached.)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: cpuid2.c
Type: application/octet-stream
Size: 12963 bytes
Desc: not available
URL: <http://gmplib.org/list-archives/gmp-bugs/attachments/20120208/281fc1b8/attachment.obj>
-------------- next part --------------

  mpz_mul_si wrong
  FAIL: t-mul_i.exe
  mpz_set_si wrong on data[5]
  FAIL: t-set_si.exe

Alas, this needs to be debugged on your side.  It is not a GMP bug, but
a bug in your environment, most probably a compiler problem.

-- 
Torbj?rn


More information about the gmp-bugs mailing list