Fri May 28 15:49:57 2010: Request 57948 was acted upon. Transaction: Correspondence added by [email protected] Queue: PAR-Packer Subject: Re: [rt.cpan.org #57948] Bug report: pp-generated executable and a missing dependency libgcc_s_sjlj-1.dll Broken in: (no value) Severity: (no value) Owner: RSCHUPP Requestors: [email protected] Status: open Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=57948 >
> > Known problem, buried deep in #57272. > > Can you please try the patch attached to > https://rt.cpan.org/Ticket/Display.html?id=57272#txn-776549 > > Note that you must rebuild PAR::Packer with this patch, install it > and then repack your script to test the fix. > I tried the patch mentioned above. The problem still exists. The end result of the pp still depends on the libgcc_s_sjlj-1.dll. My guess is that including this library inside the packed script does not help because the executable for some reason requires the DLL at pretty early stage of the execution. So, the DLL inside the packed script has no effect in this case. If I have time, I have to investigate, what the PAR::Packer is doing while compiling the stub. I imagine that it should be possible to compile the stub in such way that this DLL is not needed when the stub part of the package is executing. -Matti
