Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp3560056pxy; Tue, 4 May 2021 05:10:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwp5Ghn79zRbyNt/wySMRr4l64ho/niHUzfjqb5jTs3d4xapHl0YLlwJebt2M/61BCxd/sX X-Received: by 2002:a17:902:bd87:b029:ee:e0ae:cf0a with SMTP id q7-20020a170902bd87b02900eee0aecf0amr7277348pls.1.1620130228826; Tue, 04 May 2021 05:10:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620130228; cv=none; d=google.com; s=arc-20160816; b=NY9QyuZ0WVwnjNV4py7H25wPQTLuStIaPO5WZqGxmpxwm3sBcLzxN68wl4nVEVQwPC GjxePh/T2gan1P1h+60gSATA0zdl3sjzyr8opOawT+zIAFgUgLVjQKGxT3+LDJKqwoMX vIOI3hZDY7v5gUqmlmE5ZBcMmjZgeFWI+f0amkvJYGvnAW/UUiFFjDp23P/6BskoqVQj sty4uTuQTdzeni6dS2zIa7I1iZ0VK9GOsSgo5B/3DvUKgImENGBORdVRABaILr15hVFq Oz6L+EPnqOnmV4PFMh+iANoYhxALlLD4XXy6qUSi82pHW1jyqFGh4wgob2b2sBIGfUmI HUWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=GoONfpBLyMysB/FhmzAT7uuw2J/Ov3DAFLCcF6TfPu0=; b=prmxEi2nxdS2FgSa+AbnlpSlAc/PmL1Ole1utdyyTyhYqteqBmTmFn7Q64EVOocepa Z9dTvEINaoQN68lOk8pJGI2rCOQ8lXUPfyV9t0UoU7umtWu9FG1wIC0ycFnS6JESkjJN JvBkGxbNVfd4eOe41fGnd41tOxch+2aqyfEEo05uM1gPX2HhZTpqxo/lgabTLgysKJNG C55p5nk6pT0KJsxiJ6J7wqiOz+hu5JW//mb1MrAN75Vu3ZBRQlBgl+PED8zrjpHYiqCm gdxqrcKbXaDYl5z0yt2ldJ7HiixDacMR4EQ+7VhlDgLbz2rDJhPMgBFZLGEvLKcfzYT9 jwCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=tckQoMf4; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p9si3448864pls.205.2021.05.04.05.10.12; Tue, 04 May 2021 05:10:28 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=tckQoMf4; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230256AbhEDMKc (ORCPT + 99 others); Tue, 4 May 2021 08:10:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55124 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230149AbhEDMKb (ORCPT ); Tue, 4 May 2021 08:10:31 -0400 Received: from mail-yb1-xb2d.google.com (mail-yb1-xb2d.google.com [IPv6:2607:f8b0:4864:20::b2d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 158E5C061574; Tue, 4 May 2021 05:09:36 -0700 (PDT) Received: by mail-yb1-xb2d.google.com with SMTP id h202so2798060ybg.11; Tue, 04 May 2021 05:09:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=GoONfpBLyMysB/FhmzAT7uuw2J/Ov3DAFLCcF6TfPu0=; b=tckQoMf463vNPurJ8/DE4FlF1sR1Nq0y0BGfCjVf8H5j3Et6hVbvUaiODNjIcMs8Mt /jviFaGyjUN7LjTPIxRHFL6MbcW/qsfvx7daHYGdThRFhwx1eXpFdf80lgbrdZv5XAjV q4gQ4TPa7fL+vnbwn0z/rAJc/sZkrwddRBwa++gDz+AHI7QIQYmqAdOtMto9fFmvT2bc fVvw/3LRWi+nbFtSTZbFEIN/PYyaBpsjosnuewLM9WmkMpdXmIGMx9D0R9AaZW8PuyET eTYCcWQ8qBfkV4daDjJf5RPZUriDmdZ2ym+kRWtgTKy71x49yqybOjhVhEz2ORMPpte6 O99Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=GoONfpBLyMysB/FhmzAT7uuw2J/Ov3DAFLCcF6TfPu0=; b=Ytl7GZmSG/jfO8+Ioj824A6wjIKkjRKfDls3nSiocZMqc3dMTq7+He0UwuaK/z5GTk eES2DgQBEh6E90AKuMoevKKxE9emIB6I+PKkiE2BYhm4gnAPuUN7MCzD+KSTicUF4AVM PAByFOr4aJ2WaUJhG+C5e3tTJEkNmJSR45UwVh4z/QzoJqSdcJgOm+GrlPtH35ZHLDGx hv4mkMFFT4k7pb+inthvELPFjGRyCAbf4f0FCE06QcqUnZ+rtXEtCwooOH4CAbTIXV2B J2RPsAHMzRfDB3p3xiDN4MikU4MaSRh62vZTIEAWf7PxMcaJdwevZmf6PYXWTbMKo6fz CQWQ== X-Gm-Message-State: AOAM5337EPOxsvaqGpZn9I0E6Fn/HsUskTw1C0tkvol3iAv+ubWYLPx7 e8Fn+kD0v2H6XCxjgY4xvh07G7iKs9sRypYNXIA= X-Received: by 2002:a25:bc8b:: with SMTP id e11mr34501993ybk.115.1620130175246; Tue, 04 May 2021 05:09:35 -0700 (PDT) MIME-Version: 1.0 References: <20210501151538.145449-1-masahiroy@kernel.org> <3943bc020f6227c8801907317fc113aa13ad4bad.camel@perches.com> <65cda2bb-1b02-6ebc-0ea2-c48927524aa0@codethink.co.uk> <20210504092225.GS6564@kitsune.suse.cz> In-Reply-To: <20210504092225.GS6564@kitsune.suse.cz> From: Miguel Ojeda Date: Tue, 4 May 2021 14:09:24 +0200 Message-ID: Subject: Re: [PATCH] Raise the minimum GCC version to 5.2 To: =?UTF-8?Q?Michal_Such=C3=A1nek?= 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 4, 2021 at 11:22 AM Michal Such=C3=A1nek wr= ote: > > Except it makes answering the question "Is this bug we see on this > ancient system still present in upstream?" needlessly more difficult to > answer. Can you please provide some details? If you are talking about testing a new kernel image in the ancient system "as-is", why wouldn't you build it in a newer system? If you are talking about particular problems about bisecting (kernel, compiler) pairs etc., details would also be welcome. > Sure, throwing out old compiler versions that are known to cause > problems makes sense. Updating to latest just because much less so. I definitely did not argue for "latest compiler" or "updating just because"= . > 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. Rust does not have a "required update cycle" and it does not break old code unless really required, just like C and common compilers. Concerning GCC, they patch releases for ~2.5 years, sure, but for many projects that is not nearly enough. So you still need custom support, which is anyway what most people care about. > 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. It would be better to hear concrete arguments about why "older toolchains should do", rather than calling things a gimmick. Cheers, Miguel