From 1e1d45a9bcb38e37d1b27388b267a790b56eb642 Mon Sep 17 00:00:00 2001 From: Giulio Benetti Date: Fri, 29 Jul 2022 18:24:30 +0200 Subject: [PATCH] toolchain/Config.in: update gcc bug 99410 Gcc bug 99410 reappeared while building with gcc 11.x and while testing it also shows up with gcc 12.x, so let's enable this bug for all gcc versions except gcc 8.x. Fixes: http://autobuild.buildroot.net/results/64e54ef5ba3a3dee391b788315615d57a1dd9fa2/ Signed-off-by: Giulio Benetti Signed-off-by: Thomas Petazzoni --- toolchain/Config.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/toolchain/Config.in b/toolchain/Config.in index ed3f6c6645..6071342d01 100644 --- a/toolchain/Config.in +++ b/toolchain/Config.in @@ -186,12 +186,12 @@ config BR2_TOOLCHAIN_HAS_GCC_BUG_93847 # 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 8.x but reappeared on gcc 9.x and has been -# fixed on gcc 11.x. +# no longer exists in gcc 8.x but reappeared on gcc 9.x and still exists +# on gcc 12.x config BR2_TOOLCHAIN_HAS_GCC_BUG_99410 bool default y if !BR2_TOOLCHAIN_GCC_AT_LEAST_8 - default y if BR2_TOOLCHAIN_GCC_AT_LEAST_9 && !BR2_TOOLCHAIN_GCC_AT_LEAST_11 + default y if BR2_TOOLCHAIN_GCC_AT_LEAST_9 depends on BR2_nios2 # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101737