toolchain: remove binutils bug 21464
authorGiulio Benetti <giulio.benetti@benettiengineering.com>
Fri, 21 May 2021 14:09:42 +0000 (16:09 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 26 Jul 2021 21:53:23 +0000 (23:53 +0200)
This bug has been fixed upstream and backported to buildroot binutils
package. So let's remove it from toolchain/Config.in and from packages
that are affected by it:
- libgeos
- postgis
- protobuf

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Reviewed-by: Maxim Kochetkov <fido_max@inbox.ru>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/libgeos/Config.in
package/postgis/Config.in
package/protobuf/Config.in
toolchain/Config.in

index 86a1cddcf36872c52209206ee7c7fa07ab2056b9..124e2da6612da125e3f1fbcb28bf800efee6e622 100644 (file)
@@ -2,7 +2,6 @@ config BR2_PACKAGE_LIBGEOS
        bool "libgeos"
        depends on BR2_INSTALL_LIBSTDCPP
        depends on BR2_USE_WCHAR
-       depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_21464
        depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597
        help
          GEOS (Geometry Engine - Open Source) is a C++ port of the
@@ -13,7 +12,6 @@ config BR2_PACKAGE_LIBGEOS
 
          https://trac.osgeo.org/geos
 
-comment "libgeos needs a toolchain w/ C++, wchar, not binutils bug 21464, 27597"
+comment "libgeos needs a toolchain w/ C++, wchar, not binutils bug 27597"
        depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
-                  BR2_TOOLCHAIN_HAS_BINUTILS_BUG_21464 || \
                   BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597
index 04705f7e16e6cd22522a4ffbff1598764e7c4477..78c52ea7b23d34371a41d7886b283a5e00bfa80b 100644 (file)
@@ -6,7 +6,6 @@ config BR2_PACKAGE_POSTGIS
        depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # C++11, proj
        depends on BR2_TOOLCHAIN_HAS_THREADS # proj
        depends on BR2_USE_WCHAR # libgeos, proj
-       depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_21464 # libgeos
        depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597 # libgeos
        select BR2_PACKAGE_LIBGEOS
        select BR2_PACKAGE_PROJ
@@ -20,9 +19,8 @@ config BR2_PACKAGE_POSTGIS
 
          https://postgis.net/
 
-comment "postgis needs a toolchain w/ C++, threads, wchar, gcc >= 4.7, not binutils bug 21464, 27597"
+comment "postgis needs a toolchain w/ C++, threads, wchar, gcc >= 4.7, not binutils bug 27597"
        depends on !BR2_microblazeel && !BR2_microblazebe # ICE
        depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 || \
                !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || \
-               BR2_TOOLCHAIN_HAS_BINUTILS_BUG_21464 || \
                BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597
index 30050950aaeeffbda67636fa937a9a347ee845a4..46c820b9cfa673c7e755ad9f458eb8c313067f7a 100644 (file)
@@ -24,7 +24,6 @@ config BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS
        default y if BR2_TOOLCHAIN_HAS_ATOMIC
        depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
        depends on BR2_USE_MMU # fork()
-       depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_21464
 
 config BR2_PACKAGE_PROTOBUF
        bool "protobuf"
index 03375e0c525c2eb3e3fee64f7f6913894e8bb9f2..255832edc9d7bb448ad5585871a4d3371d43d1e5 100644 (file)
@@ -71,12 +71,6 @@ source "package/gdb/Config.in.host"
 
 comment "Toolchain Generic Options"
 
-# 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
-       bool
-       default y if BR2_or1k
-
 # https://sourceware.org/bugzilla/show_bug.cgi?id=27597
 # Affect toolchains built with binutils 2.36.1, still not fixed.
 config BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597