toolchain: introduce BR2_TOOLCHAIN_HAS_GCC_BUG_68485
authorGiulio Benetti <giulio.benetti@micronovasrl.com>
Mon, 27 May 2019 21:05:09 +0000 (23:05 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tue, 28 May 2019 07:52:02 +0000 (09:52 +0200)
GCC hangs while building brotli for the Microblaze Arch:
http://autobuild.buildroot.net/results/d86/d86251974a0a348a64d9a1d1fd7d02dd4aff0792/

Originally reported for gpsd:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68485

Still not fixed. Every Microblaze Gcc version up to and including 9.1
is affected.

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

index 6421f6fcbbfbe7aab674b67aa6a3926ba5d7d9ab..2da537e7d4c879d5931180b103661fa57f242c8a 100644 (file)
@@ -124,6 +124,12 @@ config BR2_TOOLCHAIN_HAS_GCC_BUG_64735
        default y if !BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS && \
                !BR2_TOOLCHAIN_GCC_AT_LEAST_7
 
+# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68485. This bug still
+# exists in gcc 9.x
+config BR2_TOOLCHAIN_HAS_GCC_BUG_68485
+       bool
+       default y if BR2_microblaze
+
 # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85180. This bug no
 # longer exists in gcc 8.x.
 config BR2_TOOLCHAIN_HAS_GCC_BUG_85180