From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B98E5C4360C for ; Thu, 26 Sep 2019 15:17:21 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7FEDC21D56 for ; Thu, 26 Sep 2019 15:17:21 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="OGe/PX+5" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7FEDC21D56 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=hnf8U5yCue8X+QsI02RAsf299L0nRChJMw/hQMYAqSg=; b=OGe/PX+5nxQpGm jCZfWBF4qhETPB+qQsGNf66/n7v5PwlckT9poprJ8HNiALOUO6PTfK1emo+yfYZuOZbqhxUzPefrF zfKbE2cAryzFTm3fkI3lEmvw2uqf7mChs+5uXVutxGWOjY+g/+Sb9hPDxZL356BPEPuulvismBEkv 0DGUDfIkQ4bIce/h1my5vWZw2Req2lI8SulFm0MZf+R/nudxuXf+5zhX0l/ouSEbsN2JZZQmo8zao AA2qPHF49d8ED+KLOgsQG2bZw5JY8iL3rY9ZA8Q+TsjRCH0lLYoOt8MhOVTZqaHrZn9TwY+ufFgIu dAzC5GF5bpI8ynLTiSyg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux)) id 1iDVW3-0001YF-Un; Thu, 26 Sep 2019 15:17:11 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux)) id 1iDVW0-0001XR-DJ for linux-arm-kernel@lists.infradead.org; Thu, 26 Sep 2019 15:17:09 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id C50B315A2; Thu, 26 Sep 2019 08:17:07 -0700 (PDT) Received: from arrakis.emea.arm.com (arrakis.cambridge.arm.com [10.1.196.78]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id C1FC53F534; Thu, 26 Sep 2019 08:17:06 -0700 (PDT) Date: Thu, 26 Sep 2019 16:17:04 +0100 From: Catalin Marinas To: Vincenzo Frascino Subject: Re: [PATCH 1/4] arm64: vdso32: Introduce COMPAT_CC_IS_GCC Message-ID: <20190926151704.GH9689@arrakis.emea.arm.com> References: <20190920142738.qlsjwguc6bpnez63@willie-the-truck> <20190926060353.54894-1-vincenzo.frascino@arm.com> <20190926060353.54894-2-vincenzo.frascino@arm.com> <20190926080616.GB26802@iMac.local> <0ff3d5f4-11c9-4207-c6ab-2f8e9ee7de5e@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190926_081708_495277_FA16DC43 X-CRM114-Status: GOOD ( 12.01 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: ard.biesheuvel@linaro.org, ndesaulniers@google.com, linux-kernel@vger.kernel.org, tglx@linutronix.de, will@kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Sep 26, 2019 at 01:22:01PM +0100, Vincenzo Frascino wrote: > On 9/26/19 11:56 AM, Vincenzo Frascino wrote: > > On 9/26/19 9:06 AM, Catalin Marinas wrote: > >> Now, could we not generate a COMPATCC in the Makefile and use > >> $(COMPATCC) here instead of $(CROSS_COMPILE_COMPAT)gcc? It really > >> doesn't make sense to check that gcc is gcc. > >> > > > > All right, COMPATCC is already in the makefile, I will use it in here. > > What you are proposing seems not possible because Kconfig runs first and then > the arch Makefile, hence compatcc does not take effect on the Kconfig. I will > post v2 with what I proposed, please feel free to comment if you have a better idea. I think it works as long as you export COMPATCC from the arch/arm64/Makefile. The arch Makefile is used in the config step AFAICT. See the diff I posted in my reply to your v2. -- Catalin _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel