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

Bug 508420

Summary: sys-devel/gcc: enable -fstack-protector-strong by default
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: EclassesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED DUPLICATE    
Severity: enhancement CC: pacho, pageexec, rhill, zorry
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.gossamer-threads.com/lists/gentoo/dev/278057?do=post_view_threaded
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 508418    
Bug Blocks:    

Description Agostino Sarubbo gentoo-dev 2014-04-22 15:36:24 UTC
Time ago we discussed it on -dev mailing list:

> There is a new option, -fstack-protector-strong, that's intended to be a 
> balance between the two extremes and something that distros can enable by 
> default. It was just added to mainline so it should be in GCC 4.9. So let's 
> revisit this a couple years down the line.

I noticed bug 484714 and I'm wondering if we can consider -fstack-protector-strong
Comment 1 SpanKY gentoo-dev 2014-04-26 21:38:49 UTC
yes, i mentioned strong in the referenced bug already

*** This bug has been marked as a duplicate of bug 484714 ***
Comment 2 Agostino Sarubbo gentoo-dev 2014-04-27 09:52:34 UTC
(In reply to SpanKY from comment #1)
> yes, i mentioned strong in the referenced bug already

A bug could be a duplicate of another bug, not of a comment....

The original request was -fstack-protector and was activated in gcc-4.8.2-r1
Comment 3 SpanKY gentoo-dev 2014-04-27 14:30:38 UTC
(In reply to Agostino Sarubbo from comment #2)

the bug is about enabling SSP by default.  the exact flag used is immaterial.