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 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 17EEAC433F5 for ; Wed, 20 Oct 2021 00:52:03 +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 D340B604DB for ; Wed, 20 Oct 2021 00:52:02 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org D340B604DB Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc: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=LwyYs6LzVGMx2rntTKLV43EowMvSyqnbMX6ITBHZQUM=; b=sjwC5q5YWi9xGJ BjARPK9aqSeWIw8qHrueajirLV3Ghfcz3rdLPq+R7Z5fSgJo/t80MLDgTsRQ8zwyoRwjXwD2EmWUQ wrZCfs7m7gRzalBvhlEwhPPVR1S0Ot9kwynNFJCkzKGREE1rn0XqyXBXbbfMIJGuYFXfwpo9uGffI CLZ+sg/V/JwoBrkH9JyPI7w2ykHtrCP6rogYnOFQsIVkpz4ws//bbqH6EeyttSP5F1pWpGXsipNP+ u9/FJweOXKn72hbRwsBsSU5sd5nCLjNhCfCYtfBvjFljMJkiF68PFFJqmDtegOYYE+dj4aWBIZOd5 ni3lQ7IG2DVtiYk5XgIA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mczoB-0035V0-TH; Wed, 20 Oct 2021 00:50:20 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mczo7-0035Uc-VZ for linux-arm-kernel@lists.infradead.org; Wed, 20 Oct 2021 00:50:17 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 401A960F44; Wed, 20 Oct 2021 00:50:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1634691015; bh=cOeWhoeUDvU0/o6OPXU3xhOyMuNbiH62/GnL+jUSlTA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=jX+KFrUb0Q0KEijK4YJyHG0XsyFnXr5tT1K8hXsuXR203vHOOVwNPpM5xTOJsW0AY zDbhZqK8IxnwzzuC4uI/v0kZPGZlGlgKTLlCosHnl8U+VN8IxTw6tQF2D+RmGx/q6I qcThK0l/yq6r/klsqeNRpzLDMYliM4D4JK2GK86wY3kCVv6M9CYAJGGa9wVgHnRXvJ oQyoCDs7BxtKxsW4M4bgX1UPURLg7WXVddWFZP/YGchHYkIyVUjf1aXIQZUmYCZ5lW US3q+VV7lqP1ZmcPyL6ktyXC4pcPvPXrh9hBC7MfqMZ2qYOxi2jzBQH98uvQZqyKH0 R0CzM5BGB4OCQ== Date: Tue, 19 Oct 2021 17:50:09 -0700 From: Nathan Chancellor To: Nick Desaulniers Cc: Catalin Marinas , Will Deacon , llvm@lists.linux.dev, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Vincenzo Frascino , Lucas Henneman , Masahiro Yamada Subject: Re: [PATCH v2 3/4] arm64: vdso32: suppress error message for 'make mrproper' Message-ID: References: <20211019223646.1146945-1-ndesaulniers@google.com> <20211019223646.1146945-4-ndesaulniers@google.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20211019223646.1146945-4-ndesaulniers@google.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211019_175016_065617_C1889F3F X-CRM114-Status: GOOD ( 19.46 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Oct 19, 2021 at 03:36:45PM -0700, Nick Desaulniers wrote: > When running the following command without arm-linux-gnueabi-gcc in > one's $PATH, the following warning is observed: > > $ ARCH=arm64 CROSS_COMPILE_COMPAT=arm-linux-gnueabi- make -j72 LLVM=1 mrproper > make[1]: arm-linux-gnueabi-gcc: No such file or directory > > This is because KCONFIG is not run for mrproper, so CONFIG_CC_IS_CLANG > is not set, and we end up eagerly evaluating various variables that try > to invoke CC_COMPAT. > > This is a similar problem to what was observed in > commit dc960bfeedb0 ("h8300: suppress error messages for 'make clean'") > > Reported-by: Lucas Henneman > Suggested-by: Masahiro Yamada > Signed-off-by: Nick Desaulniers Reviewed-by: Nathan Chancellor Tested-by: Nathan Chancellor > --- > Changes v1 -> v2: > * Change to suppressing via redirecting stderr to /dev/null, as per > Masahiro. > * Add Masahiro's SB tag. > * Cite dc960bfeedb0. > > arch/arm64/kernel/vdso32/Makefile | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/arch/arm64/kernel/vdso32/Makefile b/arch/arm64/kernel/vdso32/Makefile > index 1407516e041e..e478cebb9891 100644 > --- a/arch/arm64/kernel/vdso32/Makefile > +++ b/arch/arm64/kernel/vdso32/Makefile > @@ -38,7 +38,8 @@ cc32-disable-warning = $(call try-run,\ > # As a result we set our own flags here. > > # KBUILD_CPPFLAGS and NOSTDINC_FLAGS from top-level Makefile > -VDSO_CPPFLAGS := -DBUILD_VDSO -D__KERNEL__ -nostdinc -isystem $(shell $(CC_COMPAT) -print-file-name=include) > +VDSO_CPPFLAGS := -DBUILD_VDSO -D__KERNEL__ -nostdinc > +VDSO_CPPFLAGS += -isystem $(shell $(CC_COMPAT) -print-file-name=include 2>/dev/null) > VDSO_CPPFLAGS += $(LINUXINCLUDE) > > # Common C and assembly flags > -- > 2.33.0.1079.g6e70778dc9-goog > > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel