Gentoo Archives: gentoo-user

From: Nikos Chantziaras <realnc@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: "stack-protector-strong" option results in gcc error
Date: Tue, 23 Sep 2014 09:42:26
Message-Id: lvrf8u$dc7$1@ger.gmane.org
In Reply to: Re: [gentoo-user] "stack-protector-strong" option results in gcc error by Walter Dnes
1 On 23/09/14 11:54, Walter Dnes wrote:
2 > On Tue, Sep 23, 2014 at 09:16:42AM +0300, Alexander Kapshuk wrote
3 >>
4 >> Looks like support for '-fstack-protector-strong' was implemented in
5 >> more recent versions of gcc. The the URL below for details:
6 >>
7 >> https://securityblog.redhat.com/tag/stack-protector/
8 >
9 > Thanks for the explanation. The blog says...
10 >
11 >> GCC 4.8.1 and the GCC version in Fedora 19 added another mode,
12 >> -fstack-protector-strong, bringing the number of stack protector
13 >> modes up to three.
14 >
15 > Gentoo stable appears to be gcc-4.7.3-r1. ebuilds up to gcc-4.9.1 are
16 > present in the tree. Upgrading gcc is painful, so I appreciate the
17 > maintainers not forcing a rebuild with every version bump.
18
19 You don't need to upgrade. You can just install it in parallel with your
20 current GCC, and use the newer one just to build the kernel.