Sat Jul 16 12:37:55 2016: Request 116056 was acted upon.
Transaction: Correspondence added by RSCHUPP
       Queue: PAR-Packer
     Subject: Fixes for Cygwin build of PAR::Packer
   Broken in: 1.030
    Severity: (no value)
       Owner: Nobody
  Requestors: kbr...@cornell.edu
      Status: open
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=116056 >


On 2016-07-13 10:02:51, kbr...@cornell.edu wrote:
> >> 1. The build fails with "undefined reference to `__stack_chk_fail'".
> >> This happens starting with version 1.030 due to the removal of the
> >> line
> >>
> >> $boot_ldflags .= $static_ldflags;

The reason is that boot.o is compiled with something like 
-fstack-protector-strong
(hence stack checks are compiled in), but boot.exe is linked without this flag
(which would have linked the library implementing these checks).
OK, so $static_ldflags is back, but this time the suppression of -l<perl lib> 
works.

I've committed both fixes at 
https://www.openfoundry.org/svn/par/PAR-Packer/trunk -
can you give it a try?

Cheers, Roderich

Reply via email to