Skip to contentSkip to conversation

Documentation: raise minimum supported version of binutils to 2.25

PATCH In review Masahiro Yamada 3 participants 4 messages Oct 12, 2022 – Dec 13, 2022

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Documentation: raise minimum supported version of binutils to 2.25

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

---

 Documentation/process/changes.rst | 4 ++--
 scripts/min-tool-version.sh       | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
Documentation/process/changes.rst +2 -2
index 9844ca3a71a6..ef540865ad22 100644
@@ -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
 ----------
scripts/min-tool-version.sh +1 -1
index 8766e248ffbb..4e5b45d9b526 100755
@@ -14,7 +14,7 @@ fi
 
 case "$1" in
 binutils)
-	echo 2.23.0
+	echo 2.25.0
 	;;
 gcc)
 	echo 5.1.0
Signature · 1 line
2.34.1
#1 lore raw
Quoted 3 lines · Masahiro Yamada

Bump the binutils version to 2.25, which was released one year before GCC 5.1.

Ack, sounds sane.

Linus

Reviewed-by on v1 1/1
#2 lore raw
In reply to Masahiro Yamada
Quoted 8 lines · Masahiro Yamada

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.

Quoted 6 lines

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/

Quoted 46 lines

---

 Documentation/process/changes.rst | 4 ++--
 scripts/min-tool-version.sh       | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
Documentation/process/changes.rst +2 -2
index 9844ca3a71a6..ef540865ad22 100644
@@ -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
 ----------
scripts/min-tool-version.sh +1 -2
index 8766e248ffbb..4e5b45d9b526 100755
@@ -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

Signature · 2 lines
Thanks,
~Nick Desaulniers
#3 lore raw
In reply to Masahiro Yamada
Quoted 8 lines · Masahiro Yamada

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.

Quoted 8 lines

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

I will pick this up to the kbuild tree
because it got Linus' ack.

Quoted 44 lines

---

 Documentation/process/changes.rst | 4 ++--
 scripts/min-tool-version.sh       | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
Documentation/process/changes.rst +2 -2
index 9844ca3a71a6..ef540865ad22 100644
@@ -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
 ----------
scripts/min-tool-version.sh +1 -2
index 8766e248ffbb..4e5b45d9b526 100755
@@ -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

Signature · 2 lines
Best Regards
Masahiro Yamada