Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1nNrea-00033O-6M for mharc-grub-devel@gnu.org; Sat, 26 Feb 2022 02:38:09 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42406) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nNreY-00031U-So for grub-devel@gnu.org; Sat, 26 Feb 2022 02:38:06 -0500 Received: from mout.gmx.net ([212.227.17.20]:41955) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nNreU-0007qK-LL for grub-devel@gnu.org; Sat, 26 Feb 2022 02:38:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1645861077; bh=jM0XvuINh8kwwXLdgfXHAjItJPNBCt4QXAkQUMqrxWI=; h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From:In-Reply-To; b=FxCHnqwRNZhcwMVt0amCG8XEgH3AWJSiuPUIiE6xm+VokcFnFiZfU9CYbrD8nzy8d omA/eRQ3nPVB7fBSyUzaKP+2JH1I5yMHesiCbztheVoTH79wGLPkbmrZhdXKyX6Z08 Vtb8X3RpcbO8X6Xe61aopwcBbeAWeEU76TzkjKgI= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.123.94] ([88.152.144.107]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1Mv31c-1oESCj0lKi-00r1i4; Sat, 26 Feb 2022 08:37:57 +0100 Message-ID: <49ec8289-ab3a-e9d2-9a33-75d930465cf3@gmx.de> Date: Sat, 26 Feb 2022 08:37:56 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 Subject: Re: Minimum compiler version (was: Re: [PATCH v5 0/4] Update gnulib and drop some patches) Content-Language: en-US To: The development of GNU GRUB , Glenn Washburn , Daniel Kiper Cc: Robbie Harwood References: <20220225195046.62895cec@crass-HP-ZBook-15-G2> From: Heinrich Schuchardt In-Reply-To: <20220225195046.62895cec@crass-HP-ZBook-15-G2> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:aNfratEQTe+I1mcWTlzq/3BUbycHOXBZtLuAtG/Y4Ty/JLGqBTC DjXQPIbikR4xXAsuA/WPoDP5xMPuC8EOxq7oUKkCb78IwUmHx9hFkXuPim1aJZsIkGCnLx7 p/25nJNDQouGwrJKViQjxZDCbwERLJ8+8Kx9LOxAaU/Up/hoCpkROQRR4kXIXPDyhX8LMMV 45vPALcI9eU14BVpueIsA== X-UI-Out-Filterresults: notjunk:1;V03:K0:3P3lfOcR5bU=:CpY1V8M16Evb0kOUlE4JLM XYb6rXu6eH6FmJfQIYVnX2aFHQ7Q5Lo3BM11BsTd9eDjAKAHERFC1tJWW9IInHxSNpt+iBRAU h2qFPYRmjUTsa+ptzIKDrUrIOs77m7sGPFtdjKsQ/aErs6t3Ie1yuhBcFd8BiEgkTLrLXGq7x iQyt+VYljvxQS6yMrxpjlDHVjdaMpIHacvCMC8RBORF2aqkopv0DaalB6izvoMxkULUUqtOe9 NpuK3FR8VUhd+DFQw2/vbXpaxIHZ0X8d2BZ0Tas3IU3rk6N/1B/7MAjuQ5XiEhieCqrOKq45Q 25jERioQUDLyHX1VdN+CNQVnoGQ8Y3UJusDQVY7UiaKd2G+dRCHBDhW+G/Iwp4Sknzq5I2gbT 3cwALMUXh50fqboQF5nmEpDbPLF5/ingGjZqIvJiv2yS2ab3dXlW+JdvDBfjl/fO2ORzcHYAb xJ0LwDtquVpuz36VG5iirK/WNT5ZiEg+Hg8pn+TqyFbbhvtj6VZIiOXDeU87Tp1KCfclIdM3K 3ljul9JIeLzhnEqMcMTR4aIUztF7wrY8Rlt1n5KsLUgWT06EtLVoHQx/65JzGk5ifLKrRzQGz 9GWf71Ef4O8dgq1Jp+/qiuZcZz4qzQhTzxzUyLaLwNnqw7/3Y3uRgf8ciPRzC5kkju50KQbMm XjK9w38u/dnj9CFVBKwf84Y2T7pPJqPNYLUc6K6ybiFQr9OTLTQ3fZLWnuMTaODyBckJC7DhD mmbd75Nys7jfRq5ZqOk3G6TAGY8uD5g23hGuqMbNbTJBY0R1bQKFfy8KLc++ygxJHGP3B+DQ7 GBswTXzzOHDp0my/0tbN5S1msZpl5nQHleM5SnFTxNFCO0wQyUQGVSo1MFee8BM4jt1gZOxyh W2KVsDX3C+9okhmrN7kWsx/1oAt/PZ3kfMfsTLqiv/6KzBY2XN84kyok10FJK9L3pSZKwEdei ihjJj1jq1KPibviWv8kaZfGytKj+G1xloKPaVmst6PK1iqTMtDJgqXbdnYhjEPU6OPNEslePo /ajCSfLVE5500y8bB7SMsmtv9/xeZp6l7Ak7LGhr5eZs7Iv+EN4YexG9A5FaCA1jaQovzwZZQ Fwz45V1EdRE8Ps= Received-SPF: pass client-ip=212.227.17.20; envelope-from=xypron.glpk@gmx.de; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Feb 2022 07:38:07 -0000 On 2/26/22 02:50, Glenn Washburn wrote: > On Tue, 22 Feb 2022 18:17:51 +0100 > Daniel Kiper wrote: >> The GRUB INSTALL file says: >> >> The Requirements >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> >> GRUB depends on some software packages installed into your system. I= f >> you don't have any of them, please obtain and install them before >> configuring the GRUB. >> >> * GCC 5.1.0 or later >> >> So, even if it is old it is perfectly valid compiler according to the >> GRUB docs. >> >> Hmmm... What are the latest gnulib minimal compiler, linker, etc. requi= rements? > > In working on the testing system, I noticed that kernel.org provides no > RISC cross compilers for x86_64 for GCC version < 7.3. I'm not sure if > that's because there isn't support in earlier versions. The other > recommended pre-built cross toolchain site toolchains.bootlin.com only > has prebuilts for somewhat recent GCC versions (9.3 is the earliest for > risc32/64). So the documentation above may be misleading for RISC. RISC-V support was first introduced in GCC 7: https://gcc.gnu.org/gcc-7/changes.html Best regards Heinrich > > I like the idea of really old GCC versions be supported if its not a > burden, but are we actually testing that GRUB does compile with 5.1.0 > (at a minimum even for releases)? I think the minimum supported version > of GCC should be a version that is actually tested with. > > GCC 5.1.0 looks like it came out on April 22, 2015[1] and 5.2 was used > in Ubuntu Xenial from 2016 (which is no longer supported). At what > point do we bump up the minimum supported version? And doing so > wouldn't mean that GRUB can't be compiled with eariler versions of GCC, > it just means we don't test that. I also think it would be acceptable > to accept patches that fix issues with compiling on GCC versions less > than the stated minimum supported version (with in reason and subject > to discretion). > > One idea is to update the minimum supported version every release cycle > to the lowest GCC version that is about 5 years old (that's artitrary > but seems reasonable). > > I'm interested in this because it seems to imply that for the testing > system it should do two compilations for every target, one for the > munimum supported GCC and one for a somewhat recent version. > > Glenn > > [1] https://gcc.gnu.org/releases.html > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel