toolchain: introduce BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597
authorGiulio Benetti <giulio.benetti@benettiengineering.com>
Wed, 17 Mar 2021 16:34:58 +0000 (17:34 +0100)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Mon, 26 Apr 2021 19:52:34 +0000 (21:52 +0200)
On Nios II binutils it still present ld bug 27597 leading to a package
libgeos to fail building:
http://autobuild.buildroot.net/results/a05fdf1958f93a206c5c66c7f636b6650683626d/http://autobuild.buildroot.net/results/c05/c053b9e191b31f0b1f8f8c902b602e187f714dc0/

The bug was already reported and it's been updated:
https://sourceware.org/bugzilla/show_bug.cgi?id=27597

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
toolchain/Config.in

index c4df5f1274e8acfbfa93dc47ca5e234292411374..0181ef07de3efa42fee94dd04d63f872eab0bcc1 100644 (file)
@@ -77,6 +77,12 @@ 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
+       bool
+       default y if BR2_nios2
+
 # Atomic types can be:
 #  - never lock-free
 #  - sometimes lock-free