On Fri, Oct 21, 2016 at 08:07:03AM -0500, S. R. Wright wrote: > As the kernel is the most important code gcc is ever likely to compile on > debian or any other distro for that matter, this change should be backed > out, and not reintroduced UNTIL the *official* kernel source is ready for > it.
I agree with this, I would also recommend to wait for patchs to hit the LTS releases of the kernel (4.4, 4.1). As those are used on production systems. I also tried the patched mentioned earlier without luck: diff --git a/Makefile b/Makefile index 0f9cb36d45c2c..b95a6774e4600 100644 --- a/Makefile +++ b/Makefile @@ -341,8 +341,8 @@ include scripts/Kbuild.include # Make variables (CC, etc...) AS = $(CROSS_COMPILE)as -LD = $(CROSS_COMPILE)ld -CC = $(CROSS_COMPILE)gcc +LD = $(CROSS_COMPILE)ld -no-pie +CC = $(CROSS_COMPILE)gcc -no-pie CPP = $(CC) -E AR = $(CROSS_COMPILE)ar NM = $(CROSS_COMPILE)nm This does not work with gcc 6.2.0-7 on my environment. For now I've rollbacked to 6.2.0-6 which works as expected: $ cat /etc/apt/preferences.d/02_broken_kernel_builds Package: gcc-6-base Pin: version 6.2.0-7 Pin-Priority: -10 -- \o/ Arthur G Gandi.net