toolchain: remove BR2_TOOLCHAIN_HAS_GCC_BUG_99410 (nios2 only)

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
Romain Naour
2025-01-09 00:05:19 +01:00
committed by Julien Olivain
parent febe8a888c
commit 237bd32f0b
3 changed files with 0 additions and 18 deletions

View File

@@ -35,10 +35,6 @@ endif
BELLE_SIP_CFLAGS = $(TARGET_CFLAGS)
ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_99410),y)
BELLE_SIP_CFLAGS += -O0
endif
BELLE_SIP_CONF_OPTS += -DCMAKE_C_FLAGS="$(BELLE_SIP_CFLAGS)"
$(eval $(cmake-package))

View File

@@ -19,10 +19,6 @@ MATIO_CONF_ENV = ac_cv_va_copy=yes
MATIO_CFLAGS = $(TARGET_CFLAGS)
ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_99410),y)
MATIO_CFLAGS += -O0
endif
MATIO_CONF_ENV += CFLAGS="$(MATIO_CFLAGS)"
# mat73 require hdf5 (not available), extented-sparse take 2KB

View File

@@ -180,16 +180,6 @@ config BR2_TOOLCHAIN_HAS_GCC_BUG_90620
depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_10 \
|| BR2_TOOLCHAIN_GCC_AT_LEAST_11
# 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 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
depends on BR2_nios2
# 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