PROBLEM: GCC version 6.2.0 20161005 (Ubuntu 6.2.0-5ubuntu12) breaks kernel build if stack protection is enabled

From: Nabeel Omer
Date: Tue Oct 25 2016 - 13:15:21 EST


GCC version 6.2.0 20161005 (Ubuntu 6.2.0-5ubuntu12) breaks kernel
build if stack protection is enabled

When compiling the kernel with GCC 6.2.0 (Ubuntu 6.2.0-5ubuntu12) the
following output is produced:

> make -j `getconf _NPROCESSORS_ONLN`
CHK include/config/kernel.release
make clean
^CMakefile:1516: recipe for target 'clean' failed
make[2]: *** [clean] Interrupt
scripts/package/Makefile:91: recipe for target 'deb-pkg' failed
make[1]: *** [deb-pkg] Interrupt
Makefile:1310: recipe for target 'deb-pkg' failed
make: *** [deb-pkg] Interrupt

This has already been posted as a bug on
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=841368.

Linux nabeels-notebook-3542 4.8.0-26-generic #28-Ubuntu SMP Tue Oct 18
14:39:52 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux