mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 21:23:51 -09:00
toolchain: remove BR2_TOOLCHAIN_HAS_GCC_BUG_93847 (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:
committed by
Julien Olivain
parent
895fe8d0f7
commit
febe8a888c
@@ -290,10 +290,6 @@ ASTERISK_MAKE_OPTS += OPTIMIZE=""
|
||||
|
||||
ASTERISK_CFLAGS = $(TARGET_CFLAGS)
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_93847),y)
|
||||
ASTERISK_CFLAGS += -O0
|
||||
endif
|
||||
|
||||
ASTERISK_CONF_OPTS += CFLAGS="$(ASTERISK_CFLAGS)"
|
||||
|
||||
# We want to install sample configuration files, too.
|
||||
|
||||
@@ -66,7 +66,7 @@ endif
|
||||
|
||||
GIT_CFLAGS = $(TARGET_CFLAGS)
|
||||
|
||||
ifneq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180)$(BR2_TOOLCHAIN_HAS_GCC_BUG_93847),)
|
||||
ifneq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),)
|
||||
GIT_CFLAGS += -O0
|
||||
endif
|
||||
|
||||
|
||||
@@ -180,13 +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=93847
|
||||
# ICE: compiler error: Segmentation fault on Nios II. This bug
|
||||
# no longer exists in gcc 9.x.
|
||||
config BR2_TOOLCHAIN_HAS_GCC_BUG_93847
|
||||
bool
|
||||
default y if BR2_nios2 && !BR2_TOOLCHAIN_GCC_AT_LEAST_9
|
||||
|
||||
# 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
|
||||
|
||||
Reference in New Issue
Block a user