You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Of course, gcc-13 has not yet been released. I'm just trying to stay one step ahead. (Sick to death of playing catchup ;-)
The mingw-w64 ports of gcc-13 will be built with MCF threads enabled. CORRECTION: Not all mingw-w64 ports of gcc-13 are built with MCF threads enabled - https://winlibs.com is currently providing the option of MCF or POSIX threads. The single line insertion in the below patch caters for the MCF builds, while not interfering with the POSIX builds.
This is no big deal, but it means that perls built using these compilers will need to find libmfcgthread-1.dll at runtime.
This is only an issue when running in taint mode - as happens during the running of perl's test suite.
This simple patch to the win32/GNUmakefile allows the test suite to pass - even when libmcfgthread-1.dll is a runtime dependency:
NOTE: The white space at the beginning of each of those lines is a tab, not a series of single spaces.
On perls built with gcc-12 or earlier this new addition to the GNUmakefile does nothing.
But without the new addition, perls built with MCF-enabled gcc-13 will not only register test failures for any tests run in taint mode, but will produce a large number of annoying pop-ups (complaining that libmcfgthread-1.dll cannot be found) that need to be individually acknowledged before the tests can continue on.
This change to the win32/GNUmakefile could be applied at any time, without fear of causing breakage - except that it might be necessary to also rewrite any test scripts that don't cater for alterations being made to the win32/GNUmakefile (like, perhaps, porting/manifest.t.)
Cheers,
Rob
The text was updated successfully, but these errors were encountered:
Description
Of course, gcc-13 has not yet been released. I'm just trying to stay one step ahead. (Sick to death of playing catchup ;-)
The mingw-w64 ports of gcc-13 will be built with MCF threads enabled.
CORRECTION: Not all mingw-w64 ports of gcc-13 are built with MCF threads enabled - https://winlibs.com is currently providing the option of MCF or POSIX threads. The single line insertion in the below patch caters for the MCF builds, while not interfering with the POSIX builds.
This is no big deal, but it means that perls built using these compilers will need to find libmfcgthread-1.dll at runtime.
This is only an issue when running in taint mode - as happens during the running of perl's test suite.
This simple patch to the win32/GNUmakefile allows the test suite to pass - even when libmcfgthread-1.dll is a runtime dependency:
NOTE: The white space at the beginning of each of those lines is a tab, not a series of single spaces.
On perls built with gcc-12 or earlier this new addition to the GNUmakefile does nothing.
But without the new addition, perls built with MCF-enabled gcc-13 will not only register test failures for any tests run in taint mode, but will produce a large number of annoying pop-ups (complaining that libmcfgthread-1.dll cannot be found) that need to be individually acknowledged before the tests can continue on.
This change to the win32/GNUmakefile could be applied at any time, without fear of causing breakage - except that it might be necessary to also rewrite any test scripts that don't cater for alterations being made to the win32/GNUmakefile (like, perhaps, porting/manifest.t.)
Cheers,
Rob
The text was updated successfully, but these errors were encountered: