From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0013D72 for ; Tue, 28 Sep 2021 15:42:00 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 227646124B; Tue, 28 Sep 2021 15:41:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1632843720; bh=PBKDwsYSta8SiZylGzSgzt3FGPPrz1SUUHK/m3YlIcY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VlJxI+WirTf95k6HHPje/lbDdWzUmbhRWMY24e1RsE4qs9PbqBw4wfhITGQDEBYTa EPVsDaJdx3VmsH4eCqJf714Dg8y/W4r6HgDdmrfFeTG9JURTAYbneoNAkSGtg0g8aU TDiAVxUG7nJ1HjJj/E+cKJbmb2TOKhRsFYR/sn6DXJzf54WpBQ65sd3AzNX9NV95mq LInC7GjAao9B1j6d7v3U7kqRf3jyzh41Nrt2QSpN0yyH8X+BypuVQcz1zgKhHi8YyH 63YfQEZSz/djmJKw1HUtsPdwXqf2UM6/YQh62F5Z6QapSlnoh5LRFUP5IwoEiTSj/I Hy7bamlGPKwYw== From: Arnd Bergmann To: Russell King Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Arnd Bergmann , Ard Biesheuvel , Linus Walleij , Nathan Chancellor , Nick Desaulniers , llvm@lists.linux.dev Subject: [PATCH 01/14] ARM: RiscPC needs older gcc version Date: Tue, 28 Sep 2021 17:41:30 +0200 Message-Id: <20210928154143.2106903-2-arnd@kernel.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210928154143.2106903-1-arnd@kernel.org> References: <20210928154143.2106903-1-arnd@kernel.org> Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Arnd Bergmann Attempting to build mach-rpc with gcc-9 or higher, or with any version of clang results in a build failure, like: arm-linux-gnueabi-gcc-11.1.0: error: unrecognized -march target: armv3m arm-linux-gnueabi-gcc-11.1.0: note: valid arguments are: armv4 armv4t armv5t armv5te armv5tej armv6 armv6j armv6k armv6z armv6kz armv6zk armv6t2 armv6-m armv6s-m armv7 armv7-a armv7ve armv7-r armv7-m armv7e-m armv8-a armv8.1-a armv8.2-a armv8.3-a armv8.4-a armv8.5-a armv8.6-a armv8-m.base armv8-m.main armv8-r armv8.1-m.main iwmmxt iwmmxt2; did you mean 'armv4'? Handle this in Kconfig so we don't run into this with randconfig builds. Signed-off-by: Arnd Bergmann --- arch/arm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index fc196421b2ce..12a0bd4b315d 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -431,7 +431,7 @@ config ARCH_PXA config ARCH_RPC bool "RiscPC" - depends on MMU + depends on !CC_IS_CLANG || GCC_VERSION < 90100 select ARCH_ACORN select ARCH_MAY_HAVE_PC_FDC select ARCH_SPARSEMEM_ENABLE -- 2.29.2 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 9112DC433EF for ; Tue, 28 Sep 2021 15:44:50 +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 5A751611BD for ; Tue, 28 Sep 2021 15:44:50 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 5A751611BD 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:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=kVPXH5U0gdWi9AKr09ORPsdSBGqEAESSTlkARuHsdx8=; b=FEzItS2aclWrat BaMItDhEmBmIuG72hhFKxs9/tVQORp/ShoDruASuBN7uUTfpLT913NWNtmNQDucc0zknhBW1sRW3X TRU5GNFD6aeecA4wgE57NCSExO08ceSA3TG+VaSfJ1/0syyleUl7HWT2OuNQLMEQqnciXwcR7jkno zbeQQ5UZ2wVX8QfnvD7sJMzLXldOecUjX2d3Hl/nyIt7tzQDV8WOK6546ZKePwp7+IJUlMRBRThLh nxW8FT8PUWVvqN+9Ieptz2ocB0/DpoqPpLNaFmzWxtMn3kyy5DCvQNmsK71IBJby6dI8rGdOTKvbm bktQdHF52rbAHiFge0cQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mVFFI-007o9b-2W; Tue, 28 Sep 2021 15:42:16 +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 1mVFF3-007o46-2R for linux-arm-kernel@lists.infradead.org; Tue, 28 Sep 2021 15:42:02 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 227646124B; Tue, 28 Sep 2021 15:41:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1632843720; bh=PBKDwsYSta8SiZylGzSgzt3FGPPrz1SUUHK/m3YlIcY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VlJxI+WirTf95k6HHPje/lbDdWzUmbhRWMY24e1RsE4qs9PbqBw4wfhITGQDEBYTa EPVsDaJdx3VmsH4eCqJf714Dg8y/W4r6HgDdmrfFeTG9JURTAYbneoNAkSGtg0g8aU TDiAVxUG7nJ1HjJj/E+cKJbmb2TOKhRsFYR/sn6DXJzf54WpBQ65sd3AzNX9NV95mq LInC7GjAao9B1j6d7v3U7kqRf3jyzh41Nrt2QSpN0yyH8X+BypuVQcz1zgKhHi8YyH 63YfQEZSz/djmJKw1HUtsPdwXqf2UM6/YQh62F5Z6QapSlnoh5LRFUP5IwoEiTSj/I Hy7bamlGPKwYw== From: Arnd Bergmann To: Russell King Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Arnd Bergmann , Ard Biesheuvel , Linus Walleij , Nathan Chancellor , Nick Desaulniers , llvm@lists.linux.dev Subject: [PATCH 01/14] ARM: RiscPC needs older gcc version Date: Tue, 28 Sep 2021 17:41:30 +0200 Message-Id: <20210928154143.2106903-2-arnd@kernel.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210928154143.2106903-1-arnd@kernel.org> References: <20210928154143.2106903-1-arnd@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210928_084201_153982_A2D3B502 X-CRM114-Status: GOOD ( 12.69 ) 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 From: Arnd Bergmann Attempting to build mach-rpc with gcc-9 or higher, or with any version of clang results in a build failure, like: arm-linux-gnueabi-gcc-11.1.0: error: unrecognized -march target: armv3m arm-linux-gnueabi-gcc-11.1.0: note: valid arguments are: armv4 armv4t armv5t armv5te armv5tej armv6 armv6j armv6k armv6z armv6kz armv6zk armv6t2 armv6-m armv6s-m armv7 armv7-a armv7ve armv7-r armv7-m armv7e-m armv8-a armv8.1-a armv8.2-a armv8.3-a armv8.4-a armv8.5-a armv8.6-a armv8-m.base armv8-m.main armv8-r armv8.1-m.main iwmmxt iwmmxt2; did you mean 'armv4'? Handle this in Kconfig so we don't run into this with randconfig builds. Signed-off-by: Arnd Bergmann --- arch/arm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index fc196421b2ce..12a0bd4b315d 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -431,7 +431,7 @@ config ARCH_PXA config ARCH_RPC bool "RiscPC" - depends on MMU + depends on !CC_IS_CLANG || GCC_VERSION < 90100 select ARCH_ACORN select ARCH_MAY_HAVE_PC_FDC select ARCH_SPARSEMEM_ENABLE -- 2.29.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel