[Buildroot] [PATCH] toolchain: drop old BR2_TOOLCHAIN_HAS_BINUTILS_BUG_* options

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sun Mar 14 22:01:37 UTC 2021


The BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19615 and
BR2_TOOLCHAIN_HAS_BINUTILS_BUG_20006 options were last selected by the
BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AMD64 toolchain, but this
toolchain has been removed as part of commit
d87e114a8ffacdc71f853e7c4ea76fd3c6958d22 in August 2020.

It's time to get rid of those two options that are never enabled.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
 boot/syslinux/Config.in   |  1 -
 package/go/Config.in.host |  1 -
 toolchain/Config.in       | 10 ----------
 3 files changed, 12 deletions(-)

diff --git a/boot/syslinux/Config.in b/boot/syslinux/Config.in
index 339a97f0e4..c95dac1804 100644
--- a/boot/syslinux/Config.in
+++ b/boot/syslinux/Config.in
@@ -35,7 +35,6 @@ config BR2_TARGET_SYSLINUX_PXELINUX
 
 config BR2_TARGET_SYSLINUX_MBR
 	bool "install mbr"
-	depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19615
 	select BR2_TARGET_SYSLINUX_LEGACY_BIOS
 	help
 	  Install the legacy-BIOS 'mbr' image, to boot off a
diff --git a/package/go/Config.in.host b/package/go/Config.in.host
index 87942c7a1e..e82ab6e81a 100644
--- a/package/go/Config.in.host
+++ b/package/go/Config.in.host
@@ -2,7 +2,6 @@
 config BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS
 	bool
 	default y
-	depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_20006
 	depends on BR2_PACKAGE_HOST_GO_BOOTSTRAP_ARCH_SUPPORTS
 	depends on (BR2_arm && BR2_TOOLCHAIN_SUPPORTS_PIE) || BR2_aarch64 \
 		|| BR2_i386 || BR2_x86_64 || BR2_powerpc64le \
diff --git a/toolchain/Config.in b/toolchain/Config.in
index f3f9bbe641..dc1e710603 100644
--- a/toolchain/Config.in
+++ b/toolchain/Config.in
@@ -71,16 +71,6 @@ source "package/gdb/Config.in.host"
 
 comment "Toolchain Generic Options"
 
-# https://sourceware.org/bugzilla/show_bug.cgi?id=19615
-# Affect toolchains built with binutils 2.26 (fixed in binutils 2.26.1).
-config BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19615
-	bool
-
-# https://sourceware.org/bugzilla/show_bug.cgi?id=20006
-# Affect toolchains built with binutils 2.26 (fixed in binutils 2.26.1).
-config BR2_TOOLCHAIN_HAS_BINUTILS_BUG_20006
-	bool
-
 # https://sourceware.org/bugzilla/show_bug.cgi?id=21464
 # Affect toolchains built with binutils 2.31.1, still not fixed.
 config BR2_TOOLCHAIN_HAS_BINUTILS_BUG_21464
-- 
2.29.2



More information about the buildroot mailing list