Bug#845690: gcc-6: gcc creates unbootable kernel on x86-64

2016-11-26 Thread Sven Joachim
Control: reassign -1 binutils 2.27.51.20161124-1 Control: retitle -1 binutils: creates unbootable kernel on x86-64 Control: severity -1 grave On 2016-11-26 15:13 +0100, Damien Wyart wrote: > After running further tests today, I think this is in fact *not* > related to gcc but to the kernel itself

Bug#845690: gcc-6: gcc creates unbootable kernel on x86-64

2016-11-26 Thread Damien Wyart
After running further tests today, I think this is in fact *not* related to gcc but to the kernel itself. I tested all 6.2.1-X versions as well as gcc-5 (5.4.1-3) and all the kernels fail to boot (balck screen just after grub and nothing in the logs). A few days ago (beginning of this week, I was

Bug#845690: gcc-6: gcc creates unbootable kernel on x86-64

2016-11-26 Thread Damien Wyart
Replying to myself: sorry for the false lead, this is not the same problem. The one from gcc bugtracker is not related to the stable gcc-6 branch used in Debian unstable, so the problem must be somewhere else. The -fno-printf-return-value is not recognized with gcc 6 from Sid. Best regards Damien

Bug#845690: gcc-6: gcc creates unbootable kernel on x86-64

2016-11-25 Thread Damien Wyart
Hi, The problem is discussed here: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78512 In the meantime, a workaround is to add -fno-printf-return-value to CFLAGS. Best regards Damien