MinGW build, 'make check' fails on t-scanf.exe

Tim Rühsen tim.ruehsen at gmx.de
Wed Aug 16 19:27:44 UTC 2017


Hi,

I was just trying build a GMP for MinGW on a Debian unstable box.
'make check' fails for  tests/misc/t-scanf.exe.

$ tests/misc/t-scanf.log 
t-scanf.c:1477: GNU MP assertion failed: ret == (-1)
FAIL t-scanf.exe (exit status: 3)

The 'ret' value in fact is 0.

Package libc6 is 2.24-14, compiler version is:
x86_64-w64-mingw32-gcc (GCC) 6.3.0 20170516.


How to reproduce with latest HG repo:

.bootstrap
PREFIX=x86_64-w64-mingw32
export CC=$PREFIX-gcc
export CXX=$PREFIX-g++
export CPP=$PREFIX-cpp
export RANLIB=$PREFIX-ranlib
export PATH="/usr/$PREFIX/bin:$PATH"
export CFLAGS="-O0 -g"
./configure --build=x86_64-pc-linux-gnu --host=$PREFIX
make clean
make
make check


Q: Is this issue really a blocker or may I proceed (goal is a MinGW GnuTLS 
build).

With Best Regards, Tim
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <https://gmplib.org/list-archives/gmp-bugs/attachments/20170816/3b3de336/attachment.bin>


More information about the gmp-bugs mailing list