x86_64-w64-mingw32 test FAIL t-scanf.c:1477: GNU MP assertion failed: ret == (-1)

Torbjörn Granlund tg at gmplib.org
Thu Mar 30 13:12:58 UTC 2017


Claude Heiland-Allen <claude at mathr.co.uk> writes:

  Using this source:
  
      https://gmplib.org/download/gmp/gmp-6.1.2.tar.lz
  
  I compiled and then ran the test suite as advised by make install, and
  got a failure.  I'm cross-compiling for Windows 64bit from Linux 64bit,
  amd64 architecture.  This is what I did:
  
      ./configure --host=x86_64-w64-mingw32 --prefix=$HOME/win64
      make -j 8
      make install
      make check
  
I assume you're using some emulator for the 'make check' part.

      t-scanf.c:1477: GNU MP assertion failed: ret == (-1)
      FAIL t-scanf.exe (exit status: 3)
  
It is not realistic for us to work on this problem as there are
countless of things which might be wrong.

Did the configure find the right compiler?
Did the compile find the proper target include files?
Is the emulator working properly?
Etc.

If you decide to debug this, please let us know if it is GMP-related.

-- 
Torbjörn
Please encrypt, key id 0xC8601622


More information about the gmp-bugs mailing list