Failure running make check under wine for mingw cross-compile

Andy Wingo wingo at pobox.com
Sat Mar 9 13:58:35 CET 2013


I just cross-built gmp 5.1.1, configured as follows:

  ../configure --host=i686-w64-mingw32 --prefix=/mingw --disable-static --enable-shared

This is on a Fedora 18 x86-64 machine.  It built fine.

I ran the test suite as make check TEST_ENVIRONMENT=wine.  Somewhat
surprisingly, everything worked, until:

    ../../../tests/misc/t-scanf.c:1495: GNU MP assertion failed: ret == (-1)

    abnormal program termination
    FAIL: t-scanf.exe

$ i686-w64-mingw32-gcc --version
i686-w64-mingw32-gcc (GCC) 4.7.2 20120920 (Fedora MinGW 4.7.2-7.fc18)
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

I tried to debug it but I don't understand the cross-debug toolchain
well enough.

Anyway, thought you would like to know.  Cheers.

Andy
-- 
http://wingolog.org/


More information about the gmp-bugs mailing list