Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751378AbdL3BOF (ORCPT ); Fri, 29 Dec 2017 20:14:05 -0500 Received: from puleglot.ru ([78.47.112.147]:44422 "EHLO puleglot.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751343AbdL3BNt (ORCPT ); Fri, 29 Dec 2017 20:13:49 -0500 Message-ID: <1514596414.28262.22.camel@tsoy.me> Subject: Re: 4.14.9 doesn't boot (regression) From: Alexander Tsoy To: Andy Lutomirski , Linus Torvalds Cc: Toralf =?ISO-8859-1?Q?F=F6rster?= , stable , Linux Kernel , the arch/x86 maintainers , jpoimboe@redhat.com Date: Sat, 30 Dec 2017 04:13:34 +0300 In-Reply-To: <7A0A9B37-20FF-4B17-B4F5-D8B999269FC4@amacapital.net> 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: 789 Lines: 15 В Пт, 29/12/2017 в 17:10 -0700, Andy Lutomirski пишет: > > Also, you wouldn't happen to be using Gentoo perchance?  I already > have two reports of a Gentoo system miscompiling the vDSO due to > Gentoo enabling -fstack-check and GCC generating stack check code > that is highly suboptimal, actively incorrect, and doesn't even > manage to check the stack in a particularly helpful way. > > If this is indeed what's going on, I'm going to try to come up with a > patch to outright fail the build on these buggy systems.  We could > probably fudge the build options to avoid the problem, but Gentoo > really just needs fix its toolchain. You are right, It's due to fstack-check enabled in gentoo's gcc spec. "-fstack-check=no" in KBUILD_CFLAGS fixed this problem for me. =/