Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp3856316ybh; Tue, 17 Mar 2020 07:50:59 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtL5yfdsfsBjfII1267h32K7cvmEIqrgDImj4eJ3yX5lo69FkDMwp8pwYMtPmRN0sgxdGYf X-Received: by 2002:aca:3089:: with SMTP id w131mr697276oiw.121.1584456658970; Tue, 17 Mar 2020 07:50:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584456658; cv=none; d=google.com; s=arc-20160816; b=Vu8PMVi8Fj9iGYVFIK2Y1FCIaer117DzY9P+3xfnXWYOY4+9dVays8W8pVBIQH1FHi yZ6paTeDFQ3voKG+wMcwHyRPcaNdyFwCORJuYKOZIeqMwirFbAXEK0ASvjWYDlOkaMIs xGMV9mNV+NdI9swQVcychkC/AoFI3Tg5jVgA3I6+tuvcYOL25HxG4C0YSK3b5msoQFsL TDmXGG662WIcRnjvXdmYMrh5p9UkSyajvUShUKDa/kAUFn9wzcJGOP813YbFjuHIOS4a KeLY8YKTHMQcpLeuOjH6Llz3OZoSNfVN6KSpM1JvK6AqroikXrKdN+PzRcjN7gHYQRbR 5abw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=tkKlfKN8wNeUINPgpvJm8j9GVsp+dcrzB7iyyg4e4UQ=; b=efU3ukekvzmVXNohZqjNt155ElGeCetW3ereZwbCG7LF7ubFls6xF3rQcZYhT3fNIq VVWex8D1y7rip7McA8cCe+Ve7JYAvw6igSgxofC9tIhYPPId8gwGcBTTg4GPzsSZh1Nw q8GHuS9DXRlWXTxtY1THBp0t2H1770I/yw4jEqcuwyOdIfJsx+EBkLOqy5mHbQFCm3HX /p4KjHWleOO3LNLT+IUJT/WQoaj9TWluXp2AmddFgJgKxpmY9W3nIpEF6zhNOGhtyLli 5ghesErjfJSbH6mvcbG+R8HRZRfDn45BguTHg9LW56kQAY0uJUYlwVWRjegLDMXuyIK6 tweA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=oA4YhiHK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i19si632241otp.177.2020.03.17.07.50.45; Tue, 17 Mar 2020 07:50:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=oA4YhiHK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726607AbgCQOtl (ORCPT + 99 others); Tue, 17 Mar 2020 10:49:41 -0400 Received: from mail.skyhub.de ([5.9.137.197]:36778 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726189AbgCQOtl (ORCPT ); Tue, 17 Mar 2020 10:49:41 -0400 Received: from zn.tnic (p200300EC2F0C9600080652A9D2B77226.dip0.t-ipconnect.de [IPv6:2003:ec:2f0c:9600:806:52a9:d2b7:7226]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id E0FE11EC023E; Tue, 17 Mar 2020 15:49:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1584456580; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=tkKlfKN8wNeUINPgpvJm8j9GVsp+dcrzB7iyyg4e4UQ=; b=oA4YhiHKxAgrqVpJ7c9C5AIF3sfB7GX289kjBJjxoDxnM1DE3/ScEUnq8kOJ1oUC930rvz 48zTxN9XoZBvcES4G9LJHAC9VJfV/q59EbQ2dKuhwzaEO0QiTsVnVQBbJTRkGfx3YXg05o 34fla+jAy//k77iK088FoCTuYVkTbO8= Date: Tue, 17 Mar 2020 15:49:42 +0100 From: Borislav Petkov To: Jakub Jelinek Cc: Peter Zijlstra , Sergei Trofimovich , linux-kernel@vger.kernel.org, Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Andy Lutomirski , x86@kernel.org, Michael Matz Subject: Re: [PATCH] x86: fix early boot crash on gcc-10 Message-ID: <20200317144942.GE15609@zn.tnic> References: <20200314164451.346497-1-slyfox@gentoo.org> <20200316130414.GC12561@hirez.programming.kicks-ass.net> <20200316132648.GM2156@tucnak> <20200316134234.GE12561@hirez.programming.kicks-ass.net> <20200316175450.GO26126@zn.tnic> <20200316180303.GR2156@tucnak> <20200317143602.GC15609@zn.tnic> <20200317143914.GI2156@tucnak> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200317143914.GI2156@tucnak> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 17, 2020 at 03:39:14PM +0100, Jakub Jelinek wrote: > That is because the option is called -fno-stack-protector, so one needs to > use __attribute__((optimize("no-stack-protector"))) Ha, that works even! :-) And my guest boots. I guess we can do that then. Looks like the optimal solution to me. Also, I'm assuming older gccs will simply ignore unknown optimize options? Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette