Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp5007871pxb; Tue, 28 Sep 2021 08:43:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyN/CzBKZm4MIbX2MBHLBSMguxu/Nif4iUQItXkX93yeJJrmZLFQdhtmn1l2QdFDk0AZO8j X-Received: by 2002:a65:6643:: with SMTP id z3mr5273265pgv.16.1632843795724; Tue, 28 Sep 2021 08:43:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632843795; cv=none; d=google.com; s=arc-20160816; b=igcU6kv+iwZaAA2g1M9PgQBDhLZQTpe4qIUKXV4sB9LnI8w+Pcd5R3Z4LOIrV83Q0T JHTivklzjCp3m5+RkO4DRQv8umjwtwROT2C7wR6ECkUAWc0NWzJG6qh7UtSHBHPgXMzy pAw7m//Z0S4siqfgZ4pUyQm2nfFlCkOZ0ms9gZsgHSmmY8m94CyzJ9NN2urBIjqYkZdY JxZpkWcImO12noH7jjJvREinKPVSlpVzzwTGjXYQZy62KH7rLwDhxqAVnlEQN5GsG/uC pZ21wWdTBAyeQsSpm7T26jGSbWY0UvkH2bHfExd/fzdcOIyosxTYNKo+Y0gvyI4RA0oO Piag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=2ZUtKOkKjrScqVXRKbJW7f39eADkvbn7u4Ov9eUV4YQ=; b=SXuEuRYBlBWldBU4hIwbDdQO7Xvhm9QgXhil+rrMyu8yL5XgvqyxBn9DSBgB3enT1t 0c5V4mtj5qoggfjgLddsHiCKPYhaUwZ9fjJ1jNpJvsU9Ji7Tc0SvCZ6hOlx1fHX/hE3U WuqfGOqGhwL5FzQpmTiEkj6YQoNMRpI/W0FfRhepnDi1h2lBdMTjEvVwr5gr+gkO/yc6 438QN6tItVKkYf4YYXpdURjHR590CIScxvzkUQelmDXEnZpHz2B6i2/NuxuxpgWrAaXI 00imPZohOd9AIGNXH+hjxsSRV3psmlEtlrdfYHWieMb0bU/G2Htt/chm6FCh50ymNrtE +B3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VlJxI+Wi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d21si21676572pgv.271.2021.09.28.08.43.01; Tue, 28 Sep 2021 08:43:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VlJxI+Wi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241715AbhI1Pnl (ORCPT + 99 others); Tue, 28 Sep 2021 11:43:41 -0400 Received: from mail.kernel.org ([198.145.29.99]:60302 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241711AbhI1Pnk (ORCPT ); Tue, 28 Sep 2021 11:43:40 -0400 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 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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