Re: [PATCH] Documentation: raise minimum supported version of binutils to 2.25

From: Nick Desaulniers
Date: Thu Oct 13 2022 - 13:45:29 EST


On Wed, Oct 12, 2022 at 11:19 AM Masahiro Yamada <masahiroy@xxxxxxxxxx> wrote:
>
> Binutils 2.23 was released in 2012. Almost 10 years old.
>
> We already require GCC 5.1, released in 2015.
>
> Bump the binutils version to 2.25, which was released one year before
> GCC 5.1.
>
> With this applied, some subsystems can start to clean up code.
> Examples:
> arch/arm/Kconfig.assembler
> arch/mips/vdso/Kconfig
> arch/powerpc/Makefile
> arch/x86/Kconfig.assembler

Thanks for the patch! Indeed, it looks like 2.25 is from 2014.
https://ftp.gnu.org/gnu/binutils/
Reviewed-by: Nick Desaulniers <ndesaulniers@xxxxxxxxxx>

>
> Signed-off-by: Masahiro Yamada <masahiroy@xxxxxxxxxx>
> ---
>
> Documentation/process/changes.rst | 4 ++--
> scripts/min-tool-version.sh | 2 +-
> 2 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/process/changes.rst b/Documentation/process/changes.rst
> index 9844ca3a71a6..ef540865ad22 100644
> --- a/Documentation/process/changes.rst
> +++ b/Documentation/process/changes.rst
> @@ -35,7 +35,7 @@ Rust (optional) 1.62.0 rustc --version
> bindgen (optional) 0.56.0 bindgen --version
> GNU make 3.82 make --version
> bash 4.2 bash --version
> -binutils 2.23 ld -v
> +binutils 2.25 ld -v
> flex 2.5.35 flex --version
> bison 2.0 bison --version
> pahole 1.16 pahole --version
> @@ -119,7 +119,7 @@ Bash 4.2 or newer is needed.
> Binutils
> --------
>
> -Binutils 2.23 or newer is needed to build the kernel.
> +Binutils 2.25 or newer is needed to build the kernel.
>
> pkg-config
> ----------
> diff --git a/scripts/min-tool-version.sh b/scripts/min-tool-version.sh
> index 8766e248ffbb..4e5b45d9b526 100755
> --- a/scripts/min-tool-version.sh
> +++ b/scripts/min-tool-version.sh
> @@ -14,7 +14,7 @@ fi
>
> case "$1" in
> binutils)
> - echo 2.23.0
> + echo 2.25.0
> ;;
> gcc)
> echo 5.1.0
> --
> 2.34.1
>


--
Thanks,
~Nick Desaulniers