Related to:
Cannot compile kernel: error, kernel does not support PIC mode
I also just had this issue, instead of patching;
I configured alternates with a different gcc version, jumped from v4 to v5, it's compiling now.
$ update-alternatives --config gcc
There are 3 choices for the alternative gcc (providing /usr/bin/gcc).
Selection Path Priority Status
------------------------------------------------------------
0 /usr/bin/gcc-6 30 auto mode
1 /usr/bin/gcc-4.8 10 manual mode
* 2 /usr/bin/gcc-5 20 manual mode
3 /usr/bin/gcc-6 30 manual mode
What issues could arise, are there any best practice for choosing a GCC version for compiling the kernel?
The system is Debian Stretch.