From 33ea4d7887b15ccb3e11d1390c697eee531af565 Mon Sep 17 00:00:00 2001 From: Giulio Benetti Date: Sun, 6 Feb 2022 15:24:03 +0100 Subject: [PATCH] toolchain: fix gcc bug 99140 condition Gcc bug 99140 exhibits with gcc versions: - up to 7.x - 9.x - 10.x and doesn't show up with gcc versions: - 8.x - 11.x then moving BR2_TOOLCHAIN_GCC_AT_LEAST_9 to BR2_TOOLCHAIN_GCC_AT_LEAST_10 makes gcc version 9 set as working but it's not. So let's back substitute BR2_TOOLCHAIN_GCC_AT_LEAST_10 with BR2_TOOLCHAIN_GCC_AT_LEAST_9. Signed-off-by: Giulio Benetti Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- toolchain/Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolchain/Config.in b/toolchain/Config.in index 53d2046379..d2c81217c8 100644 --- a/toolchain/Config.in +++ b/toolchain/Config.in @@ -189,7 +189,7 @@ config BR2_TOOLCHAIN_HAS_GCC_BUG_93847 config BR2_TOOLCHAIN_HAS_GCC_BUG_99140 bool default y if !BR2_TOOLCHAIN_GCC_AT_LEAST_8 - default y if BR2_TOOLCHAIN_GCC_AT_LEAST_10 && !BR2_TOOLCHAIN_GCC_AT_LEAST_11 + default y if BR2_TOOLCHAIN_GCC_AT_LEAST_9 && !BR2_TOOLCHAIN_GCC_AT_LEAST_11 depends on BR2_nios2 # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101737