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 95676C43219 for ; Wed, 20 Oct 2021 08:07:02 +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 6ED1F6103B for ; Wed, 20 Oct 2021 08:07:02 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 6ED1F6103B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=arm.com 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:Date: Message-ID:From:References:Cc:To:Subject:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=/EIZ98o2w5t0iBzemJo/R1QcL/uAenpZvf86faFBmXw=; b=RxKHj3Heuvd0pJx/WiZ81QnE3w Zp+CELv2WbMmiucEGlWa7WMjDKj5YqMBHPjmTMD5OdBvuwavPgFZ+t2u26SqPWmVgN9an66CJPKPP c5/Wz1X3uUJEnuO4KB0cbnx9x5vTRf0YwQXBWQzvpZAhfBsLZgUne1ihETwzCtRd0xvjUQ8NCxoih vQL9QwWTlHloCOh30/XwgVOYmEh3fr47Jbv9aKwhMiSnYhWKpqGHz4vDQn4SFqlgXG2t+Y6ggAYYI Vk1Bo8hkzlbXHWAbxkU/eyhrCqQ4RDVanBL9JXg8JxAolSYjmmX5VAUFeTKtkV9j12yonbHKcVo7H TEmmnKkw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1md6QL-003kUC-5o; Wed, 20 Oct 2021 07:54:09 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1md6QE-003kSV-Ml for linux-arm-kernel@lists.infradead.org; Wed, 20 Oct 2021 07:54:04 +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 218D0ED1; Wed, 20 Oct 2021 00:54:01 -0700 (PDT) Received: from [192.168.1.131] (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 0E64F3F70D; Wed, 20 Oct 2021 00:53:58 -0700 (PDT) Subject: Re: [PATCH v2 3/4] arm64: vdso32: suppress error message for 'make mrproper' To: Nick Desaulniers , Catalin Marinas , Will Deacon Cc: llvm@lists.linux.dev, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Nathan Chancellor , Lucas Henneman , Masahiro Yamada References: <20211019223646.1146945-1-ndesaulniers@google.com> <20211019223646.1146945-4-ndesaulniers@google.com> From: Vincenzo Frascino Message-ID: <145cec53-b20b-bdf2-1209-eb457aa72f44@arm.com> Date: Wed, 20 Oct 2021 09:54:26 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20211019223646.1146945-4-ndesaulniers@google.com> Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211020_005402_833714_222AD290 X-CRM114-Status: GOOD ( 20.92 ) 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 10/20/21 12:36 AM, 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: Vincenzo Frascino > --- > 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 > -- Regards, Vincenzo _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel