Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 115503 - dev-perl/perl: -fno-stack-protector patch should check for compiler support
Summary: dev-perl/perl: -fno-stack-protector patch should check for compiler support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-14 00:26 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2005-12-14 03:18 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
perl-5.8.7-ebuilds.patch (perl-5.8.7-ebuilds.patch,710 bytes, patch)
2005-12-14 00:26 UTC, Diego Elio Pettenò (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2005-12-14 00:26:17 UTC
[CCing osx as this drops an userland_Darwin check, they should like that ;)] 
 
For a mistake I tried to build perl with a GCC compiled with +vanilla 
useflag.. the result was not good, as it tries to use -fno-stack-protector 
flag that does not work with that. Currently the patch that adds the 
-fno-stack-protector calls is applied conditionally to userland_Darwin, that 
is not a good way to apply a patch. 
 
The attached patch instead change the ebuild to check with test-flags if the 
-fno-stack-protector flag is supported instead, not adding the flag when the 
compiler does not support it. 
 
IMHO the patch should be applied to the entire 5.8.7 series to make the 
userland_Darwin go away from there, but that's up to perl herd :) 
 
Thanks, 
Diego
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-12-14 00:26:35 UTC
Created attachment 74690 [details, diff]
perl-5.8.7-ebuilds.patch
Comment 2 Fabian Groffen gentoo-dev 2005-12-14 02:45:49 UTC
patch looks good.  If it still works, then I'm very happy with the change.
Comment 3 Michael Cummings (RETIRED) gentoo-dev 2005-12-14 03:18:22 UTC
committed