Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp2297455rwa; Mon, 22 Aug 2022 05:40:17 -0700 (PDT) X-Google-Smtp-Source: AA6agR4s3bT4tx8khGobkI4tg7kNJnfzecrGsU6vdLxnuyF/c1AeCamkfrXjGfLU/wbUp6uD7iSk X-Received: by 2002:a17:907:97d5:b0:733:1ce:9572 with SMTP id js21-20020a17090797d500b0073301ce9572mr13043634ejc.220.1661172017444; Mon, 22 Aug 2022 05:40:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661172017; cv=none; d=google.com; s=arc-20160816; b=YgitxyfDNgPgLtfJ1Vo89RcrYKqrphHaabPnDX4Nstgx0ABZXgjWvh6DBYKcnH7zKR Eq7UMZK7szd133hAURkl9rgJEai3AjbRWaOTnDafMtx8LzoNzFaiicjOPhU9A28qagqe h48JEhCof7Ak7kqifFGcQ1tJSJMb6hzfkM5aKSpYPMIFaeW7TyKWEKDJBVzXCkMzSvXG siXSatD5sT8asjTMQE+BO+4g2JxjU8UN0WG3NVY50sXqtrZnzhJ9mj/NfT33J36/3jz/ id2oh2bO/LlH+uEftp46V63JJollQ1bfp2wN2YQ8zQKmWRJ3ub9i6v+L4dLeKckRaOrG 52iQ== 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=o32E2Tli3FQfE9KNdx8qTlzjgvC22jJfEa0gowy/PO8=; b=wlnIwyhC7gp70ouE96DpPMR+Hd1zfr+LHZd/sh0L0CEvVRuuXtGkClfyPGornbzDBy X5SMSy/UYw3IWUWcACX1h6bNFbV+2a6g+/7F+3RNeol1IfLl+qYYIflZV8yq0LFOynbQ dBOzi9uL3evHRWS5+kvd0c+QkO0dqWJyO6AIHZewxmSLKvFRPHnOxB76L8Bv5iD9OXMm CzWxaED22eyR0/kl5KSAHX4ibH6Yg9lkxf/ZZaWbDC1MRI6pluFqpWSkmSLxwgPCS+xM mPwY9anLzRyqHeTg0jkVT74RiBnHLp1tFPA6Ji/3pw29ZO1dEDqoOPPPeFQ1wZR4zHzj zb9g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bs3-20020a056402304300b00446659ef247si6052627edb.254.2022.08.22.05.39.52; Mon, 22 Aug 2022 05:40:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229704AbiHVLxj (ORCPT + 99 others); Mon, 22 Aug 2022 07:53:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53346 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233264AbiHVLxc (ORCPT ); Mon, 22 Aug 2022 07:53:32 -0400 Received: from 1wt.eu (wtarreau.pck.nerim.net [62.212.114.60]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 518B560DA; Mon, 22 Aug 2022 04:53:29 -0700 (PDT) Received: (from willy@localhost) by pcw.home.local (8.15.2/8.15.2/Submit) id 27MBrQVM019212; Mon, 22 Aug 2022 13:53:26 +0200 Date: Mon, 22 Aug 2022 13:53:26 +0200 From: Willy Tarreau To: Qu Wenruo Cc: Greg KH , stable , "linux-btrfs@vger.kernel.org" , Linux Kernel Mailing List , linux-x86_64@vger.kernel.org Subject: Re: LTS kernel Linux 4.14.290 unable to boot with edk2-ovmf (x86_64 UEFI runtime) Message-ID: <20220822115326.GD17080@1wt.eu> References: <2d6012e8-805d-4225-80ed-d317c28f1899@gmx.com> <1ed5a33a-b667-0e8e-e010-b4365f3713d6@gmx.com> <8aff5c17-d414-2412-7269-c9d15f574037@gmx.com> <20220822080456.GB17080@1wt.eu> <4c42af33-dc05-315a-87d9-be0747a74df4@gmx.com> <20220822083044.GC17080@1wt.eu> <9aa83875-0a05-6b28-b4df-4071ba8ee343@gmx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9aa83875-0a05-6b28-b4df-4071ba8ee343@gmx.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 22, 2022 at 07:07:19PM +0800, Qu Wenruo wrote: > > > On 2022/8/22 16:30, Willy Tarreau wrote: > > On Mon, Aug 22, 2022 at 04:19:49PM +0800, Qu Wenruo wrote: > > > > Regardless, if you need an older compiler, just use these ones: > > > > > > > > https://mirrors.edge.kernel.org/pub/tools/crosstool/ > > > > > > > > They go back to 4.9.4 for x86, you'll surely find the right one for your > > > > usage. I've long used 4.7.4 for kernels up to 4.9 and 6.5 for 4.19 and > > > > above, so something within that area will surely match your needs. > > > > > > BTW, it would be way more awesome if the page can provide some hint on > > > the initial release date of the compilers. > > > > > > It would help a lot of choose the toolchain then. > > > > It wouldn't help, if you look closely, you'll notice that in the "other > > releases" section you have the most recent version of each of them. That > > does not preclude the existence of the branch earlier. For example gcc-9 > > was released in 2019 and 9.5 was emitted 3 years later. That's quite an > > amplitude that doesn't help. > > Maybe I'm totally wrong, but if GCC10.1 is released May 2020, and even > 10.4 is released 2022, then shouldn't we expect the kernel releases > around 2020 can be compiled for all GCC 10.x releases? > > Thus the initial release date should be a good enough hint for most cases. If you speak about initial release, yes that should generally be a valid assumption. > If go this method, for v4.14 I guess I should go gcc 7.x, as gcc 7.1 is > released May 2017, even the latest 7.5 is released 2019. Then it should definitely work. But I think you're spending way too much time comparing dates and discussing on the subject. By the time it took to check these dates, you could already have downloaded one such compiler and built a kernel to verify it did build correctly ;-) Willy