package/binutils: add version 2.35.1
PATCH 1/2 package/binutils: add version 2.35.1
See:
https://sourceware.org/pipermail/binutils/2020-July/112530.html (2.35)
https://sourceware.org/pipermail/binutils/2020-September/113375.html (2.35.1)
Tested by https://gitlab.com/kubu93/buildroot/-/pipelines/197379288
---
Ignore the qemu_arm_vexpress_defconfig issue in the gitlab pipeline.
package/binutils/2.35.1/0001-sh-conf.patch | 48 +++ .../0002-poison-system-directories.patch | 306 ++++++++++++++++++ package/binutils/Config.in.host | 8 + package/binutils/binutils.hash | 1 + 4 files changed, 363 insertions(+) create mode 100644 package/binutils/2.35.1/0001-sh-conf.patch create mode 100644 package/binutils/2.35.1/0002-poison-system-directories.patch
package/binutils/2.35.1/0001-sh-conf.patch new file +48 -0
@@ -0,0 +1,48 @@ +From ae50e875f4292c99b859cded1d036e401b6ddaec 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 54d0339ab9e..c2f51ffcebb 100755 +--- a/configure ++++ b/configure +@@ -3937,7 +3937,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 a910c4fd6ba..a93d93c81c3 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -1178,7 +1178,7 @@ case "${target}" in + nvptx*-*-*) + noconfigdirs="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc" + ;; +- sh-*-*) ++ sh*-*-*) + case "${target}" in + sh*-*-elf) + ;; +-- +2.25.4 +
package/binutils/2.35.1/0002-poison-system-directories.patch new file +306 -0
306 lines not on this page · raw message
package/binutils/Config.in.host +8 -0
@@ -31,6 +31,13 @@ config BR2_BINUTILS_VERSION_2_34_X # https://github.com/uclinux-dev/elf2flt/issues/12 depends on !BR2_BINFMT_FLAT +config BR2_BINUTILS_VERSION_2_35_X + bool "binutils 2.35.1" + depends on !BR2_csky + # https://github.com/uclinux-dev/elf2flt/pull/16 + # https://github.com/uclinux-dev/elf2flt/issues/12 + depends on !BR2_BINFMT_FLAT + config BR2_BINUTILS_VERSION_ARC bool "binutils arc (2.31)" depends on BR2_arc
@@ -48,6 +55,7 @@ config BR2_BINUTILS_VERSION default "2.32" if BR2_BINUTILS_VERSION_2_32_X default "2.33.1" if BR2_BINUTILS_VERSION_2_33_X default "2.34" if BR2_BINUTILS_VERSION_2_34_X + default "2.35.1" if BR2_BINUTILS_VERSION_2_35_X config BR2_BINUTILS_ENABLE_LTO bool
package/binutils/binutils.hash +1 -0
@@ -2,6 +2,7 @@ sha512 d326408f12a03d9a61a9de56584c2af12f81c2e50d2d7e835d51565df8314df01575724afa1e43bd0db45cfc9916b41519b67dfce03232aa4978704492a6994a binutils-2.32.tar.xz sha512 b7a6767c6c7ca6b5cafa7080e6820b7bb3a53b7148348c438d99905defbdf0d30c9744a484ee01c9441a8153901808513366b15ba9533e20c9673c262ade36ac binutils-2.33.1.tar.xz sha512 2c7976939dcf5e8c5b7374cccd39bfe803b1bec73c6abfa0eb17c24e1942574c6bdb874c66a092a82adc443182eacd8a5a8001c19a76101f0c7ba40c27de0bbd binutils-2.34.tar.xz +sha512 94ff72708403413b70b247f3af4099ebaa882b6659249869f1ed9941a0f1912e313f08357d470f9fd2359e7f5e5b0eb86285e5eaf883fa8187789d6b1bd304eb binutils-2.35.1.tar.xz # Locally calculated (fetched from Github) sha512 99c87ea97b43719dd9ce8193d60a5a6f0abc0479e8ebabbd32876f54807cd02d1280c691ef19e12cb79946280d2a4c1562bbb1a175a31ff1533720a623c3059a binutils-gdb-arc-2020.03-release.tar.gz
Signature · 1 line
2.25.4
PATCH 2/2 package/binutils: switch to use 2.34 as the default version
Now that binutils 2.35.1 has been released, it is time to move to binutils 2.34 as the default binutils version, instead of 2.33.1.
--- 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
@@ -7,7 +7,7 @@ config BR2_PACKAGE_HOST_BINUTILS_SUPPORTS_CFI choice prompt "Binutils Version" - default BR2_BINUTILS_VERSION_2_33_X if !BR2_arc && !BR2_csky + default BR2_BINUTILS_VERSION_2_34_X if !BR2_arc && !BR2_csky default BR2_BINUTILS_VERSION_ARC if BR2_arc default BR2_BINUTILS_VERSION_CSKY if BR2_csky help
package/binutils/binutils.mk +1 -1
@@ -11,7 +11,7 @@ ifeq ($(BINUTILS_VERSION),) ifeq ($(BR2_arc),y) BINUTILS_VERSION = arc-2020.03-release else -BINUTILS_VERSION = 2.33.1 +BINUTILS_VERSION = 2.34 endif endif # BINUTILS_VERSION
Signature · 1 line
2.25.4
PATCH 1/2 package/binutils: add version 2.35.1
In reply to Romain NaourQuoted 9 lines · On Fri, 2 Oct 2020 17:57:50 +0200 Romain Naour <[email protected]> wrote:
See:
https://sourceware.org/pipermail/binutils/2020-July/112530.html (2.35)
https://sourceware.org/pipermail/binutils/2020-September/113375.html (2.35.1)Tested by https://gitlab.com/kubu93/buildroot/-/pipelines/197379288
Signed-off-by Romain Naour <[email protected]>---
Ignore theqemu_arm_vexpress_defconfigissue in the gitlab pipeline.
Thanks, series applied. We should perhaps get rid of binutils 2.33, and keep only binutils 2.32 to have something working for noMMU platforms ?
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com