* [PATCH] Documentation: raise minimum supported version of binutils to 2.25
@ 2022-10-12 18:18 Masahiro Yamada
2022-10-12 18:48 ` Linus Torvalds
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Masahiro Yamada @ 2022-10-12 18:18 UTC (permalink / raw)
To: Linus Torvalds, linux-kernel
Cc: linux-arch, Arnd Bergmann, Nick Desaulniers, Masahiro Yamada,
Jonathan Corbet, linux-doc
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
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
---
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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] Documentation: raise minimum supported version of binutils to 2.25
2022-10-12 18:18 [PATCH] Documentation: raise minimum supported version of binutils to 2.25 Masahiro Yamada
@ 2022-10-12 18:48 ` Linus Torvalds
2022-10-13 17:45 ` Nick Desaulniers
2022-12-13 12:12 ` Masahiro Yamada
2 siblings, 0 replies; 4+ messages in thread
From: Linus Torvalds @ 2022-10-12 18:48 UTC (permalink / raw)
To: Masahiro Yamada
Cc: linux-kernel, linux-arch, Arnd Bergmann, Nick Desaulniers,
Jonathan Corbet, linux-doc
On Wed, Oct 12, 2022 at 11:19 AM Masahiro Yamada <masahiroy@kernel.org> wrote:
>
> Bump the binutils version to 2.25, which was released one year before
> GCC 5.1.
Ack, sounds sane.
Linus
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] Documentation: raise minimum supported version of binutils to 2.25
2022-10-12 18:18 [PATCH] Documentation: raise minimum supported version of binutils to 2.25 Masahiro Yamada
2022-10-12 18:48 ` Linus Torvalds
@ 2022-10-13 17:45 ` Nick Desaulniers
2022-12-13 12:12 ` Masahiro Yamada
2 siblings, 0 replies; 4+ messages in thread
From: Nick Desaulniers @ 2022-10-13 17:45 UTC (permalink / raw)
To: Masahiro Yamada
Cc: Linus Torvalds, linux-kernel, linux-arch, Arnd Bergmann,
Jonathan Corbet, linux-doc
On Wed, Oct 12, 2022 at 11:19 AM Masahiro Yamada <masahiroy@kernel.org> 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@google.com>
>
> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
> ---
>
> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] Documentation: raise minimum supported version of binutils to 2.25
2022-10-12 18:18 [PATCH] Documentation: raise minimum supported version of binutils to 2.25 Masahiro Yamada
2022-10-12 18:48 ` Linus Torvalds
2022-10-13 17:45 ` Nick Desaulniers
@ 2022-12-13 12:12 ` Masahiro Yamada
2 siblings, 0 replies; 4+ messages in thread
From: Masahiro Yamada @ 2022-12-13 12:12 UTC (permalink / raw)
To: Linux Kbuild mailing list
Cc: linux-arch, Arnd Bergmann, Nick Desaulniers, Jonathan Corbet,
linux-doc, Linus Torvalds, linux-kernel
On Thu, Oct 13, 2022 at 3:19 AM Masahiro Yamada <masahiroy@kernel.org> 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
>
> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
I will pick this up to the kbuild tree
because it got Linus' ack.
> ---
>
> 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
>
--
Best Regards
Masahiro Yamada
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-12-13 12:22 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-12 18:18 [PATCH] Documentation: raise minimum supported version of binutils to 2.25 Masahiro Yamada
2022-10-12 18:48 ` Linus Torvalds
2022-10-13 17:45 ` Nick Desaulniers
2022-12-13 12:12 ` Masahiro Yamada
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.