[Buildroot] [PATCH 1/2] toolchain: introduce BR2_TOOLCHAIN_HAS_GCC_BUG_91591

Giulio Benetti giulio.benetti at micronovasrl.com
Wed Aug 28 22:36:45 UTC 2019


GCC fails building the dawgdic package for the Arc architecture:

http://autobuild.buildroot.org/results/64706f96db793777de9d3ec63b0a47d776cf33fd/

The gcc bug was originally reported:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91591

This gcc bug no longer appears with gcc 9.x

Signed-off-by: Giulio Benetti <giulio.benetti at micronovasrl.com>
---
 toolchain/Config.in | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/toolchain/Config.in b/toolchain/Config.in
index bd2c547ff1..d2c104c576 100644
--- a/toolchain/Config.in
+++ b/toolchain/Config.in
@@ -159,6 +159,12 @@ config BR2_TOOLCHAIN_HAS_GCC_BUG_90620
 	bool
 	default y if BR2_microblaze
 
+# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91591
+config BR2_TOOLCHAIN_HAS_GCC_BUG_91591
+	bool
+	default y if BR2_arc
+	depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_9
+
 config BR2_TOOLCHAIN_HAS_NATIVE_RPC
 	bool
 
-- 
2.17.1



More information about the buildroot mailing list