kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* CONFIG_CC_STACKPROTECTOR_STRONG
@ 2019-07-09 17:24 Muni Sekhar
  2019-07-09 17:26 ` CONFIG_CC_STACKPROTECTOR_STRONG Denis Kirjanov
  2019-07-09 19:58 ` CONFIG_CC_STACKPROTECTOR_STRONG Greg KH
  0 siblings, 2 replies; 6+ messages in thread
From: Muni Sekhar @ 2019-07-09 17:24 UTC (permalink / raw)
  To: kernelnewbies, linux-kernel


[-- Attachment #1.1: Type: text/plain, Size: 891 bytes --]

Hi All,


My Kernel is built with the following options:



CONFIG_CC_STACKPROTECTOR=y

CONFIG_CC_STACKPROTECTOR_STRONG=y





We use out-of-tree kernel modules in our project and I need to measure the
performance of it by using a bit older gcc version 4.8.5.



I can build the modules with gcc above 5 version, but when I try to use gcc
version 4.8.5 I’m getting the following error:



Makefile:693: Cannot use CONFIG_CC_STACKPROTECTOR_STRONG:
-fstack-protector-strong not supported by compiler



So it looks like gcc 4.8.5 does not support CONFIG_CC_STACKPROTECTOR_STRONG
option, but how to instruct gcc to ignore this one?



In runtime, is it possible to instruct kernel to ignore
“CONFIG_CC_STACKPROTECTOR_STRONG=y” (without building the kernel) by using
sysctl or any other method?


Any help is appreciated.


-- 
Thanks,
Sekhar

[-- Attachment #1.2: Type: text/html, Size: 2675 bytes --]

[-- Attachment #2: Type: text/plain, Size: 170 bytes --]

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

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

end of thread, other threads:[~2019-07-09 19:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-09 17:24 CONFIG_CC_STACKPROTECTOR_STRONG Muni Sekhar
2019-07-09 17:26 ` CONFIG_CC_STACKPROTECTOR_STRONG Denis Kirjanov
2019-07-09 17:32   ` CONFIG_CC_STACKPROTECTOR_STRONG Muni Sekhar
2019-07-09 17:46     ` CONFIG_CC_STACKPROTECTOR_STRONG Denis Kirjanov
2019-07-09 18:04       ` CONFIG_CC_STACKPROTECTOR_STRONG Muni Sekhar
2019-07-09 19:58 ` CONFIG_CC_STACKPROTECTOR_STRONG Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).