Skip to contentSkip to conversation

package/binutils: add version 2.39

PATCH In review Waldemar Brodkorb 2 participants 3 messages Aug 11, 2022 – Aug 12, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 package/binutils: add version 2.39

Patch 0002-poison-system-directories.patch got rebased. Patch 0004+0005 is upstreamed and got removed.

---
 package/binutils/2.39/0001-sh-conf.patch      |  48 +++
 .../2.39/0002-poison-system-directories.patch | 298 ++++++++++++++++++
 ...or1k-fix-building-with-gcc-version-5.patch |  50 +++
 package/binutils/Config.in.host               |   4 +
 package/binutils/binutils.hash                |   1 +
 5 files changed, 401 insertions(+)
 create mode 100644 package/binutils/2.39/0001-sh-conf.patch
 create mode 100644 package/binutils/2.39/0002-poison-system-directories.patch
 create mode 100644 package/binutils/2.39/0003-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch
package/binutils/2.39/0001-sh-conf.patch new file +48 -0
new file mode 100644
index 0000000000..fcc597e4d9
@@ -0,0 +1,48 @@
+From 33f3c1f804efc2e4f97849081589efb70cda31e5 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).
+
+[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 3dd206525a7..6881ce632f5 100755
+--- a/configure
++++ b/configure
+@@ -3892,7 +3892,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 797a624621e..1f9256bbf18 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -1175,7 +1175,7 @@ case "${target}" in
+   nvptx*-*-*)
+     noconfigdirs="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
+     ;;
+-  sh-*-*)
++  sh*-*-*)
+     case "${target}" in
+       sh*-*-elf)
+          ;;
+-- 
+2.31.1
+
package/binutils/2.39/0002-poison-system-directories.patch new file +298 -0

298 lines not on this page · raw message

package/binutils/2.39/0003-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch new file +50 -0

50 lines not on this page · raw message

package/binutils/Config.in.host +4 -0
index 9fa0cc4e8d..dec00d3e2e 100644
@@ -21,6 +21,9 @@ config BR2_BINUTILS_VERSION_2_37_X
 config BR2_BINUTILS_VERSION_2_38_X
 	bool "binutils 2.38"
 
+config BR2_BINUTILS_VERSION_2_39_X
+	bool "binutils 2.39"
+
 config BR2_BINUTILS_VERSION_ARC
 	bool "binutils arc (2.34.50)"
 	depends on BR2_arc
@@ -33,6 +36,7 @@ config BR2_BINUTILS_VERSION
 	default "2.36.1"	if BR2_BINUTILS_VERSION_2_36_X
 	default "2.37"		if BR2_BINUTILS_VERSION_2_37_X
 	default "2.38"		if BR2_BINUTILS_VERSION_2_38_X
+	default "2.39"		if BR2_BINUTILS_VERSION_2_39_X
 
 config BR2_BINUTILS_EXTRA_CONFIG_OPTIONS
 	string "Additional binutils options"
package/binutils/binutils.hash +1 -0
index e98cb85275..7acf6fb52d 100644
@@ -2,6 +2,7 @@
 sha512  cc24590bcead10b90763386b6f96bb027d7594c659c2d95174a6352e8b98465a50ec3e4088d0da038428abe059bbc4ae5f37b269f31a40fc048072c8a234f4e9  binutils-2.36.1.tar.xz
 sha512  5c11aeef6935860a6819ed3a3c93371f052e52b4bdc5033da36037c1544d013b7f12cb8d561ec954fe7469a68f1b66f1a3cd53d5a3af7293635a90d69edd15e7  binutils-2.37.tar.xz
 sha512  8bf0b0d193c9c010e0518ee2b2e5a830898af206510992483b427477ed178396cd210235e85fd7bd99a96fc6d5eedbeccbd48317a10f752b7336ada8b2bb826d  binutils-2.38.tar.xz
+sha512  68e038f339a8c21faa19a57bbc447a51c817f47c2e06d740847c6e9cc3396c025d35d5369fa8c3f8b70414757c89f0e577939ddc0d70f283182504920f53b0a3  binutils-2.39.tar.xz
 
 # Locally calculated (fetched from Github)
 sha512  76a8227a19218435319c660e4983ea17985194b7f496f163e97543e7f6fd3e9249241fdc05a16ba512fba96a1d846c1f7b080983404d821d6215f10e7f11e238  binutils-gdb-arc-2020.09-release.tar.gz
Signature · 6 lines
2.30.2

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 4 lines · On Thu, 11 Aug 2022 13:45:29 +0200 Waldemar Brodkorb <[email protected]> wrote:

Patch 0002-poison-system-directories.patch got rebased. Patch 0004+0005 is upstreamed and got removed.

Quoted 10 lines
---
 package/binutils/2.39/0001-sh-conf.patch      |  48 +++
 .../2.39/0002-poison-system-directories.patch | 298 ++++++++++++++++++
 ...or1k-fix-building-with-gcc-version-5.patch |  50 +++
 package/binutils/Config.in.host               |   4 +
 package/binutils/binutils.hash                |   1 +
 5 files changed, 401 insertions(+)
 create mode 100644 package/binutils/2.39/0001-sh-conf.patch
 create mode 100644 package/binutils/2.39/0002-poison-system-directories.patch
 create mode 100644 package/binutils/2.39/0003-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch

Thanks for this patch series! We will keep this for 2022.11, so we will merge this to next once 2022.08-rc1 is released.

Thanks!

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw
In reply to Waldemar Brodkorb
Quoted 4 lines · On Thu, 11 Aug 2022 13:45:29 +0200 Waldemar Brodkorb <[email protected]> wrote:

Patch 0002-poison-system-directories.patch got rebased. Patch 0004+0005 is upstreamed and got removed.

Quoted 10 lines
---
 package/binutils/2.39/0001-sh-conf.patch      |  48 +++
 .../2.39/0002-poison-system-directories.patch | 298 ++++++++++++++++++
 ...or1k-fix-building-with-gcc-version-5.patch |  50 +++
 package/binutils/Config.in.host               |   4 +
 package/binutils/binutils.hash                |   1 +
 5 files changed, 401 insertions(+)
 create mode 100644 package/binutils/2.39/0001-sh-conf.patch
 create mode 100644 package/binutils/2.39/0002-poison-system-directories.patch
 create mode 100644 package/binutils/2.39/0003-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch

Both applied to next. Thanks!

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot