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 <giulio.benetti@benettiengineering.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2022.08.x
Giulio Benetti 2022-07-29 18:24:30 +02:00 committed by Thomas Petazzoni
parent 5df2f9ff1c
commit 1e1d45a9bc
1 changed files with 3 additions and 3 deletions

View File

@ -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