develooper Front page | perl.perl5.porters | Postings from November 2010

Re: [perl #79838] -fstack-protector enabled without any way todisable, even on platforms not supporting it

Thread Previous | Thread Next
From:
Andy Dougherty
Date:
November 30, 2010 09:26
Subject:
Re: [perl #79838] -fstack-protector enabled without any way todisable, even on platforms not supporting it
Message ID:
alpine.DEB.2.00.1011301222230.8805@fractal.phys.lafayette.edu
On Mon, 29 Nov 2010, Eric Brine wrote:

>       On Fri, 26 Nov 2010, perlbug @ plan9 . de wrote:> so... please
>       please please make -fstack-protector configurable somehow,
>       > better yet, don't override user-specified flags and/or improve
>       the tets
>       > for platform support.
> If Perl only supplements, then -fno-stack-protector should work, right? Does
> it?

Yes, good call.  Configure even actually already contains code to 
explicitly deal with this situation.  (Thanks, Nicholas!)  Explicitly 
adding -fno-stack-protector to ccflags will cause Configure to not add 
-fstack-protector.  This will fix the immediate problem.

Still, I agree that a test file that made this happen automatically would 
be even better.  I just don't know what such a test might look like.

-- 
    Andy Dougherty		doughera@lafayette.edu


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About