public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
* perl-PAR-Packer
@ 2016-05-11 22:40 Ken Brown
  2016-05-12 22:23 ` perl-PAR-Packer Yaakov Selkowitz
  0 siblings, 1 reply; 3+ messages in thread
From: Ken Brown @ 2016-05-11 22:40 UTC (permalink / raw)
  To: cygwin-apps

[-- Attachment #1: Type: text/plain, Size: 399 bytes --]

Yaakov,

I needed the latest version of perl-PAR-Packer, so I built it and 
discovered that I needed the attached patch.  It just adds back a line 
that was present prior to version 1.030.  The build fails with 
"undefined reference to `__stack_chk_fail'" without that line.

I'm not suggesting that you need to update perl-PAR-Packer, just trying 
to save you some time when you do update it.

Ken

[-- Attachment #2: 1.030-boot_ldflags.patch --]
[-- Type: text/plain, Size: 403 bytes --]

--- origsrc/PAR-Packer-1.030/myldr/Makefile.PL	2016-05-10 21:09:14.197601400 -0400
+++ src/PAR-Packer-1.030/myldr/Makefile.PL	2016-05-10 22:15:08.535197200 -0400
@@ -172,6 +172,7 @@ if ($dynperl) {
     $perllibshortname =~ s/\Q.$so\E$//;
 }
 $static_ldflags =~ s/(^|\s)-l$perllibshortname(\s|$)/ /g;
+$boot_ldflags .= $static_ldflags;
 
 
 # In the $dynperl case, we've already found the $libperl DSO.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: perl-PAR-Packer
  2016-05-11 22:40 perl-PAR-Packer Ken Brown
@ 2016-05-12 22:23 ` Yaakov Selkowitz
  2016-07-13 14:19   ` perl-PAR-Packer Ken Brown
  0 siblings, 1 reply; 3+ messages in thread
From: Yaakov Selkowitz @ 2016-05-12 22:23 UTC (permalink / raw)
  To: cygwin-apps

On 2016-05-11 17:40, Ken Brown wrote:
> I needed the latest version of perl-PAR-Packer, so I built it and
> discovered that I needed the attached patch.  It just adds back a line
> that was present prior to version 1.030.  The build fails with
> "undefined reference to `__stack_chk_fail'" without that line.
>
> I'm not suggesting that you need to update perl-PAR-Packer, just trying
> to save you some time when you do update it.

Okay, thanks for the heads-up!

-- 
Yaakov

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: perl-PAR-Packer
  2016-05-12 22:23 ` perl-PAR-Packer Yaakov Selkowitz
@ 2016-07-13 14:19   ` Ken Brown
  0 siblings, 0 replies; 3+ messages in thread
From: Ken Brown @ 2016-07-13 14:19 UTC (permalink / raw)
  To: cygwin-apps

On 5/12/2016 6:23 PM, Yaakov Selkowitz wrote:
> On 2016-05-11 17:40, Ken Brown wrote:
>> I needed the latest version of perl-PAR-Packer, so I built it and
>> discovered that I needed the attached patch.  It just adds back a line
>> that was present prior to version 1.030.  The build fails with
>> "undefined reference to `__stack_chk_fail'" without that line.
>>
>> I'm not suggesting that you need to update perl-PAR-Packer, just trying
>> to save you some time when you do update it.
>
> Okay, thanks for the heads-up!

I've sent this upstream, as well as your patch for detecting x86_64:

   https://rt.cpan.org/Public/Bug/Display.html?id=116056

Ken

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-07-13 14:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-11 22:40 perl-PAR-Packer Ken Brown
2016-05-12 22:23 ` perl-PAR-Packer Yaakov Selkowitz
2016-07-13 14:19   ` perl-PAR-Packer Ken Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).