public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] "stack-protector-strong" option results in gcc error
@ 2014-09-23  2:49 Walter Dnes
  2014-09-23  6:16 ` Alexander Kapshuk
  0 siblings, 1 reply; 13+ messages in thread
From: Walter Dnes @ 2014-09-23  2:49 UTC (permalink / raw
  To: Gentoo Users List

  I did an emerge update just now, and figured it was time to jump to
the latest stable kernel (3.14.16).  I ran "make oldconfig".  Amongst
the new features, I selected "stack-protector-strong".  When trying to
build the new kernel, I got...

scripts/kconfig/conf --silentoldconfig Kconfig
Makefile:615: Cannot use CONFIG_CC_STACKPROTECTOR_STRONG: -fstack-protector-strong not supported by compiler
  SYSHDR  arch/x86/syscalls/../include/generated/uapi/asm/unistd_32.h
  SYSHDR  arch/x86/syscalls/../include/generated/uapi/asm/unistd_64.h
  SYSHDR  arch/x86/syscalls/../include/generated/uapi/asm/unistd_x32.h
  SYSTBL  arch/x86/syscalls/../include/generated/asm/syscalls_32.h
  HOSTCC  arch/x86/tools/relocs_32.o
  HOSTCC  arch/x86/tools/relocs_64.o
  HOSTCC  arch/x86/tools/relocs_common.o
  HOSTLD  arch/x86/tools/relocs
  CHK     include/config/kernel.release
  UPD     include/config/kernel.release
  WRAP    arch/x86/include/generated/asm/clkdev.h
  CHK     include/generated/uapi/linux/version.h
  UPD     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
  UPD     include/generated/utsrelease.h
  CC      kernel/bounds.s
gcc: error: unrecognized command line option '-fstack-protector-strong'
make[1]: *** [kernel/bounds.s] Error 1
make: *** [prepare0] Error 2

  I switched stack-protector to "regular", and it built OK.  I rebooted
into it, and it works OK.

  My gcc version data...

[d531][root][/usr/src/linux] gcc --version
gcc (Gentoo 4.7.3-r1 p1.4, pie-0.5.5) 4.7.3
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

  My install is 32-bit

[d531][waltdnes][~] uname -a
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

-- 
Walter Dnes <waltdnes@waltdnes.org>
I don't run "desktop environments"; I run useful applications


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2014-09-23 16:53 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-23  2:49 [gentoo-user] "stack-protector-strong" option results in gcc error Walter Dnes
2014-09-23  6:16 ` Alexander Kapshuk
2014-09-23  8:54   ` Walter Dnes
2014-09-23  9:41     ` [gentoo-user] " Nikos Chantziaras
2014-09-23 10:09     ` [gentoo-user] " Neil Bothwick
2014-09-23 13:33     ` Michael Orlitzky
2014-09-23 14:07       ` Hinnerk van Bruinehsen
2014-09-23 11:52   ` Hinnerk van Bruinehsen
2014-09-23 12:47     ` Rich Freeman
2014-09-23 13:06       ` J. Roeleveld
2014-09-23 14:07         ` Hinnerk van Bruinehsen
2014-09-23 14:42       ` [gentoo-user] " James
2014-09-23 16:52         ` [gentoo-user] James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox