[rt.cpan.org #116056] Fixes for Cygwin build of PAR::Packer

"Roderich Schupp via RT" <[email protected]>
Newsgroups gmane.comp.lang.perl.par
Message-ID <[email protected]>
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: [email protected]
      Status: open
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=116056 >


On 2016-07-13 10:02:51, [email protected] 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.