I have looked around for this specific error however I did not find it, instead I found errors that are similar such as 'not supported by compiler'.
I am trying to compile Kernel version 4.8.8, i have patched it with grsecuirty if that makes any difference.
This is the entire error from the output command
fakeroot make-kpkg --initrd kernel_image:
Cannot use CONFIG_CC_STACKPROTECTOR_STRONG: -fstack-protector-strong available but compiler is broken Makefile:1059: recipe for target 'prepare-compiler-check' failed make: *** [prepare-compiler-check] Error 1 make: Leaving directory '/home/shurik/GrSec/linux-4.8.8' debian/ruleset/targets/common.mk:194: recipe for target 'debian/stamp/conf/kernel-conf' failed make: *** [debian/stamp/conf/kernel-conf] Error 2 make: Leaving directory '/home/shurik/GrSec/linux-4.8.8' /usr/share/kernel-package/ruleset/minimal.mk:93: recipe for target 'debian/stamp/conf/minimal_debian' failed make: *** [debian/stamp/conf/minimal_debian] Error 2 Failed to create a ./debian directory: at /usr/bin/make-kpkg line 970.
Currently I am running Debian Sid x86_64, my compiler is gcc 6.2.0.
I tried compiling a simple C program with the
-fstack-protector-strong flag and it was a success.