I have revealed this issue while trying to compile perl 5.11.1 with native 32-bit mingw-w64 compiler (gcc toolchain binaries provided by sezero - marked "20091101").
In the end we (main credits goes to sisyphus) managed to compile perl binaries with both native 32-bit and native 64-bit compiler.
The problem occurs with 32-bit perl.exe executable we have created
- perl.exe runs fine on 64-bit MS Windows Vista (SP1)
- perl.exe hangs up on 32-bit MS Windows XP (SP3)
I have ripped off the resulting perl.exe + some DLLs and put it here:
You can test it by:
- downloading: libgcc_s_sjlj-1.dll + perl511.dll + perl.exe
- launching: "perl.exe -V"
On Vista it prints an error (which means it works as expected):
Can't locate Config.pm in @INC (@INC contains: .).
BEGIN failed--compilation aborted.
On WinXP it hangs up.
When I try to run it in a debugger on WinXP it seems that at the point when perl.exe hangs up it has 2 threads running - both waiting inside some system DLLs (perhaps some raise condition, thread-unsafety issue or whatever else).
Any help would be appreciated as we obviously need to generated 32-bit perl.exe that runs not only on WinVista but also on WinXP (and hopefully Win2000).
Thanks for any hint.
Log in to post a comment.