Przeglądaj źródła

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>
Romain Naour 6 miesięcy temu
rodzic
commit
237bd32f0b
3 zmienionych plików z 0 dodań i 18 usunięć
  1. 0 4
      package/belle-sip/belle-sip.mk
  2. 0 4
      package/matio/matio.mk
  3. 0 10
      toolchain/Config.in

+ 0 - 4
package/belle-sip/belle-sip.mk

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

+ 0 - 4
package/matio/matio.mk

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

+ 0 - 10
toolchain/Config.in

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