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 X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 23CD0C433ED for ; Sun, 2 May 2021 20:46:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EEDB96117A for ; Sun, 2 May 2021 20:46:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232514AbhEBUr3 (ORCPT ); Sun, 2 May 2021 16:47:29 -0400 Received: from gate.crashing.org ([63.228.1.57]:49169 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232338AbhEBUr1 (ORCPT ); Sun, 2 May 2021 16:47:27 -0400 Received: from gate.crashing.org (localhost.localdomain [127.0.0.1]) by gate.crashing.org (8.14.1/8.14.1) with ESMTP id 142KWu7A032481; Sun, 2 May 2021 15:32:56 -0500 Received: (from segher@localhost) by gate.crashing.org (8.14.1/8.14.1/Submit) id 142KWrfq032479; Sun, 2 May 2021 15:32:53 -0500 X-Authentication-Warning: gate.crashing.org: segher set sender to segher@kernel.crashing.org using -f Date: Sun, 2 May 2021 15:32:53 -0500 From: Segher Boessenkool To: Joe Perches Cc: Miguel Ojeda , Masahiro Yamada , Albert Ou , Arnd Bergmann , Linux Kbuild mailing list , Greg Kroah-Hartman , Jonathan Corbet , Linux Doc Mailing List , linux-kernel , Linus Torvalds , Palmer Dabbelt , Paul Walmsley , Catalin Marinas , Miguel Ojeda , Paul Mackerras , linux-riscv@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, Will Deacon , Linux ARM Subject: Re: [PATCH] Raise the minimum GCC version to 5.2 Message-ID: <20210502203253.GH10366@gate.crashing.org> References: <20210501151538.145449-1-masahiroy@kernel.org> <3943bc020f6227c8801907317fc113aa13ad4bad.camel@perches.com> <20210502183030.GF10366@gate.crashing.org> <81a926a3bdb70debe3ae2b13655ea8d249fb9991.camel@perches.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <81a926a3bdb70debe3ae2b13655ea8d249fb9991.camel@perches.com> User-Agent: Mutt/1.4.2.3i Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, May 02, 2021 at 01:00:28PM -0700, Joe Perches wrote: > On Sun, 2021-05-02 at 13:30 -0500, Segher Boessenkool wrote: > > On Sat, May 01, 2021 at 07:41:53PM -0700, Joe Perches wrote: > > > Why not raise the minimum gcc compiler version even higher? > > On Sun, 2021-05-02 at 13:37 -0500, Segher Boessenkool wrote: > > Everyone should always use an as new release as practical > > [] > > > The latest GCC 5 release is only three and a half years old. > > You argue slightly against yourself here. I don't? > Yes, it's mostly a question of practicality vs latest. > > clang requires a _very_ recent version. > gcc _could_ require a later version. > Perhaps 8 might be best as that has a __diag warning control mechanism. I have no idea what you mean? > gcc 8.1 is now 3 years old today. And there will be a new GCC 8 release very soon now! The point is, you inconvenience users if you require a compiler version they do not already have. Five years might be fine, but three years is not. Segher