aboutsummaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/Config.in7
-rw-r--r--toolchain/toolchain-external/toolchain-external-andes-nds32/Config.in2
2 files changed, 9 insertions, 0 deletions
diff --git a/toolchain/Config.in b/toolchain/Config.in
index 8c5a4fb88e..2da537e7d4 100644
--- a/toolchain/Config.in
+++ b/toolchain/Config.in
@@ -124,11 +124,18 @@ 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
bool
default y if BR2_microblaze
+ depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_8
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85862
# An infinite loop exists in the find_base_term() logic of 6.x
diff --git a/toolchain/toolchain-external/toolchain-external-andes-nds32/Config.in b/toolchain/toolchain-external/toolchain-external-andes-nds32/Config.in
index 2596fc3c8b..9c937b8c44 100644
--- a/toolchain/toolchain-external/toolchain-external-andes-nds32/Config.in
+++ b/toolchain/toolchain-external/toolchain-external-andes-nds32/Config.in
@@ -2,6 +2,8 @@ config BR2_TOOLCHAIN_EXTERNAL_ANDES_NDS32
bool "Andes nds32"
depends on BR2_nds32
depends on !BR2_STATIC_LIBS
+ depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
+ select BR2_HOSTARCH_NEEDS_IA32_LIBS
select BR2_TOOLCHAIN_GCC_AT_LEAST_8
select BR2_TOOLCHAIN_EXTERNAL_GLIBC
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_17