Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp8987378ybi; Tue, 23 Jul 2019 19:31:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqyChQkV/ZoLOFDr4IUMWjhrKNYDLpynPghlQqLRkdlleQuWaS1YSfUSIxn/dK5mcIjgyT21 X-Received: by 2002:a17:90a:8c90:: with SMTP id b16mr84509213pjo.133.1563935511721; Tue, 23 Jul 2019 19:31:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563935511; cv=none; d=google.com; s=arc-20160816; b=vSugIYE5nCD1WwpcqKOcaF2QHN59XCrZBqUBQjbnjY68ZAz1/4JvLlZi1zo6C6gOz2 wiQOZSGSOL5UkTXmTYaz62o9tsa08+95LSHD73wuGA6ccov71GW+LfU2bkv96NKXlsCl KqH3mepJvO6XmRxtvMV60Cm9Bgr0CsB9ueDZ8LXJumEIfQdZ7C7sCU3sMtb01L2kBTh4 iEYNKV5qsro0Zj6uATi4bIfNuon6d+pyDPn9z0XlR1Pg1CPDVSQVC/G9ohXLkwibihCt dSy24JaMM0a9r4VlOyfRHbhHI6eq35KLuE0a1Xm/XN8dQsLHHs2rowD9tg4FFaOSDHUC M+SQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=GkrR7KYfNoDcAsYt1Gds+pf2LHdaFmbB4lpahf+T2Jw=; b=iYsFTnk2yXG2JrUrjbf1iv3lUiTugy6/hlS0Hr8YyMyD1tREA/e5ztY8Vu/VjzMJmm Q+PggzHza29eWBBr8rI6R88AF1qJw1T9X6PSexAMNgixS4cdeoW0w+I4KIrrIZv3AMUl o3uGkmv20pEZwpZb3tNMgQpffv9W7af9+riNMm2/ARAySWgg6iKBag8gJj9y+202PPWU uKUSagXttXXkrBiaLLIvs3vySX1DVkkl6YnGotP52QQEHD0PO4Px6q1/iP9LXeVGPYbl GPMJPtBLF0KjrKqNrPSjd+KkAuKgJbLq3XNMNeUGTErM79WiM/RE9zJSrdvAPNOxRcS9 432Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=rRggj3sq; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p17si16479972plq.138.2019.07.23.19.31.36; Tue, 23 Jul 2019 19:31:51 -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=@google.com header.s=20161025 header.b=rRggj3sq; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392071AbfGWV21 (ORCPT + 99 others); Tue, 23 Jul 2019 17:28:27 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:41467 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728967AbfGWV20 (ORCPT ); Tue, 23 Jul 2019 17:28:26 -0400 Received: by mail-pf1-f193.google.com with SMTP id m30so19779765pff.8 for ; Tue, 23 Jul 2019 14:28:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=GkrR7KYfNoDcAsYt1Gds+pf2LHdaFmbB4lpahf+T2Jw=; b=rRggj3sqxFwgCm8YCh/vX3qfGKm5VRHubQNgfCYrbYx+7P5SMvmD64K0V5ZVN6YsDn 2+DzM2o70B26hCVEcR9DrviwigZ6nrSQq1TBWd9R225/QVL6NqFAniAV+25CkUMZP01d u2LnYPnZMnbEZub2w98kUHNolyW7+g0oxX5In2CX2ZK5kWCIqCI8JRTP2zTcCT5bTAsk bK+TlK2evbV8J5jTc+KJw+YdkZfaYkN5SUDIQ5u7+kqW9K7f2LLqvPHa0y35PtzMU/GA Y54teCzp2hGNXhcwth8mh+8FLrvXGukyMpOwlnI8M//Bfey7qLHxVsTqFBImmA1GfSlz v/GQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=GkrR7KYfNoDcAsYt1Gds+pf2LHdaFmbB4lpahf+T2Jw=; b=MZ9H6m+w3FOYnH/Lw7nYX+YpCOmdgKVfhGcopEtTojgoOO26mUMFtdjQv9QDdK3NyU QVDag8SJmcm8pSaWk8e9CuH+GvvutRVxlFz6mSWM95KlRDubsaIZ5XzGtO7k4PtWUIqv FyIK8fQuv0pRzeT9DsNbxmXiJFd8kMKb/L09YI89pr7UrA5ObMDh0WFbH6B8we8mXleT OeraXnCCvANO+s1IwJp7KTntwCTNtMD+kkrxhbjp8AVchrI2uXZclu0zR8YVAWdb2m2g 13kYRVADgj54cpLiLRb0wuzbGDRbwOU+2m6nlmVFgVwaw2aWSz/Ox59/1Z/LmL9p625C wmfQ== X-Gm-Message-State: APjAAAUrtgyW7aNCaJDelrOW930b/+yYyRsBPbqF/D3SQTUki8JptUgO o6no2TifaAlid8y3KXSaf3BD1vfL6KqFAP+m0+hLpw== X-Received: by 2002:a17:90a:bf02:: with SMTP id c2mr84880063pjs.73.1563917305632; Tue, 23 Jul 2019 14:28:25 -0700 (PDT) MIME-Version: 1.0 References: <20190722213250.238685-1-ndesaulniers@google.com> <20190722213250.238685-2-ndesaulniers@google.com> In-Reply-To: From: Nick Desaulniers Date: Tue, 23 Jul 2019 14:28:14 -0700 Message-ID: Subject: Re: [PATCH v2 2/2] x86/purgatory: use CFLAGS_REMOVE rather than reset KBUILD_CFLAGS To: Vaibhav Rustagi Cc: Thomas Gleixner , Ingo Molnar , Borislav Petkov , Peter Zijlstra , clang-built-linux , "H. Peter Anvin" , "maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)" , LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 22, 2019 at 3:59 PM Vaibhav Rustagi wrote: > The changes suggested will cause undefined symbols while loading the new kernel. > On doing 'nm purgatory.ro', I found below undefined symbols: > > U bmcp > U __stack_chk_fail Thanks for the report, a v3: https://lkml.org/lkml/2019/7/23/864 (Tested v3 with defconfig, defconfig+CONFIG_FUNCTION_TRACER, +CONFIG_STACKPROTECTOR_STRONG, and allyesconfig) -- Thanks, ~Nick Desaulniers