perl-5.8.7 propolice bug

Ned Ludd solar at gentoo.org
Mon Aug 1 15:29:52 PDT 2005


On Fri, 2005-06-24 at 18:51 -0400, Robert Connolly wrote:
> Hi. Perl has an open bug for version 5.8.7 with propolice:
> 
> http://guest@rt.perl.org/rt3/index.html?q=36309
> http://www.mail-archive.com/perl5-porters%40perl.org/msg88161.html
> 
> "When building perl 5.8.7 with the -fstack-protector patches for GCC,
> miniperl fails to build DynaLoader and segfaults. This didn't happen 
> with 5.8.6."
> 
> There is no fix yet. I think we should use
> CFLAGS="$CFLAGS -fno-stack-protector" for now rather than downgrading to 
> 5.8.6.

Robert, 

When I encountered this bug I traced it down to a recursive 
regexp call. To temporarily work around without having to disable ssp 
on the entire package I whipped up the following attached patch which 
only disables it where needed.

Hope it helps.

-- 
Ned Ludd <solar at gentoo.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: perl-5.8.7-cflags-regexp.patch
Type: text/x-patch
Size: 458 bytes
Desc: 
URL: <http://lists.linuxfromscratch.org/pipermail/hlfs-dev/attachments/20050801/6854d3d6/attachment.bin>


More information about the hlfs-dev mailing list