Re: [PATCH 0/4] Make gcc-8.1 and binutils-2.30 the minimum version
From: Arnd Bergmann
Date: Tue Apr 08 2025 - 03:45:32 EST
On Mon, Apr 7, 2025, at 18:41, Eric Biggers wrote:
> On Mon, Apr 07, 2025 at 11:41:12AM +0200, Arnd Bergmann wrote:
>
> This is intended to supersede the patches from Uros that removed checks for
> binutils < 2.25, right? See:
>
> *
> https://lore.kernel.org/linux-crypto/20250404074135.520812-1-ubizjak@xxxxxxxxx/
> *
> https://lore.kernel.org/linux-crypto/20250404074135.520812-2-ubizjak@xxxxxxxxx
> *
> https://lore.kernel.org/linux-crypto/20250404074135.520812-3-ubizjak@xxxxxxxxx/
I missed these, but it does sounds we easy to work out, either
by rebasing my patch or dropping Uros' version.
> If we can indeed bump up the requirement to 2.30, that would be great.
>
> Just a note though: I recently added VAES and VPCLMULQDQ instructions to
> BoringSSL, which increased the binutils requirement of building BoringSSL to
> 2.30, and this caused issues in a downstream project; e.g. see
> https://github.com/briansmith/ring/issues/2463. Specifically people complained
> about being unable to build on Amazon Linux 2 and CentOS/RHEL/Oracle Linux 7.
>
> So I just thought I'd mention that, based on past experience with this sort of
> thing, those are the specific cases where it seems people are most likely to be
> trying to use binutils < 2.30.
>
> But if those distros are not going to be supported any longer (without
> installing newer tools on them), or even are already unsupported due to the gcc
> requirement, bumping up the binutils requirement to 2.30 sounds good to me.
RHEL7 comes wit gcc-4.8.5, which is already too old to build the kernel,
so I'm not worried about it at all. RHEL8 and Debian 10 have gcc-8,
which is why that makes sense as a new minimum version.
SLES-15 (gcc-7), Debian 9 (gcc-6), and Ubuntu 18.05 (gcc-7) are the
ones that can currently build mainline kernels but are broken by this
change. SLES-15 is the only one of those that are still supported, but
they do ship with add-on compilers.
Arnd