Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #55865 > unrolled thread

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

Started byMatthias Klose <doko@debian.org>
First post2016-11-27 13:50 +0100
Last post2016-11-28 17:40 +0100
Articles 6 — 2 participants

Back to article view | Back to linux.debian.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Bug#845690: gcc-6: gcc creates unbootable kernel on x86-64 Matthias Klose <doko@debian.org> - 2016-11-27 13:50 +0100
    Re: Bug#845690: gcc-6: gcc creates unbootable kernel on x86-64 Sven Joachim <svenjoac@gmx.de> - 2016-11-27 17:00 +0100
      Re: Bug#845690: gcc-6: gcc creates unbootable kernel on x86-64 Matthias Klose <doko@debian.org> - 2016-11-27 18:40 +0100
        Re: Bug#845690: gcc-6: gcc creates unbootable kernel on x86-64 Sven Joachim <svenjoac@gmx.de> - 2016-11-27 19:30 +0100
          Re: Bug#845690: gcc-6: gcc creates unbootable kernel on x86-64 Matthias Klose <doko@debian.org> - 2016-11-28 15:00 +0100
            Re: Bug#845690: gcc-6: gcc creates unbootable kernel on x86-64 Sven Joachim <svenjoac@gmx.de> - 2016-11-28 17:40 +0100

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

FromMatthias Klose <doko@debian.org>
Date2016-11-27 13:50 +0100
SubjectRe: Bug#845690: gcc-6: gcc creates unbootable kernel on x86-64
Message-ID<sI745-4lb-1@gated-at.bofh.it>
Control: tags -1 + help moreinfo
Control: severity -1 important

On 27.11.2016 08:38, Sven Joachim wrote:
> 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.
>>
>> 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).
> 
> Same here, downgrading binutils to 2.27.51.20161118-2 helped.  I'm
> reassigning the bug and bumping the severity, since several people have
> observed the problem.

The original report talks about a 4.4 problem on , which afaik is superseded in
unstable by newever versions released after the GCC 6 release.  This is now made
a binutils RC issue for building a kernel which is not in the archive anymore.
Please could you validate that the issue exists with the linux package in
unstable as well?

[toc] | [next] | [standalone]


#55867

FromSven Joachim <svenjoac@gmx.de>
Date2016-11-27 17:00 +0100
Message-ID<sIa1X-69V-1@gated-at.bofh.it>
In reply to#55865
On 2016-11-27 13:39 +0100, Matthias Klose wrote:

> Control: tags -1 + help moreinfo
> Control: severity -1 important
>
> On 27.11.2016 08:38, Sven Joachim wrote:
>> 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.
>>>
>>> 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).
>> 
>> Same here, downgrading binutils to 2.27.51.20161118-2 helped.  I'm
>> reassigning the bug and bumping the severity, since several people have
>> observed the problem.
>
> The original report talks about a 4.4 problem on , which afaik is superseded in
> unstable by newever versions released after the GCC 6 release.  This is now made
> a binutils RC issue for building a kernel which is not in the archive anymore.
> Please could you validate that the issue exists with the linux package in
> unstable as well?

I have noticed the problem with vanilla Linux 4.8.11 from kernel.org, so
I suspect the Debian kernel is affected as well.  There is no console
output at all, the system freezes right when uncompressing the kernel.

It should be noted that I haven't noticed the problem on my desktop
(which has a 32-bit userland but a 64-bit kernel) where I have
CONFIG_KERNEL_GZIP=y, but on my laptop which uses the default
CONFIG_KERNEL_XZ=y it is reproducible.

Cheers,
       Sven

[toc] | [prev] | [next] | [standalone]


#55868

FromMatthias Klose <doko@debian.org>
Date2016-11-27 18:40 +0100
Message-ID<sIbAJ-7o0-9@gated-at.bofh.it>
In reply to#55867
On 27.11.2016 16:51, Sven Joachim wrote:
> On 2016-11-27 13:39 +0100, Matthias Klose wrote:
> 
>> Control: tags -1 + help moreinfo
>> Control: severity -1 important
>>
>> On 27.11.2016 08:38, Sven Joachim wrote:
>>> 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.
>>>>
>>>> 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).
>>>
>>> Same here, downgrading binutils to 2.27.51.20161118-2 helped.  I'm
>>> reassigning the bug and bumping the severity, since several people have
>>> observed the problem.
>>
>> The original report talks about a 4.4 problem on , which afaik is superseded in
>> unstable by newever versions released after the GCC 6 release.  This is now made
>> a binutils RC issue for building a kernel which is not in the archive anymore.
>> Please could you validate that the issue exists with the linux package in
>> unstable as well?
> 
> I have noticed the problem with vanilla Linux 4.8.11 from kernel.org, so
> I suspect the Debian kernel is affected as well.  There is no console
> output at all, the system freezes right when uncompressing the kernel.
> 
> It should be noted that I haven't noticed the problem on my desktop
> (which has a 32-bit userland but a 64-bit kernel) where I have
> CONFIG_KERNEL_GZIP=y, but on my laptop which uses the default
> CONFIG_KERNEL_XZ=y it is reproducible.

if it's really binutils, I prepared a package reverting the fix for PR ld/20815.
Would be nice if somebody could check that out:
https://people.debian.org/~doko/tmp/binutils_2.27.51.20161124-1.1_amd64.deb

[toc] | [prev] | [next] | [standalone]


#55869

FromSven Joachim <svenjoac@gmx.de>
Date2016-11-27 19:30 +0100
Message-ID<sIcn7-80O-11@gated-at.bofh.it>
In reply to#55868
On 2016-11-27 18:34 +0100, Matthias Klose wrote:

> On 27.11.2016 16:51, Sven Joachim wrote:
>> On 2016-11-27 13:39 +0100, Matthias Klose wrote:
>> 
>>> Control: tags -1 + help moreinfo
>>> Control: severity -1 important
>>>
>>> On 27.11.2016 08:38, Sven Joachim wrote:
>>>> 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.
>>>>>
>>>>> 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).
>>>>
>>>> Same here, downgrading binutils to 2.27.51.20161118-2 helped.  I'm
>>>> reassigning the bug and bumping the severity, since several people have
>>>> observed the problem.
>>>
>>> The original report talks about a 4.4 problem on , which afaik is superseded in
>>> unstable by newever versions released after the GCC 6 release.  This is now made
>>> a binutils RC issue for building a kernel which is not in the archive anymore.
>>> Please could you validate that the issue exists with the linux package in
>>> unstable as well?
>> 
>> I have noticed the problem with vanilla Linux 4.8.11 from kernel.org, so
>> I suspect the Debian kernel is affected as well.  There is no console
>> output at all, the system freezes right when uncompressing the kernel.
>> 
>> It should be noted that I haven't noticed the problem on my desktop
>> (which has a 32-bit userland but a 64-bit kernel) where I have
>> CONFIG_KERNEL_GZIP=y, but on my laptop which uses the default
>> CONFIG_KERNEL_XZ=y it is reproducible.
>
> if it's really binutils, I prepared a package reverting the fix for PR ld/20815.
> Would be nice if somebody could check that out:
> https://people.debian.org/~doko/tmp/binutils_2.27.51.20161124-1.1_amd64.deb

Thanks, that binutils package produces a working kernel here.

Cheers,
       Sven

[toc] | [prev] | [next] | [standalone]


#55875

FromMatthias Klose <doko@debian.org>
Date2016-11-28 15:00 +0100
Message-ID<sIuDp-2Mu-39@gated-at.bofh.it>
In reply to#55869
On 27.11.2016 19:27, Sven Joachim wrote:
> On 2016-11-27 18:34 +0100, Matthias Klose wrote:
> 
>> On 27.11.2016 16:51, Sven Joachim wrote:
>>> On 2016-11-27 13:39 +0100, Matthias Klose wrote:
>>>
>>>> Control: tags -1 + help moreinfo
>>>> Control: severity -1 important
>>>>
>>>> On 27.11.2016 08:38, Sven Joachim wrote:
>>>>> 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.
>>>>>>
>>>>>> 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).
>>>>>
>>>>> Same here, downgrading binutils to 2.27.51.20161118-2 helped.  I'm
>>>>> reassigning the bug and bumping the severity, since several people have
>>>>> observed the problem.
>>>>
>>>> The original report talks about a 4.4 problem on , which afaik is superseded in
>>>> unstable by newever versions released after the GCC 6 release.  This is now made
>>>> a binutils RC issue for building a kernel which is not in the archive anymore.
>>>> Please could you validate that the issue exists with the linux package in
>>>> unstable as well?
>>>
>>> I have noticed the problem with vanilla Linux 4.8.11 from kernel.org, so
>>> I suspect the Debian kernel is affected as well.  There is no console
>>> output at all, the system freezes right when uncompressing the kernel.
>>>
>>> It should be noted that I haven't noticed the problem on my desktop
>>> (which has a 32-bit userland but a 64-bit kernel) where I have
>>> CONFIG_KERNEL_GZIP=y, but on my laptop which uses the default
>>> CONFIG_KERNEL_XZ=y it is reproducible.
>>
>> if it's really binutils, I prepared a package reverting the fix for PR ld/20815.
>> Would be nice if somebody could check that out:
>> https://people.debian.org/~doko/tmp/binutils_2.27.51.20161124-1.1_amd64.deb
> 
> Thanks, that binutils package produces a working kernel here.

please could you check again with
https://people.debian.org/~doko/tmp/binutils_2.27.51.20161127-1.1_amd64.deb
having the suggested fix proposed at
https://sourceware.org/ml/binutils/2016-11/msg00348.html

[toc] | [prev] | [next] | [standalone]


#55876

FromSven Joachim <svenjoac@gmx.de>
Date2016-11-28 17:40 +0100
Message-ID<sIx8d-4rl-5@gated-at.bofh.it>
In reply to#55875
On 2016-11-28 14:50 +0100, Matthias Klose wrote:

> please could you check again with
> https://people.debian.org/~doko/tmp/binutils_2.27.51.20161127-1.1_amd64.deb
> having the suggested fix proposed at
> https://sourceware.org/ml/binutils/2016-11/msg00348.html

Works for me, thanks. :-)

Cheers,
       Sven

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web