1 |
I did an emerge update just now, and figured it was time to jump to |
2 |
the latest stable kernel (3.14.16). I ran "make oldconfig". Amongst |
3 |
the new features, I selected "stack-protector-strong". When trying to |
4 |
build the new kernel, I got... |
5 |
|
6 |
scripts/kconfig/conf --silentoldconfig Kconfig |
7 |
Makefile:615: Cannot use CONFIG_CC_STACKPROTECTOR_STRONG: -fstack-protector-strong not supported by compiler |
8 |
SYSHDR arch/x86/syscalls/../include/generated/uapi/asm/unistd_32.h |
9 |
SYSHDR arch/x86/syscalls/../include/generated/uapi/asm/unistd_64.h |
10 |
SYSHDR arch/x86/syscalls/../include/generated/uapi/asm/unistd_x32.h |
11 |
SYSTBL arch/x86/syscalls/../include/generated/asm/syscalls_32.h |
12 |
HOSTCC arch/x86/tools/relocs_32.o |
13 |
HOSTCC arch/x86/tools/relocs_64.o |
14 |
HOSTCC arch/x86/tools/relocs_common.o |
15 |
HOSTLD arch/x86/tools/relocs |
16 |
CHK include/config/kernel.release |
17 |
UPD include/config/kernel.release |
18 |
WRAP arch/x86/include/generated/asm/clkdev.h |
19 |
CHK include/generated/uapi/linux/version.h |
20 |
UPD include/generated/uapi/linux/version.h |
21 |
CHK include/generated/utsrelease.h |
22 |
UPD include/generated/utsrelease.h |
23 |
CC kernel/bounds.s |
24 |
gcc: error: unrecognized command line option '-fstack-protector-strong' |
25 |
make[1]: *** [kernel/bounds.s] Error 1 |
26 |
make: *** [prepare0] Error 2 |
27 |
|
28 |
I switched stack-protector to "regular", and it built OK. I rebooted |
29 |
into it, and it works OK. |
30 |
|
31 |
My gcc version data... |
32 |
|
33 |
[d531][root][/usr/src/linux] gcc --version |
34 |
gcc (Gentoo 4.7.3-r1 p1.4, pie-0.5.5) 4.7.3 |
35 |
Copyright (C) 2012 Free Software Foundation, Inc. |
36 |
This is free software; see the source for copying conditions. There is NO |
37 |
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
38 |
|
39 |
My install is 32-bit |
40 |
|
41 |
[d531][waltdnes][~] uname -a |
42 |
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 |
43 |
|
44 |
-- |
45 |
Walter Dnes <waltdnes@××××××××.org> |
46 |
I don't run "desktop environments"; I run useful applications |