gmp-5.0.1 t-perfpow fails (all other pass) on Win-64bit - mingw-w64 compiler

Torbjorn Granlund tg at gmplib.org
Tue Mar 23 11:33:56 CET 2010


kmx <kmx at volny.cz> writes:

  I have experienced tests/mpz/t-perfpow to fail when:
  1/ building gmp-5.0.1 on 64bit MS Windows (Win7 if it does matter)
  2/ using native 64bit gcc4 toolchain from mingw-w64.sf.net (no
  cross-compiling)
  3/ the same results with gcc 4.4.4pre and gcc 4.4.3
  4/ build from MSYS environment
  5/ using configure options: --build=x86_64-w64-mingw32
  --host=x86_64-w64-mingw32 --enable-static=yes --enable-shared=no
  6/ t-perfpow is the only test that fails all other pass
  7/ the same gmp-5.0.1 with the 32bit version of the same compilers (gcc
  4.4.4pre and gcc 4.4.3) builds fine (all tests pass)
  
  The failure details:
  
  n = 973276029958642838685 .............
  <snip>
  007742323156412530688
  n was destroyed, but perfpow_p still believes n is a perfect power
  Please contact the application's support team for more information.
  FAIL: t-perfpow.exe
  
Please try this patch:

http://gmplib.org:8000/gmp-5.0/raw-rev/794410151f5f

-- 
Torbjörn


More information about the gmp-bugs mailing list