Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp3448186pxy; Tue, 4 May 2021 02:23:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzWn85P0oSnCmP1bp9fk0bBL+XJuqathVBfTdVrW0yLZMOk+82+N9KTRiR1zSFtQEkXFfh/ X-Received: by 2002:a17:902:7c85:b029:ed:893d:ec7c with SMTP id y5-20020a1709027c85b02900ed893dec7cmr24618778pll.82.1620120235292; Tue, 04 May 2021 02:23:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620120235; cv=none; d=google.com; s=arc-20160816; b=vz0VKTG1ljSMy770HEAUINCVmhfK6goRdJL6bqIoUhQgFgVnYeHMqJpMR4zvCGRFUf I2ZvQjyhmdPnTdrV3z81LlNeQE+sX1n1xkxLMCRmG5WDMkbbG1SRFMj4Jywchqe8LPG3 CFIByJFsJSA2uhWZAfVI3hpIQOQGH7scDZeDySW3kF/rYW4d8l/3qhhQVqKN3+SrqyGh 0Sy8WU5dcEauO2clSEzeg0oFHG/s7OfXTkVvETK9Eri8uMrcDDvF2CuuB4c8K5FRi352 Iskv7Raa9McAHChDUEnpgrBbqLmM8ubHcXyiGCpZ2xYOVTxMXTt/kmvLBOW/9CG5Xlib 3AkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=2yQja4uMfhAKdF1tZgY2or2tYcZTif4zoYwhZKrenzY=; b=uOHY0vOn28vcphE1CNwxlIwkj/Tu1AjC79vt7bU51Uf277OExFauD9/C4D3HEca/Kv KSyBCHIkpu84hIzT0kvocvlRScPykh8/UlBEyYhGhC0PESX3D1jghA1EXcjkFNgh5c3Z VuRHtcTgSdhxu6p5vOoTbuMOSq3q2xnDa3VoEjK9GzSV3O8P83E2K7KFtZdgSq1ExtHm svmzfcdTLi4yvUAKrpbfY4XKHi9CFN5y545sjEHLZkTzvjZ6IMOh5bSFfyGnaoedWihK CmDXra0tPX/MW+EyFVjXiCR9yz2RdIA9mHNCbvTlzBmci1SklnJxjC9R9Df4fhbpq2Ht J6qw== 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 f18si17043047pjh.81.2021.05.04.02.23.43; Tue, 04 May 2021 02:23:55 -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 S230099AbhEDJXY (ORCPT + 99 others); Tue, 4 May 2021 05:23:24 -0400 Received: from mx2.suse.de ([195.135.220.15]:38890 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229703AbhEDJXX (ORCPT ); Tue, 4 May 2021 05:23:23 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 4CA8CAC1A; Tue, 4 May 2021 09:22:27 +0000 (UTC) Date: Tue, 4 May 2021 11:22:25 +0200 From: Michal =?iso-8859-1?Q?Such=E1nek?= To: Miguel Ojeda Cc: Ben Dooks , Albert Ou , Arnd Bergmann , Linux Kbuild mailing list , Greg Kroah-Hartman , Masahiro Yamada , Jonathan Corbet , Linux Doc Mailing List , linux-kernel , Miguel Ojeda , Will Deacon , Palmer Dabbelt , Paul Walmsley , Catalin Marinas , Joe Perches , Paul Mackerras , linux-riscv , linuxppc-dev , Linus Torvalds , Linux ARM Subject: Re: [PATCH] Raise the minimum GCC version to 5.2 Message-ID: <20210504092225.GS6564@kitsune.suse.cz> References: <20210501151538.145449-1-masahiroy@kernel.org> <3943bc020f6227c8801907317fc113aa13ad4bad.camel@perches.com> <65cda2bb-1b02-6ebc-0ea2-c48927524aa0@codethink.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.3 (2019-02-01) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 04, 2021 at 10:38:32AM +0200, Miguel Ojeda wrote: > On Tue, May 4, 2021 at 9:57 AM Ben Dooks wrote: > > > > Some of us are a bit stuck as either customer refuses to upgrade > > their build infrastructure or has paid for some old but safety > > blessed version of gcc. These often lag years behind the recent > > gcc releases :( > > In those scenarios, why do you need to build mainline? Aren't your > customers using longterm or frozen kernels? If they are paying for > certified GCC images, aren't they already paying for supported kernel > images from some vendor too? > > I understand where you are coming from -- I have also dealt with > projects/machines running ancient, unsupported software/toolchains for > various reasons; but nobody expected upstream (and in particular the > mainline kernel source) to support them. In the cases I experienced, > those use cases require not touching anything at all, and when the > time came of doing so, everything would be updated at once, > re-certified/validated as needed and frozen again. Except it makes answering the question "Is this bug we see on this ancient system still present in upstream?" needlessly more difficult to answer. Sure, throwing out old compiler versions that are known to cause problems makes sense. Updating to latest just because much less so. One of the selling point of C in general and gcc in particular is stability. If we need the latest compiler we can as well rewrite the kernel in Rust which has a required update cycle of a few months. Because some mainline kernel features rely on bleeding edge tools I end up building mainline with current tools anyway but if you do not need BTF or whatever other latest gimmick older toolchains should do. Thanks Michal