perl-5.8.7 propolice bug

Ned Ludd solar at
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:
> "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.


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>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: perl-5.8.7-cflags-regexp.patch
Type: text/x-patch
Size: 458 bytes
URL: <>

More information about the hlfs-dev mailing list