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 C94E1C433B4 for ; Sun, 2 May 2021 18:49:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9741761362 for ; Sun, 2 May 2021 18:49:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231801AbhEBSui (ORCPT ); Sun, 2 May 2021 14:50:38 -0400 Received: from gate.crashing.org ([63.228.1.57]:45049 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230036AbhEBSui (ORCPT ); Sun, 2 May 2021 14:50:38 -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 142IbL6B028576; Sun, 2 May 2021 13:37:21 -0500 Received: (from segher@localhost) by gate.crashing.org (8.14.1/8.14.1/Submit) id 142IbKUo028575; Sun, 2 May 2021 13:37:20 -0500 X-Authentication-Warning: gate.crashing.org: segher set sender to segher@kernel.crashing.org using -f Date: Sun, 2 May 2021 13:37:19 -0500 From: Segher Boessenkool To: Masahiro Yamada Cc: linux-kernel@vger.kernel.org, Linus Torvalds , Albert Ou , Arnd Bergmann , linux-kbuild@vger.kernel.org, Greg Kroah-Hartman , Jonathan Corbet , linux-doc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Palmer Dabbelt , Paul Walmsley , Catalin Marinas , Miguel Ojeda , Paul Mackerras , linux-riscv@lists.infradead.org, Will Deacon , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] Raise the minimum GCC version to 5.2 Message-ID: <20210502183719.GG10366@gate.crashing.org> References: <20210501151538.145449-1-masahiroy@kernel.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210501151538.145449-1-masahiroy@kernel.org> User-Agent: Mutt/1.4.2.3i Precedence: bulk List-ID: X-Mailing-List: linux-doc@vger.kernel.org On Sun, May 02, 2021 at 12:15:38AM +0900, Masahiro Yamada wrote: > The current minimum GCC version is 4.9 except ARCH=arm64 requiring > GCC 5.1. > > When we discussed last time, we agreed to raise the minimum GCC version > to 5.1 globally. [1] > > I'd like to propose GCC 5.2 to clean up arch/powerpc/Kconfig as well. Both of these are GCC version 5. GCC 5.1 is the first release of that, GCC 5.2 the second, etc. Everyone should always use an as new release as practical, since many bugs will be fixed, and nothing else changed. See . So, this means everyone using GCC 5 should be using the GCC 5.5 release! If there is something about 5.1 that makes it produce bad kernels on some arch, make that arch's Makefile complain? Same with binutils etc. Segher