[Buildroot] [PATCH 1/3] toolchain: introduce BR2_TOOLCHAIN_HAS_GCC_BUG_97208
Giulio Benetti
giulio.benetti at benettiengineering.com
Fri Aug 13 21:37:43 UTC 2021
lmbench package fails to build for the Microblaze architecture with
optimization enabled with gcc = 11.1.0:
http://autobuild.buildroot.net/results/ae1/ae1e4d61ed367c6cb64442c60d98882cc7985346/
It's been reported upstream by Romain Naour:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97208
Cc: Roman Naour <romain.naour at gmail.com>
Signed-off-by: Giulio Benetti <giulio.benetti at benettiengineering.com>
---
toolchain/Config.in | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/toolchain/Config.in b/toolchain/Config.in
index 3888eeafe2..1dae0cb2cc 100644
--- a/toolchain/Config.in
+++ b/toolchain/Config.in
@@ -163,6 +163,13 @@ config BR2_TOOLCHAIN_HAS_GCC_BUG_93847
bool
default y if BR2_nios2 && !BR2_TOOLCHAIN_GCC_AT_LEAST_9
+# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97208
+# ICE: in extract_insn, at recog.c:2294 on microblaze.
+# This bug still exists in gcc = 11.1.0
+config BR2_TOOLCHAIN_HAS_GCC_BUG_97208
+ bool
+ default y if BR2_microblaze
+
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99410
# Error: branch offset out of range on Nios II. This bug
# no longer exists in gcc >= 9.x.
--
2.25.1
More information about the buildroot
mailing list