Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750977AbdL3JOV (ORCPT ); Sat, 30 Dec 2017 04:14:21 -0500 Received: from puleglot.ru ([78.47.112.147]:35850 "EHLO puleglot.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750872AbdL3JOS (ORCPT ); Sat, 30 Dec 2017 04:14:18 -0500 Message-ID: <1514625242.2379.4.camel@tsoy.me> Subject: Re: 4.14.9 doesn't boot (regression) From: Alexander Tsoy To: Linus Torvalds , Andy Lutomirski , Dave Hansen Cc: Toralf =?ISO-8859-1?Q?F=F6rster?= , stable , Linux Kernel , the arch/x86 maintainers , Josh Poimboeuf Date: Sat, 30 Dec 2017 12:14:02 +0300 In-Reply-To: References: <33249a35-7d6a-f0f3-5a98-e6474f9366e3@gmx.de> <7A0A9B37-20FF-4B17-B4F5-D8B999269FC4@amacapital.net> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.22.6 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 919 Lines: 30 В Пт, 29/12/2017 в 17:34 -0800, Linus Torvalds пишет: > On Fri, Dec 29, 2017 at 5:00 PM, Linus Torvalds > 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.