't-locale' test build failure using MinGW-W64

Marc Glisse marc.glisse at inria.fr
Fri Jan 1 21:23:06 UTC 2016


On Fri, 1 Jan 2016, Marco Bodrato wrote:

> Ciao,
>
> Il Mer, 23 Dicembre 2015 4:23 pm, sav_ix at ukr.net ha scritto:
>> Used stuff:
>> - Windows 10,
>
> I do not have any dos machine to test on, but ...
>
>> After applying patches I made GMP builds using MinGW-W64 for
>> <shared,static>+<x86,x64> configurations and all tests ran successfully
>
> ... I tested your patches on my Debian with:
> ./configure --host=i686-w64-mingw32 --disable-shared --enable-cxx && make
> && make LOG_COMPILER=wine check
>
> I can say that the "cxx" tests get correctly compiled and t-locale keeps
> on working (there are other failures, both with and without the changes).
> So I pushed a patch based on your suggestions, but we should verify the
> t-locale change even on different mingw configurations...

IIUC, the goal is for the test to end up in

   printf ("Test skipped, replacing localeconv/nl_langinfo doesn't work\n");

if replacing localeconv is disabled on that platform? That seems sensible 
since the platform won't let us test what we want, and it is certainly 
better than failing to compile.

-- 
Marc Glisse


More information about the gmp-bugs mailing list