No, I can't upgrade gcc, gcc 4.8.5 is the latest officialy supported version on Redhat Enterprise Linux 7.2. I have tried to understand the buid script and it seems that it looks at the kernel config to know which options are avaialble. I have tried to edit the /usr/src/linux/.config or /boot/config-3-10-0-327-4-4-el7.x86_64 like that: CONFIG_HAVE_CC_STACKPROTECTOR=n CONFIG_CC_STACKPROTECTOR=n # CONFIG_CC_STACKPROTECTOR_NONE is not set # CONFIG_CC_STACKPROTECTOR_REGULAR is not set CONFIG_CC_STACKPROTECTOR_STRONG=n CONFIG_CC_STACKPROTECTOR_REGULAR=n default is: CONFIG_HAVE_CC_STACKPROTECTOR=y CONFIG_CC_STACKPROTECTOR=y # CONFIG_CC_STACKPROTECTOR_NONE is not set # CONFIG_CC_STACKPROTECTOR_REGULAR is not set CONFIG_CC_STACKPROTECTOR_STRONG=y But no change, the build script still uses the CONFIG_CC_STACKPROTECTOR_STRONG option. Does the build script use another kernel config file?
↧