Bug#841533: gcc-6: versions 6.2.0-[7-9] break construction of linux kernel with -fstack-protector-xxxx

2016-10-21 Thread Jindřich Makovička
Hi, this is caused by -fPIC by default in latest debian packages. Kernel build fails because -fPIC is incompatible with -mcmodel=kernel . Example command line used for -fstack-protector test follows: gcc -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing

Bug#841533: gcc-6: versions 6.2.0-[7-9] break construction of linux kernel with -fstack-protector-xxxx

2016-10-21 Thread Paul Menzel
On 10/21/16 15:52, Paul Menzel wrote: On 10/21/16 13:43, Jean-Luc Coulon (f5ibh) wrote: Since 6.2.0-7, building the linux kernel (4.8.3 in my case) with --fstack-protector-strong or -fstack-protector fails. I've tested wit h 6.2.0-7 and 6.2.0-9. The I've reverted to 6.2.0-6 and it works

Bug#841533: gcc-6: versions 6.2.0-[7-9] break construction of linux kernel with -fstack-protector-xxxx

2016-10-21 Thread Paul Menzel
Control: found -1 6.2.0-7 Dear Debian folks, On 10/21/16 13:43, Jean-Luc Coulon (f5ibh) wrote: Since 6.2.0-7, building the linux kernel (4.8.3 in my case) with --fstack-protector-strong or -fstack-protector fails. I've tested wit h 6.2.0-7 and 6.2.0-9. The I've reverted to 6.2.0-6 and it

Bug#841533: gcc-6: versions 6.2.0-[7-9] break construction of linux kernel with -fstack-protector-xxxx

2016-10-21 Thread Jean-Luc Coulon (f5ibh)
Package: gcc-6 Version: 6.2.0-9 Severity: important Hi, Since 6.2.0-7, building the linux kernel (4.8.3 in my case) with --fstack-protector-strong or -fstack-protector fails. I've tested wit h 6.2.0-7 and 6.2.0-9. The I've reverted to 6.2.0-6 and it works fine. -- System Information: