[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1514625242.2379.4.camel@tsoy.me>
Date: Sat, 30 Dec 2017 12:14:02 +0300
From: Alexander Tsoy <alexander@...y.me>
To: Linus Torvalds <torvalds@...ux-foundation.org>,
Andy Lutomirski <luto@...capital.net>,
Dave Hansen <dave.hansen@...el.com>
Cc: Toralf Förster <toralf.foerster@....de>,
stable <stable@...r.kernel.org>,
Linux Kernel <linux-kernel@...r.kernel.org>,
the arch/x86 maintainers <x86@...nel.org>,
Josh Poimboeuf <jpoimboe@...hat.com>
Subject: Re: 4.14.9 doesn't boot (regression)
В Пт, 29/12/2017 в 17:34 -0800, Linus Torvalds пишет:
> On Fri, Dec 29, 2017 at 5:00 PM, Linus Torvalds
> <torvalds@...ux-foundation.org> wrote:
> >
> > Good. I was not feeling so happy about this bug report, but now I
> > can
> > firmly just blame the gentoo compiler for having some shit-for-
> > brains
> > "feature".
>
> Looks like I can generate similar bad code with the F26 version of
> gcc, it's just not enabled by default.
>
> So all gentoo did was change the default options.
Yes, and only in hardened profile, so most users don't have -fstack-
check by default. :)
>
> I suspect we should just add a
>
> KBUILD_CFLAGS += $(call cc-option,-fno-stack-check,)
>
> somewhere to the main Makefile, just to make sure.
>
> Maybe like the appended?
>
> Toralf, Alexander, does this make things JustWork(tm) for you?
I can confirm that with your patch my gcc produces working kernel.
Powered by blists - more mailing lists