Re: gcc-10: kernel stack is corrupted and fails to boot

From: Arnd Bergmann
Date: Wed May 13 2020 - 17:50:10 EST


On Wed, May 13, 2020 at 11:41 PM Borislav Petkov <bp@xxxxxxx> wrote:
>
> On Wed, May 13, 2020 at 11:28:09PM +0200, Arnd Bergmann wrote:
> > I see the patch in linux-next but not in mainline. I suppose we want
> > it in v5.7 and backported to stable kernels so they can boot when
> > built with gcc-10?
>
> It is queued for 5.8. For a good reason, if you read the whole thread
> Arvind pointed you to.
>
> Lemme guess: gcc10 got released in the meantime (hohumm, website says
> so) and so we probably should expedite this and send it to Linus now...?

Right, in particular since Linus started building with gcc-10 already and
would likely soon run into that problem if he hasn't already ;-)

Arnd