Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1781216pxb; Fri, 26 Feb 2021 23:19:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJw1klNH5L3ALsWxWP+3SN9LoRNYBDLjoY5N1Zf5CtiLsee2zEYjnFuKz4Vlu/8mHFNlZdbT X-Received: by 2002:a17:906:2652:: with SMTP id i18mr6960378ejc.213.1614410383601; Fri, 26 Feb 2021 23:19:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614410383; cv=none; d=google.com; s=arc-20160816; b=G+SH/kbGoq02ZnjrGRfHPXxvY9DHQI9TgZBcmRvmTCAw4xBvSOtSx+aWtJL3tCfaVe /rFUkY3G/D9DlgkFcbhDA0UUF+QbCWCnY4QbOhC9bymeneYiCUo5VnL6aaOxEhtUe9Ae TXrJ2eNBICF8hzzJ5wO7TJGaCR57I7FjDpnDo7Nz6BoC+N8jZq1YwlatcsfOkGl35Vcq AYT/ec2RAbBV68lNEYkJPn1Q5ZoALYU6zX2pJrk33Xkltz7RI63PyG2xGPJaYinl9O3+ OBlE/7ISyq3oVst73kSh1DFef5OO6yGULTnxqMYfxjDV4IRISUnyBmw32M06iPYC1Pb5 peew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature:dkim-filter; bh=2VwYGs0XfMWZJ7w9TMuYXEHeMGMKE1RQ9jv/xrKLVIY=; b=K8AljodwtZZsLvBLuxmPtpMPUVpXHUZDMmWEvGVok2M36n3jCnhq8sUY28JrVFAmWm kbpNWIWiE5bujF2nnsEAf2mfTw8Lj4gn7qfh+pmsjlbXogm0i9X8KMhTLOZckzhSTMaX I2qDMhemG09M4+jG8fDv3UhbvMgHDpWKcoOOajqIfOXm7q9AAGoeb4Ku0RGrmcDgVgaD FmWMNKLAmBT3r8ZI/GKNdHfhwJQxAaGO/RBUASFdZU9sMH4SLs/LDTlKFgxBO5tynD15 v6WdefEVHFkjYWRfQXZwoBbqMTUQ432mQ5KAYMLsEOiQ7Xetr87xb1TF14SYyd2vvxab 50yA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=cc3JBua6; 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 q19si6836095edv.67.2021.02.26.23.19.19; Fri, 26 Feb 2021 23:19:43 -0800 (PST) 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=@nifty.com header.s=dec2015msa header.b=cc3JBua6; 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 S229912AbhB0HR6 (ORCPT + 99 others); Sat, 27 Feb 2021 02:17:58 -0500 Received: from conssluserg-02.nifty.com ([210.131.2.81]:32489 "EHLO conssluserg-02.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229795AbhB0HR5 (ORCPT ); Sat, 27 Feb 2021 02:17:57 -0500 Received: from mail-pg1-f178.google.com (mail-pg1-f178.google.com [209.85.215.178]) (authenticated) by conssluserg-02.nifty.com with ESMTP id 11R7Gqoj011859 for ; Sat, 27 Feb 2021 16:16:52 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-02.nifty.com 11R7Gqoj011859 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1614410212; bh=2VwYGs0XfMWZJ7w9TMuYXEHeMGMKE1RQ9jv/xrKLVIY=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=cc3JBua62lW/4rDjlc47ZcxoDgCz4ezUZCczaRBLf0rCR1gj5+6JP1zESDQY5wEnP cuMHkZqhFAvqaqjUJCvZJ2Hg9tilpM1kfpCDm/xGgs6eEqNIBYq+qazV+bmTzZd0KP dp8I0NFYdKneKzSDzGp0yFozDnHcqLklHrqHPiTqYxRMoIVy81ricDp1Fu2O8aDXr9 2VyfIh+d8+IkYIRhdq13094haYEgz6dqQFvBAdMgmrTCFw/RY0f6A69dW/yTLE5ZqV lSWRoy6c1yuKEI0fQmf473w7j3uBp3R7xxaox7YlLDQnRMLIn+cp9Ju57reQ3YfAqu u/Rtqa/Py7Xjw== X-Nifty-SrcIP: [209.85.215.178] Received: by mail-pg1-f178.google.com with SMTP id p21so7637134pgl.12 for ; Fri, 26 Feb 2021 23:16:52 -0800 (PST) X-Gm-Message-State: AOAM530Z04ZFhsuj2Xej1jMHijGVR/XPaO/ijglTn5mm9ZWZ2i667n1P a2LkEz9vz3y7dGlKfeWjA5PALoVjoZq+dFL5M7k= X-Received: by 2002:a62:b416:0:b029:1e4:fb5a:55bb with SMTP id h22-20020a62b4160000b02901e4fb5a55bbmr6598789pfn.80.1614410211865; Fri, 26 Feb 2021 23:16:51 -0800 (PST) MIME-Version: 1.0 References: <20210112224832.10980-1-will@kernel.org> <161055398865.21762.12236232732054213928.b4-ty@arm.com> <20210113214436.GL1551@shell.armlinux.org.uk> In-Reply-To: From: Masahiro Yamada Date: Sat, 27 Feb 2021 16:16:14 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] compiler.h: Raise minimum version of GCC to 5.1 for arm64 To: Linus Torvalds Cc: Ard Biesheuvel , Russell King - ARM Linux admin , Florian Weimer , Arnd Bergmann , "Cc: Android Kernel" , "Theodore Ts'o" , Peter Zijlstra , Catalin Marinas , Nick Desaulniers , Linux Kernel Mailing List , Will Deacon , linux-arm-kernel Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Linus, On Fri, Jan 15, 2021 at 3:43 AM Linus Torvalds wrote: > > On Thu, Jan 14, 2021 at 12:18 AM Ard Biesheuvel wrote: > > > > So if the arguments are piling up, what is holding us back, other than > > inertia? > > I think we can most certainly just try increasing the minimum version > to 5.1 in the next merge window and see. Just a friendly reminder. It will be nice to increase the minimum GCC version to GCC 5.x globally. Now, the version check has been moved to scripts/cc-version.sh, which is invoked from Kconfig. If you decide to do this, please update 'gcc_min_version' in that file. I'd like to suggest GCC 5.2 instead of 5.1 so that we can drop the following line from arch/powerpc/Kconfig. if GCC_VERSION >= 50200 # plugin support on gcc <= 5.1 is buggy on PPC > > Note that banning 4.9 for arm64 and banning it in general should be > > two different changes in any case, as the former will need to be > > backported to -stable kernels as well. > > Yes. The arm64 issue is a clear and known bug, plus I suspect gcc-4.9 > is ridiculously old in the arm64 ecosystem anyway. > > So the arm64 issue is a bug-fix, the follow-up of just upgrading gcc > requirements in general would be a "keep up with the times, and allow > those variable declarations in loops". > > Linus -- Best Regards Masahiro Yamada