develooper Front page | perl.perl5.porters | Postings from May 2018

[perl #128631] Win32 MinGW build failure

Thread Previous
Steve Hay via RT
May 10, 2018 12:58
[perl #128631] Win32 MinGW build failure
Message ID:
I've just run into this bug, testing blead with recent compilers - 5.3.0 and 6.3.0. Previously I have used 4.8.1 and haven't seen the problem.

It revolves around which version of the MinGW runtime library is being used. My 4.8.1 installation reports


despite coming from a file looking like it's version 4 (mingwrt-4.0.3-1-mingw32-dev.tar.lzma), so I guess it just missed the cut for mkstemp() addition.

But my 5.3.0 and 6.3.0 installations use newer runtimes:


(the former from mingwrt-5.0-mingw32-dev.tar.xz and the latter from mingwrt-5.0.2-mingw32-dev.tar.xz) which do include mkstemp().

I think we need something like

to fix it, but switching on the #defines above. Trouble is, I don't know what numbers to use because of the confusing message from Keith Marshall (via Sisyphus) above.

Does anyone know what version is reported by "the fatally flawed mingwrt-4.x variants" reported? Is that what my 4.8.1 setup is using, despite reporting itself as 3.20? Or are there versions that report themselves as 4.x?

I've only just discovered that new compilers (v5 and v6) even exist. But knowing this now, I wonder if this should be a 5.28 blocker?

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About