Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3299917pxb; Mon, 18 Oct 2021 12:14:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyTDBGA0DQf6b7eJXPOBC/OaTKfpUJpm+1b2W6x+FZOwzir+3+PjEUMzQDW9az44c4AyWEu X-Received: by 2002:a05:6a00:9aa:b0:44d:4390:d940 with SMTP id u42-20020a056a0009aa00b0044d4390d940mr30941145pfg.14.1634584440733; Mon, 18 Oct 2021 12:14:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634584440; cv=none; d=google.com; s=arc-20160816; b=r3zuP3OW643NL+oGZBVgxuP+pzv4IaFSzQcpSubLzYaLrSy4Rrf+ead9XVKy6hDy0M R01ZvpxGkRq3CKTqIcb2AI2jXHO00dFuBC/Ve3YU5l5V82LvHnLGNNJHUU1N3UmJHBZU UHDVqYH0ArJatK8ia42P/mmU1Qs5AUSFyJhWhelxFpoQXtKbqQaGpi6cO0c6a5BVo2Ds gG/kvO3/CEbbwWagFwgOA6d51uLjg/UN2HOh0CHnWxJ9T8Xis51jZ877l3bHRTHS5DYw bVAFOASMM4mc0r53cS86ttO0oxTH0MnMbRGDLGwmmpjIUcLDYWF/ulYKjHFEvESCvBo0 d5Ew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=4pZfTKvgOtPXZNF+efFzhAYJLmUGHndIbhp/Od3HjGM=; b=uYH3rf7OMPXxOaSkCrvdcNK5OOFR+cB0aQ4T0l9u8O3j2lQqNkqRfTXEx6W3VRtzE5 9ckP5vHFHzro0AkON7E7kRv21a1SSz7AXvwyVZQvCDEN+zuktm8UzBGnbeaXXDIWLKS1 C3EJ5FFcMjXo5SKS6k3/eWsHDMFouPGgHJNJvZYT76wZLf9wdL1YcHr2jnJrcNEKj4UW i6D+IvwE9oxWUIFnj6Z69gcTXp7kcd1jtenn508V0irMc98FNRZPBMe/KxXFvK6ddDuf tau1/EQVvrjk2u3LIQBriXwg7u49QQ+jTCyaBY8JH5djqFDEVZtItlBtn6myUhdff9ca HSeg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o3si18088150plg.95.2021.10.18.12.13.47; Mon, 18 Oct 2021 12:14:00 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232990AbhJRTNr convert rfc822-to-8bit (ORCPT + 99 others); Mon, 18 Oct 2021 15:13:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57896 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232813AbhJRTNp (ORCPT ); Mon, 18 Oct 2021 15:13:45 -0400 Received: from Chamillionaire.breakpoint.cc (Chamillionaire.breakpoint.cc [IPv6:2a0a:51c0:0:12e:520::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EDAFCC06161C; Mon, 18 Oct 2021 12:11:33 -0700 (PDT) Received: from bigeasy by Chamillionaire.breakpoint.cc with local (Exim 4.92) (envelope-from ) id 1mcY2E-0000T4-Rv; Mon, 18 Oct 2021 21:10:58 +0200 Date: Mon, 18 Oct 2021 21:10:58 +0200 From: Sebastian Andrzej Siewior To: Arnd Bergmann Cc: Russell King , Arnd Bergmann , Antonio Terceiro , Naresh Kamboju , Matthias Klose , stable@vger.kernel.org, Masahiro Yamada , Nathan Chancellor , Nick Desaulniers , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ARM: drop cc-option fallbacks for architecture selection Message-ID: <20211018191058.3zn5l7ocgh2twy5d@flow> References: <20211018140735.3714254-1-arnd@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8BIT In-Reply-To: <20211018140735.3714254-1-arnd@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021-10-18 16:07:12 [+0200], Arnd Bergmann wrote: … > Passing e.g. -march=armv6k+fp in place of -march=armv6k would avoid this > issue, but the fallback logic is already broken because all supported > compilers (gcc-5 and higher) are much more recent than these options, > and building with -march=armv5t as a fallback no longer works. > > The best way forward that I see is to just remove all the checks, which > also has the nice side-effect of slightly improving the startup time for > 'make'. > … > This should be safe to apply on all stable kernels, and will be required > in order to keep building them with gcc-11 and higher. Yes, please. > Reported-by: Antonio Terceiro > Reported-by: Naresh Kamboju > Reported-by: Sebastian Andrzej Siewior > Link: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=996419 > Cc: Matthias Klose > Cc: stable@vger.kernel.org > Signed-off-by: Arnd Bergmann Reviewed-by: Sebastian Andrzej Siewior Just booted Debian 9/ Stretch which ships gcc version 6.3.0 20170516 (Debian 6.3.0-18) to confirm that it fails to compile with the armv5t fallback. Sebastian