Re: sparc gcc 7.1 compile issue

From: David Miller
Date: Sun Jun 04 2017 - 16:22:44 EST


From: Waldemar Brodkorb <wbx@xxxxxxxxxxx>
Date: Sun, 4 Jun 2017 16:40:45 +0200

> Hi Adrian,
> John Paul Adrian Glaubitz wrote,
>
>> On 06/02/2017 07:28 PM, David Miller wrote:
>> >> Isn't a bug in the kernel if an application is able to crash to the point
>> >> that the machine has to be hard-rebooted?
>> >
>> > It can be a bug in the compiler too and not necessarily the kernel's
>> > fault which is what I think is happening in your case.
>>
>> So, in your point of view it's perfectly fine if an application is able
>> to crash the whole kernel with just user privileges?
>>
>> Shouldn't the kernel be able to cope with that?
>
> I think he means your kernel you are running might be miscompiled
> with gcc 7.1.

That's exactly what I am saying.