Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp2552269pxy; Mon, 3 May 2021 02:47:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwge5gdfp1H+vWEQlDbWO2WuMcaEiMsu92L7XnRO1Ig8BLMA+GAQqGnDFe6HHTGfPUttwZR X-Received: by 2002:a17:902:da86:b029:ec:ad63:5ab with SMTP id j6-20020a170902da86b02900ecad6305abmr20079886plx.28.1620035242606; Mon, 03 May 2021 02:47:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620035242; cv=none; d=google.com; s=arc-20160816; b=RXKwZs3QXMTyi9H72ecmpM3YdTbXrveN69MsiPUfIa1zPIR5fEb0prDXknh6F2kiLk rFA0UmwvDtqPGRdMMmfINtzkpWoIumu8Ya8Z6Qoa+3tc334Tgc3aBI88BJSi9VUcQyvG xLcL6HPCJibwpYlyBh4xp7HfHQ+DLuY7vZBNZnL082BSQ3kY7VmEF4gzlCbhKyIx3vQ6 dARrYz3WSwq699/TvtE/CPjp3eJnoIKUE+RE5VJE8YsKA2Z2C1aM1P097KtLPjjmq4L7 AIcmK5lidXJiDKm0JwGx1I8Agg0CXXDKYrOv5aL2wBrK++JKofxS8/lv9ckHpVnfS4n5 dIEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=fLy9DiO4d7hbeLXoGuF654ufloNHLfA8Z/WN8IvEIrw=; b=vAYqqFhhuogC51nYOJvXjBQklj5hOP+UpNUSff2UM9vS7ntfe0vprCKIITquy6igHc a6YTQT7OBHCLsAKrkVP1P+lNg67Jc4ys5Pht0ECP/H8qA6Ijn4KMSYVYE/FmH8vCHE8B MKenq/z8s0qYg+dB+sGMNXspV/2r8x6YfIyuaDHc8R8kRrzW3Gfo7Rbx4zqfRVHBegMg xdrUlnMSFDWBAyn4uZfBSW7iNDDZESJJz6R99DwvSsCLru7xGG+E5G1/UxwdD5AmTmOX w1HUJ/eXRh51x5jtKXRW7e/+C3IRcZVliF7a2Iv5iNNuQZ/6nS0z2UHdyPgH723SQpoB hbDw== 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 g6si14847701pgg.244.2021.05.03.02.47.07; Mon, 03 May 2021 02:47:22 -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 S233083AbhECJ1B (ORCPT + 99 others); Mon, 3 May 2021 05:27:01 -0400 Received: from mout.kundenserver.de ([212.227.17.24]:54297 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231531AbhECJ1A (ORCPT ); Mon, 3 May 2021 05:27:00 -0400 Received: from mail-wm1-f44.google.com ([209.85.128.44]) by mrelayeu.kundenserver.de (mreue106 [213.165.67.113]) with ESMTPSA (Nemesis) id 1MFspV-1lmdVZ06bn-00HLv6; Mon, 03 May 2021 11:26:06 +0200 Received: by mail-wm1-f44.google.com with SMTP id i128so918590wma.5; Mon, 03 May 2021 02:26:05 -0700 (PDT) X-Gm-Message-State: AOAM532/q9G146qrkVL/mfrZW70yKi+6l1Zlx7XSvGHsAPiGMVXCn68f 41sWx97x3zwPypWOvC1Fjk4mQuX1U9PYEhYqjcQ= X-Received: by 2002:a7b:c344:: with SMTP id l4mr30642981wmj.120.1620033965603; Mon, 03 May 2021 02:26:05 -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: From: Arnd Bergmann Date: Mon, 3 May 2021 11:25:21 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] Raise the minimum GCC version to 5.2 To: Matthew Wilcox , Linus Torvalds , Segher Boessenkool , Joe Perches , Miguel Ojeda , Masahiro Yamada , Albert Ou , Arnd Bergmann , 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:I/gsU3RbqaIRE+KdOLKT4bEkOO4frLNAEzQL12xugLqWiiJxUqo ZqghVLMD/GUpTP4K38iEuh9Sfiy5CCwVV18DD937YPcFl/NYol0MHqUOoJAeI9GRipH6RCQ rNNVp6g/4xhZJnewZxlGDYgFJFAvTflxs6mTgf8Ccuv/J6+jN73IZ7ufQBMUQJ2wF5E0H8T 2Xh+GD0sFyVuKr4w25OXQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:qdR9Si/Ru1A=:7j1bygQueRVWljbbzNPkyF ad5Pd/8bG5uytvKX8LkT3utJfYUm3W/5y3mllEvsU3k0+DzTbZ8KUuULWnkbvah+EeeEaG89U yD3pbzGHpbhSxIl9vrooM6/7tEwC6ixZBXr/b6V9L/hhlqnMUOgne7ZCnGqjJU5YxcY7BCRyQ mTAoIN9eusOwJZiiNi30SToBv20+IDLkCQOx5ivtuAypz/1LNEaaRUT3lMmX+EdA7CDD6Vzz0 mjpqEKxd9rTJ9/w8Abnu7LrlB4/DU8h42gulxxZQcAAmT+yV5DhLZmZ8+L2InBj5Na40QQrPl JP2krHBJA+Q95+FDLJBzhWQs2AGVI4WDsih1HlBStSQwu1gPKwz2J3F9SILvanGcdhwFXs0sV EfWcXHvmyyqhWniu8M2V/J8oGmDB9M/iJUJmtJ6ys+ww8t8BSH9Azi1t9PfWtW0Nzw+lLUo09 awJVfYOUAs6QqMiEfaqZrl+otdBGNfir6D7sZVWBGQ5MkRL0n/O3/BD/9C3P+AeeSPgGibbE9 TGun0Wcy1UNCDKqjzdU7R2BjmcPiCS94+8FumZbLrI9AS0+SdocVypRQ+OrSW8C0FkzG4Q9yG 5AZKhopNGwzf90XIokEWNN5X7cucuwxYu1q4PAWPC8C6/MiTRvgPKnQiMfZ/rACo8f8X0vLf6 jqLY= Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 3, 2021 at 9:35 AM Alexander Dahl wrote: > > Desktops and servers are all nice, however I just want to make you > aware, there are embedded users forced to stick to older cross > toolchains for different reasons as well, e.g. in industrial > environment. :-) > > This is no show stopper for us, I just wanted to let you be aware. Can you be more specific about what scenarios you are thinking of, what the motivations are for using an old compiler with a new kernel on embedded systems, and what you think a realistic maximum time would be between compiler updates? One scenario that I've seen previously is where user space and kernel are built together as a source based distribution (OE, buildroot, openwrt, ...), and the compiler is picked to match the original sources of the user space because that is best tested, but the same compiler then gets used to build the kernel as well because that is the default in the build environment. There are two problems I see with this logic: - Running the latest kernel to avoid security problems is of course a good idea, but if one runs that with ten year old user space that is never updated, the system is likely to end up just as insecure. Not all bugs are in the kernel. - The same logic that applies to ancient user space staying with an ancient compiler (it's better tested in this combination) also applies to the kernel: running the latest kernel on an old compiler is something that few people test, and tends to run into more bugs than using the compiler that other developers used to test that kernel. Arnd