Skip to contentSkip to conversation

Bump binutils to 2.44

PATCH New Thomas Petazzoni via buildroot 2 participants 7 messages Feb 3, 2025 – Feb 4, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Bump binutils to 2.44

Hello,

This patch does our usual dance of adding binutils 2.44, make 2.43 the default, drop 2.41.

Thomas

Thomas Petazzoni (3):
package/binutils: add support for version 2.44
package/binutils: make 2.43 the default version
package/binutils: drop binutils 2.41

 Config.in.legacy                              |   6 +
 ...ertion-fail-in-nios2_elf32_install_i.patch | 125 ------------------
 .../{2.41 => 2.44}/0001-sh-conf.patch         |  12 +-
 .../0002-poison-system-directories.patch      |  65 ++++-----
 package/binutils/Config.in.host               |  10 +-
 package/binutils/binutils.hash                |   2 +-
 package/binutils/binutils.mk                  |   2 +-
 7 files changed, 52 insertions(+), 170 deletions(-)
 delete mode 100644 package/binutils/2.41/0003-PR27597-nios-assertion-fail-in-nios2_elf32_install_i.patch
 rename package/binutils/{2.41 => 2.44}/0001-sh-conf.patch (84%)
 rename package/binutils/{2.41 => 2.44}/0002-poison-system-directories.patch (87%)
Signature · 6 lines
2.48.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

PATCH 1/1 package/binutils: add support for version 2.44

Release notes:
https://sourceware.org/pipermail/binutils/2025-February/139195.html

---
 package/binutils/2.44/0001-sh-conf.patch      |  50 +++
 .../2.44/0002-poison-system-directories.patch | 310 ++++++++++++++++++
 package/binutils/Config.in.host               |   4 +
 package/binutils/binutils.hash                |   1 +
 4 files changed, 365 insertions(+)
 create mode 100644 package/binutils/2.44/0001-sh-conf.patch
 create mode 100644 package/binutils/2.44/0002-poison-system-directories.patch
package/binutils/2.44/0001-sh-conf.patch new file +50 -0
new file mode 100644
index 0000000000..e56f52b9d8
@@ -0,0 +1,50 @@
+From d5f66b0da8d1e0ed091bff65f8a4db10a82a5420 Mon Sep 17 00:00:00 2001
+From: Romain Naour <[email protected]>
+Date: Fri, 25 Dec 2015 11:38:13 +0100
+Subject: [PATCH] sh-conf
+
+Likewise, binutils has no idea about any of these new targets either, so we
+fix that up too.. now we're able to actually build a real toolchain for
+sh2a_nofpu- and other more ineptly named toolchains (and yes, there are more
+inept targets than that one, really. Go look, I promise).
+
+Upstream: N/A [Buildroot specific]
+
+[Romain: rebase on top of 2.32]
+Signed-off-by: Romain Naour <[email protected]>
+[Thomas: rebase on top of 2.29, in which sh64 support was removed.]
+Signed-off-by: Thomas Petazzoni <[email protected]>
+---
+ configure    | 2 +-
+ configure.ac | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/configure b/configure
+index bbfb5979546..bcd95684ae1 100755
+--- a/configure
++++ b/configure
+@@ -4056,7 +4056,7 @@ case "${target}" in
+   nvptx*-*-*)
+     noconfigdirs="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
+     ;;
+-  sh-*-*)
++  sh*-*-*)
+     case "${target}" in
+       sh*-*-elf)
+          ;;
+diff --git a/configure.ac b/configure.ac
+index f9694cdf901..d6a3623ba50 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -1278,7 +1278,7 @@ case "${target}" in
+   nvptx*-*-*)
+     noconfigdirs="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
+     ;;
+-  sh-*-*)
++  sh*-*-*)
+     case "${target}" in
+       sh*-*-elf)
+          ;;
+-- 
+2.48.1
+
package/binutils/2.44/0002-poison-system-directories.patch new file +310 -0

310 lines not on this page · raw message

package/binutils/Config.in.host +4 -0
index 16a57a5cb4..e2485fc6b5 100644
@@ -25,6 +25,9 @@ config BR2_BINUTILS_VERSION_2_42_X
 config BR2_BINUTILS_VERSION_2_43_X
 	bool "binutils 2.43.1"
 
+config BR2_BINUTILS_VERSION_2_44_X
+	bool "binutils 2.44"
+
 endchoice
 
 config BR2_BINUTILS_VERSION
@@ -33,6 +36,7 @@ config BR2_BINUTILS_VERSION
 	default "2.41"		if BR2_BINUTILS_VERSION_2_41_X
 	default "2.42"		if BR2_BINUTILS_VERSION_2_42_X
 	default "2.43.1"	if BR2_BINUTILS_VERSION_2_43_X
+	default "2.44"		if BR2_BINUTILS_VERSION_2_44_X
 
 config BR2_BINUTILS_GPROFNG
 	bool "gprofng support"
package/binutils/binutils.hash +1 -0
index 084793fc9f..2485693a86 100644
@@ -2,6 +2,7 @@
 sha512  5df45d0bd6ddabdce4f35878c041e46a92deef01e7dea5facc97fd65cc06b59abc6fba0eb454b68e571c7e14038dc823fe7f2263843e6e627b7444eaf0fe9374  binutils-2.41.tar.xz
 sha512  155f3ba14cd220102f4f29a4f1e5cfee3c48aa03b74603460d05afb73c70d6657a9d87eee6eb88bf13203fe6f31177a5c9addc04384e956e7da8069c8ecd20a6  binutils-2.42.tar.xz
 sha512  20977ad17729141a2c26d358628f44a0944b84dcfefdec2ba029c2d02f40dfc41cc91c0631044560d2bd6f9a51e1f15846b4b311befbe14f1239f14ff7d57824  binutils-2.43.1.tar.xz
+sha512  b85d3bbc0e334cf67a96219d3c7c65fbf3e832b2c98a7417bf131f3645a0307057ec81cd2b29ff2563cec53e3d42f73e2c60cc5708e80d4a730efdcc6ae14ad7  binutils-2.44.tar.xz
 
 # Locally calculated (fetched from Github)
 sha512  3518b47d5c11d1fb478ee152bde1719363f9391db73f3b9f5491217c17742bef8ebca6a51a40302dfaa9476c5a32a8b8f70a4bf64289422dea5f750ae53ab88d  binutils-gdb-arc-2023.09-release.tar.gz
Signature · 6 lines
2.48.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw

Re: [Buildroot] [PATCH] package/binutils: add support for version 2.44

Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni via buildroot <[email protected]> writes:

Release notes:
https://sourceware.org/pipermail/binutils/2025-February/139195.html

Committed, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#3 lore raw

PATCH 1/1 package/binutils: drop binutils 2.41

In reply to Thomas Petazzoni via buildroot

Now that we have added binutils 2.44, made binutils 2.43 the default, let's continue to follow our usual policy and drop support for binutils 2.41.

---
 Config.in.legacy                              |   6 +
 package/binutils/2.41/0001-sh-conf.patch      |  50 ---
 .../2.41/0002-poison-system-directories.patch | 309 ------------------
 ...ertion-fail-in-nios2_elf32_install_i.patch | 125 -------
 package/binutils/Config.in.host               |   4 -
 package/binutils/binutils.hash                |   1 -
 6 files changed, 6 insertions(+), 489 deletions(-)
 delete mode 100644 package/binutils/2.41/0001-sh-conf.patch
 delete mode 100644 package/binutils/2.41/0002-poison-system-directories.patch
 delete mode 100644 package/binutils/2.41/0003-PR27597-nios-assertion-fail-in-nios2_elf32_install_i.patch
Config.in.legacy +6 -0
index abc65d0c9a..359fa0449b 100644
@@ -146,6 +146,12 @@ endif
 
 comment "Legacy options removed in 2025.02"
 
+config BR2_BINUTILS_VERSION_2_41_X
+	bool "binutils 2.41 has been removed"
+	select BR2_LEGACY
+	help
+	  binutils 2.41 has been removed, use a newer version.
+
 config BR2_GDB_VERSION_13
 	bool "gdb 13.x has been removed"
 	select BR2_LEGACY
package/binutils/2.41/0001-sh-conf.patch deleted +0 -50

50 lines not on this page · raw message

package/binutils/2.41/0002-poison-system-directories.patch deleted +0 -309

309 lines not on this page · raw message

package/binutils/2.41/0003-PR27597-nios-assertion-fail-in-nios2_elf32_install_i.patch deleted +0 -125

125 lines not on this page · raw message

package/binutils/Config.in.host +0 -4
index 717d178a9e..8e0c21bae0 100644
@@ -12,9 +12,6 @@ choice
 	help
 	  Select the version of binutils you wish to use.
 
-config BR2_BINUTILS_VERSION_2_41_X
-	bool "binutils 2.41"
-
 config BR2_BINUTILS_VERSION_ARC
 	bool "binutils arc (2.41)"
 	depends on BR2_arc
@@ -33,7 +30,6 @@ endchoice
 config BR2_BINUTILS_VERSION
 	string
 	default "arc-2023.09-release"	if BR2_BINUTILS_VERSION_ARC
-	default "2.41"		if BR2_BINUTILS_VERSION_2_41_X
 	default "2.42"		if BR2_BINUTILS_VERSION_2_42_X
 	default "2.43.1"	if BR2_BINUTILS_VERSION_2_43_X
 	default "2.44"		if BR2_BINUTILS_VERSION_2_44_X
package/binutils/binutils.hash +0 -1
index 2485693a86..ec0a382501 100644
@@ -1,5 +1,4 @@
 # From https://gcc.gnu.org/pub/binutils/releases/sha512.sum
-sha512  5df45d0bd6ddabdce4f35878c041e46a92deef01e7dea5facc97fd65cc06b59abc6fba0eb454b68e571c7e14038dc823fe7f2263843e6e627b7444eaf0fe9374  binutils-2.41.tar.xz
 sha512  155f3ba14cd220102f4f29a4f1e5cfee3c48aa03b74603460d05afb73c70d6657a9d87eee6eb88bf13203fe6f31177a5c9addc04384e956e7da8069c8ecd20a6  binutils-2.42.tar.xz
 sha512  20977ad17729141a2c26d358628f44a0944b84dcfefdec2ba029c2d02f40dfc41cc91c0631044560d2bd6f9a51e1f15846b4b311befbe14f1239f14ff7d57824  binutils-2.43.1.tar.xz
 sha512  b85d3bbc0e334cf67a96219d3c7c65fbf3e832b2c98a7417bf131f3645a0307057ec81cd2b29ff2563cec53e3d42f73e2c60cc5708e80d4a730efdcc6ae14ad7  binutils-2.44.tar.xz
Signature · 6 lines
2.48.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#4 lore raw

Re: [Buildroot] [PATCH] package/binutils: drop binutils 2.41

Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni via buildroot <[email protected]> writes:

Now that we have added binutils 2.44, made binutils 2.43 the default, let's continue to follow our usual policy and drop support for binutils 2.41.

Committed, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#5 lore raw

PATCH 1/1 package/binutils: make 2.43 the default version

In reply to Thomas Petazzoni via buildroot

Now that we've added support for binutils 2.44, follow our usual process of masking the previous release, 2.43, the default one.

---
 package/binutils/Config.in.host | 2 +-
 package/binutils/binutils.mk    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
package/binutils/Config.in.host +1 -1
index e2485fc6b5..717d178a9e 100644
@@ -7,7 +7,7 @@ config BR2_PACKAGE_HOST_BINUTILS_SUPPORTS_CFI
 
 choice
 	prompt "Binutils Version"
-	default BR2_BINUTILS_VERSION_2_42_X if !BR2_arc
+	default BR2_BINUTILS_VERSION_2_43_X if !BR2_arc
 	default BR2_BINUTILS_VERSION_ARC if BR2_arc
 	help
 	  Select the version of binutils you wish to use.
package/binutils/binutils.mk +1 -1
index 3d1f77c8c4..227eeefc4f 100644
@@ -11,7 +11,7 @@ ifeq ($(BINUTILS_VERSION),)
 ifeq ($(BR2_arc),y)
 BINUTILS_VERSION = arc-2023.09-release
 else
-BINUTILS_VERSION = 2.42
+BINUTILS_VERSION = 2.43
 endif
 endif # BINUTILS_VERSION
 
Signature · 6 lines
2.48.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#6 lore raw

Re: [Buildroot] [PATCH] package/binutils: make 2.43 the default version

Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni via buildroot <[email protected]> writes:

Now that we've added support for binutils 2.44, follow our usual process of masking the previous release, 2.43, the default one.

Committed, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot