Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 336278

Summary: --as-needed enabled in default profiles, not in hardened
Product: Gentoo Linux Reporter: Pavel Stratil <pavel.stratil-jun>
Component: HardenedAssignee: The Gentoo Linux Hardened Team <hardened>
Status: RESOLVED INVALID    
Severity: normal CC: ssuominen
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.gentoo.org/proj/en/qa/asneeded.xml
Whiteboard:
Package list:
Runtime testing required: ---

Description Pavel Stratil 2010-09-06 20:34:52 UTC
Hi, is there anything thats holding back enabling --as-needed in hardened profiles? Thanks, Pavel

Reproducible: Always
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-09-06 20:47:26 UTC
It should already be enabled by default in all hardened/linux/ profiles, only the old obsolete/deprecated ones should have it disabled because of:

hardened/make.defaults:LDFLAGS="-Wl,-O1"

but it shouldn't be a issue, everyone should use the new profiles by now
Comment 2 Pavel Stratil 2010-09-06 21:46:32 UTC
Hey Samuli, thanks! i was referring to hardened/make.defaults ... i miss-typed when grepping emerge --info and found the the hardened/make.defaults. So i guess this bug is invalid. Are the obsolete profiles still required? Wouldn't now be a good time to get rid of them?