Failure running make check under wine for mingw cross-compile

bodrato at mail.dm.unipi.it bodrato at mail.dm.unipi.it
Mon Mar 11 21:47:32 CET 2013


Ciao Andy,

Il Sab, 9 Marzo 2013 1:58 pm, Andy Wingo ha scritto:

> 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

Can you please try the attached (quick and dirty) patch? If it allows the
tests to pass, it means that the sscanf of mingw+wine does not return the
expected value and this impact on gmp_sscanf. A similar problem was seen
on powerpc7450-apple-darwin7.0.0, and we work around it by simply
disabling the failing test on the systems whose sscanf fails.

Best regards,
m

-- 
http://bodrato.it/software/combinatorics.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wine-sscanf.diff
Type: text/x-patch
Size: 554 bytes
Desc: not available
URL: <http://gmplib.org/list-archives/gmp-bugs/attachments/20130311/57fc9aad/attachment.bin>


More information about the gmp-bugs mailing list