[Buildroot] [git commit branch/2021.02.x] toolchain: introduce BR2_TOOLCHAIN_HAS_GCC_BUG_101737
Peter Korsgaard
peter at korsgaard.com
Sun Aug 8 19:01:58 UTC 2021
commit: https://git.buildroot.net/buildroot/commit/?id=129c4ecdc3c89eb486caec4943d2221d6b90e1ca
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2021.02.x
pixman package fails to build for the SH4 architecture with optimization
enabled with gcc up to 11.1.0:
http://autobuild.buildroot.net/results/b20/b20869bbb48edb1f0a847ea9e2e1a0462d6350be/
It's been reported upstream:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101737
Signed-off-by: Giulio Benetti <giulio.benetti at benettiengineering.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
(cherry picked from commit 4b22106fb5e199aa26f148b0b159aecb7da7f7e0)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
toolchain/Config.in | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/toolchain/Config.in b/toolchain/Config.in
index 5c4af50b8e..9dafa173ad 100644
--- a/toolchain/Config.in
+++ b/toolchain/Config.in
@@ -176,6 +176,13 @@ config BR2_TOOLCHAIN_HAS_GCC_BUG_99140
bool
default y if BR2_nios2 && !BR2_TOOLCHAIN_GCC_AT_LEAST_8
+# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101737
+# ICE: SH4 -Os causes internal compiler error. This bug
+# still exists in gcc = 11.1.0
+config BR2_TOOLCHAIN_HAS_GCC_BUG_101737
+ bool
+ default y if BR2_sh4
+
config BR2_TOOLCHAIN_HAS_NATIVE_RPC
bool
More information about the buildroot
mailing list