This is a bit of a tricky issue. When using hardened profile with x86_64-pc-linux-gnu-4.4.3, this causes a kernel compile to say /usr/src/linux-2.6.34.1/arch/x86/Makefile:81: stack protector enabled but no compiler support The issue lies in scripts/gcc-x86_64-has-stack-protector.sh, which calls echo "int foo(void) { char X[200]; return 3; }" | gcc -S -xc -c -O0 -mcmodel=kernel -fstack-protector - -o - which then causes <stdin>:1: error: code model kernel does not support PIC mode <stdin>:1: error: code model 'kernel' not supported in the 64 bit mode A possible solution would be patching that check script to include -fno-pic, though I'm not sure if kernel people will like such workarounds for gentoo issues.
*** This bug has been marked as a duplicate of bug 312335 ***