Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp2683102pxy; Mon, 3 May 2021 05:53:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzqa1+jd/230oC9JZmdcqQW1uz28eceC+sW6kWIw7t6E8be4f1BJ0iJm8DFP9pLUWw0omPn X-Received: by 2002:a05:6402:51ce:: with SMTP id r14mr2153805edd.151.1620046409941; Mon, 03 May 2021 05:53:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620046409; cv=none; d=google.com; s=arc-20160816; b=fo/YI7pXl6Rf2GZd9f8aSlAA1wryy1BeaquamFysphJrHIoOY8SxcjZF5DboIZ1ZI2 0GEa+SHPgd0E/kwH/zez599P7VKZyYv+IirT7+4FNUMXYZuUmFhvVz6eAmLhEZ97NVYp Uas0DLACCW4j6YrL+rxqOdGzMw2MP46zTjUUNRsHxfXiV7EWzCNXe87wonRHIlVTVpTV X3OwkM+Du6E+/Ylx3fRGzZ/iW+PYzDXAesHa0SQO5EwjWaykDjW7hhPXw+dWaAgiJLAo xe0OS0MacvRY8abrCvaUD5U0Qzq/I7fx5XcQG2/KT1ycLNmSoK7fb+2bt3rdeBqAMD+o Gmvg== 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; bh=QGraUf8N3sJ1aJwRoluRH5lxaNYz5v4100GlVPYI/b4=; b=LwVBhozvbCpZNW47fiqGcGpl1VdQCXI7bOPZtGmli/0NT8upIQmOSLHMZU0HG6Tl5/ cfmUxmo3D7FyijRo88NyRfE2ue2SbykXnqB3So0w4WkZLovVCD2XtX1IBh+T3ZnPPfIp K5jNDs4bQdVmKoWHee1XBzdOreIr+sXh72uwtQz2sWo/3U/Fs4ocpxb/GAtnarWCdhwY Vr9fhzzXkJvM/wXoP0LP2NX2TXWxrjMiwEfoXdZY6h6axMaEPmaNDpzAZTZ+au0wgxZA 2IFm6UvL6l8+Uiyc20fuY2B/zKPEtRrwXoK5pgscNjWriR6CW3pcobJ5ob4n0ERkurCG B4Cg== 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 hs4si9417276ejc.696.2021.05.03.05.53.06; Mon, 03 May 2021 05:53:29 -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 S233534AbhECLhJ (ORCPT + 99 others); Mon, 3 May 2021 07:37:09 -0400 Received: from mout.kundenserver.de ([212.227.126.135]:55267 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233108AbhECLhJ (ORCPT ); Mon, 3 May 2021 07:37:09 -0400 Received: from mail-wr1-f52.google.com ([209.85.221.52]) by mrelayeu.kundenserver.de (mreue011 [213.165.67.97]) with ESMTPSA (Nemesis) id 1Mgvan-1l53CN3ueb-00hON9; Mon, 03 May 2021 13:36:14 +0200 Received: by mail-wr1-f52.google.com with SMTP id l13so3572321wru.11; Mon, 03 May 2021 04:36:14 -0700 (PDT) X-Gm-Message-State: AOAM533+SVOPQRH66lK1NWnm96PcQhTvICbcmV5CdYKe9WZYIZhOjBj0 xtXEk/jbRMd+2/1cQ2A8Vs3QjJfeyYmvglYFIQ8= X-Received: by 2002:adf:d223:: with SMTP id k3mr24144176wrh.99.1620041774578; Mon, 03 May 2021 04:36:14 -0700 (PDT) MIME-Version: 1.0 References: <20210501151538.145449-1-masahiroy@kernel.org> <3943bc020f6227c8801907317fc113aa13ad4bad.camel@perches.com> <20210502183030.GF10366@gate.crashing.org> <81a926a3bdb70debe3ae2b13655ea8d249fb9991.camel@perches.com> <20210502203253.GH10366@gate.crashing.org> <20210502223007.GZ1847222@casper.infradead.org> In-Reply-To: <20210502223007.GZ1847222@casper.infradead.org> From: Arnd Bergmann Date: Mon, 3 May 2021 13:35:30 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] Raise the minimum GCC version to 5.2 To: Matthew Wilcox Cc: Linus Torvalds , Segher Boessenkool , Joe Perches , Miguel Ojeda , Masahiro Yamada , Albert Ou , Linux Kbuild mailing list , Greg Kroah-Hartman , Jonathan Corbet , Linux Doc Mailing List , linux-kernel , Palmer Dabbelt , Paul Walmsley , Catalin Marinas , Miguel Ojeda , Paul Mackerras , linux-riscv , linuxppc-dev , Will Deacon , Linux ARM Content-Type: text/plain; charset="UTF-8" X-Provags-ID: V03:K1:1RT98D034H4bxxDqcqvK/MknfpiMAh8Lj4Uy75Z3t8nH3cflvjo H6yy2gNcNqK9Jg4nPt/RPIBgmwzm63L8Raf4Ic89saHYXIZLOtYjJEsErtRqbwvav+A6udE UK8gtI2rn/CrjlaUVh1AXel7fBzW/u7o5sbjcTYnP6Ew9jAFJxSIJYShpo8XhmWRKWktj4a y+mm+WmOsW9ZrxuOd5/jA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:V1gpe3VkJCY=:eJuu2sZvKATbOTT5MUVkAI HzCn1Funnm7je4+9ugbIwHj6Pz9oDbrvi4SV92+nnlercW0BSEfcMeDAyrD6fcw8ggEWSDbP5 dzPF3Oj9t+s9iLeUckYECnrLQiQpcstFflleS1CM0xvjBMbxtGi5+ohcnL+oDPz1q6YjY7z0k KgZYWlm24aKyVQZnQDlOR4HnYx0DVNxI8ay0ZQdlOougDebe46/lR23qmyuMKU1AXf88PcGN4 XcX1//kWryXT6+awD9JfUgVSqsQ2SuZbgDsVsndBe3/9c3vAikBXq6b46fUP9pQeUest3vkvn Bteb+oCWKhE0JfRt54CZU7D16MCX5ThAvQvb0+YevN5jD6lXeuuf/c+ptP96ZVFZksxmx8sV0 PuHM/3TcEaQ9tt54+FpYStLIL68KVnm7tbWA2cXdJonCS++PFoySkPxI2WiXRmHrD5RyjfHnA o5lr5IaBjYkTcgt9r9It8jO3zSVcIGQmdQfkRUtmaGAAMd9PX2reVxOTwmBLqrFgGrs+3XcXX l8jBBKh/9rWHuE+vAlAq5D2msofQO1rQrXoWgLA2iEA79SOfnVKpYIfGi0HamxiJtGatlLQcX BKPcKHzVccGQs7WJ6lPhFPG+LsvPyC4/+WHhu4IFqQNEX53hDNBUtwnCKjNcXfL3YSP8BqyX3 VPhM= Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 3, 2021 at 12:32 AM Matthew Wilcox wrote: > On Sun, May 02, 2021 at 02:08:31PM -0700, Linus Torvalds wrote: > > What is relevant is what version of gcc various distributions actually > > have reasonably easily available, and how old and relevant the > > distributions are. We did decide that (just as an example) RHEL 7 was > > too old to worry about when we updated the gcc version requirement > > last time. > > > > Last year, Arnd and Kirill (maybe others were involved too) made a > > list of distros and older gcc versions. But I don't think anybody > > actually _maintains_ such a list. It would be perhaps interesting to > > have some way to check what compiler versions are being offered by > > different distros. > > fwiw, Debian 9 aka Stretch released June 2017 had gcc 6.3 > Debian 10 aka Buster released June 2019 had gcc 7.4 *and* 8.3. > Debian 8 aka Jessie had gcc-4.8.4 and gcc-4.9.2. > > So do we care about people who haven't bothered to upgrade userspace > since 2017? If so, we can't go past 4.9. I would argue that we shouldn't care about distros that are officially end-of-life. Jessie support ended last July according to the official Debian pages at https://wiki.debian.org/LTS. It's a little harder for distros that are still officially supported, like the RHEL7 case that Linus mentioned, Debian Stretch (gcc-6.3), Slackware 14.2 (gcc-5.3), or Ubuntu 18.04 (gcc-7.3). For any of these you could make the argument one way or the other: either say we care as long as the distro cares, or the users that want to build their own kernels can be reasonably expected to either upgrade their distro or install a newer compiler manually. Looking at the Debian case specifically, I see these numbers from https://popcon.debian.org/: testing/unstable: 16730 buster/stable: 113881 stretch/oldstable: 39147 jessie/oldoldstable: 19286 Assuming the numbers of users that installed popcon are proportional to the actual number of users, that's still a large chunk of people running stretch or older. Presumably, these users are actually less likely to build their own kernels. Arnd