1 |
On Tue, Sep 23, 2014 at 09:16:42AM +0300, Alexander Kapshuk wrote: |
2 |
> On Tue, Sep 23, 2014 at 5:49 AM, Walter Dnes <waltdnes@××××××××.org> wrote: |
3 |
> > CHK include/generated/utsrelease.h |
4 |
> > UPD include/generated/utsrelease.h |
5 |
> > CC kernel/bounds.s |
6 |
> > gcc: error: unrecognized command line option '-fstack-protector-strong' |
7 |
> > make[1]: *** [kernel/bounds.s] Error 1 |
8 |
> > make: *** [prepare0] Error 2 |
9 |
> > |
10 |
> > I switched stack-protector to "regular", and it built OK. I rebooted |
11 |
> > into it, and it works OK. |
12 |
> > |
13 |
> > My gcc version data... |
14 |
> > |
15 |
> > [d531][root][/usr/src/linux] gcc --version |
16 |
> > gcc (Gentoo 4.7.3-r1 p1.4, pie-0.5.5) 4.7.3 |
17 |
> > Copyright (C) 2012 Free Software Foundation, Inc. |
18 |
> > This is free software; see the source for copying conditions. There is NO |
19 |
> > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
20 |
> > |
21 |
> > My install is 32-bit |
22 |
> > |
23 |
> > [d531][waltdnes][~] uname -a |
24 |
> > Linux d531 3.14.16-gentoo #1 SMP Mon Sep 22 20:43:33 EDT 2014 i686 Intel(R) Core(TM)2 Duo CPU E4600 @ 2.40GHz GenuineIntel GNU/Linux |
25 |
> > |
26 |
> > -- |
27 |
> > Walter Dnes <waltdnes@××××××××.org> |
28 |
> > I don't run "desktop environments"; I run useful applications |
29 |
> > |
30 |
> |
31 |
> Looks like support for '-fstack-protector-strong' was implemented in |
32 |
> more recent versions of gcc. The the URL below for details: |
33 |
> |
34 |
> https://securityblog.redhat.com/tag/stack-protector/ |
35 |
|
36 |
'-fstack-protector-strong' is supported as of gcc-4.9.x - unless you upgrade, |
37 |
you'll forced to use the regular one. |
38 |
|
39 |
If you want more information on the option take a look here: |
40 |
http://www.outflux.net/blog/archives/2014/01/27/fstack-protector-strong/ |
41 |
|
42 |
I think it's not even that unlikely that you don't even want the strong |
43 |
version. |
44 |
|
45 |
WKR |
46 |
Hinnerk |