package/Makefile.in: set -fno-dwarf2-cfi-asm for m68k_cf
Another package (libsquish) is affected by the "Internal error in emit_expr_encoded at dw2gencfi.c:215". This error already affects 5 packages and is due to binutils, see: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79509 No report has been made to binutils yet however as suggested by Yann during review of woff2 workaround (https://patchwork.ozlabs.org/patch/911344/), remove the workarounds from all these packages and put it in package/Makefile.in Fixes: http://autobuild.buildroot.org/results/77e06c092f4e7804dc166e259b25e779e5f1e83a Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
aa178bd659
commit
57ee0f74ec
@ -163,6 +163,12 @@ TARGET_CFLAGS = $(TARGET_CPPFLAGS) $(TARGET_ABI) $(TARGET_OPTIMIZATION) $(TARGET
|
||||
TARGET_CXXFLAGS = $(TARGET_CFLAGS)
|
||||
TARGET_FCFLAGS = $(TARGET_ABI) $(TARGET_OPTIMIZATION) $(TARGET_DEBUGGING)
|
||||
|
||||
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79509
|
||||
ifeq ($(BR2_m68k_cf),y)
|
||||
TARGET_CFLAGS += -fno-dwarf2-cfi-asm
|
||||
TARGET_CXXFLAGS += -fno-dwarf2-cfi-asm
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_BINFMT_FLAT),y)
|
||||
TARGET_CFLAGS += $(if $($(PKG)_FLAT_STACKSIZE),-Wl$(comma)-elf2flt=-s$($(PKG)_FLAT_STACKSIZE),\
|
||||
-Wl$(comma)-elf2flt)
|
||||
|
@ -20,18 +20,11 @@ BERKELEYDB_BINARIES = db_archive db_checkpoint db_deadlock db_dump \
|
||||
db_hotbackup db_load db_log_verify db_printlog db_recover db_replicate \
|
||||
db_stat db_tuner db_upgrade db_verify
|
||||
|
||||
# Internal error, aborting at dw2gencfi.c:214 in emit_expr_encoded
|
||||
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79509
|
||||
ifeq ($(BR2_m68k_cf),y)
|
||||
BERKELEYDB_CONF_ENV += CXXFLAGS="$(TARGET_CXXFLAGS) -fno-dwarf2-cfi-asm"
|
||||
endif
|
||||
|
||||
# build directory can't be the directory where configure are there, so..
|
||||
define BERKELEYDB_CONFIGURE_CMDS
|
||||
(cd $(@D)/build_unix; rm -rf config.cache; \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
$(TARGET_CONFIGURE_ARGS) \
|
||||
$(BERKELEYDB_CONF_ENV) \
|
||||
../dist/configure $(QUIET) \
|
||||
--target=$(GNU_TARGET_NAME) \
|
||||
--host=$(GNU_TARGET_NAME) \
|
||||
|
@ -12,12 +12,6 @@ KMSXX_INSTALL_STAGING = YES
|
||||
KMSXX_DEPENDENCIES = libdrm host-pkgconf
|
||||
KMSXX_CONF_OPTS = -DKMSXX_ENABLE_PYTHON=OFF
|
||||
|
||||
# Internal error, aborting at dw2gencfi.c:214 in emit_expr_encoded
|
||||
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79509
|
||||
ifeq ($(BR2_m68k_cf),y)
|
||||
KMSXX_CONF_OPTS += -DCMAKE_CXX_FLAGS="$(TARGET_CXXFLAGS) -fno-dwarf2-cfi-asm"
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_KMSXX_INSTALL_TESTS),y)
|
||||
KMSXX_TESTS = \
|
||||
fbtest kmsblank kmscapture \
|
||||
|
@ -11,12 +11,6 @@ LCDAPI_LICENSE_FILES = COPYING
|
||||
LCDAPI_AUTORECONF = YES
|
||||
LCDAPI_INSTALL_STAGING = YES
|
||||
|
||||
# Internal error, aborting at dw2gencfi.c:214 in emit_expr_encoded
|
||||
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79509
|
||||
ifeq ($(BR2_m68k_cf),y)
|
||||
LCDAPI_CONF_OPTS += CXXFLAGS="$(TARGET_CXXFLAGS) -fno-dwarf2-cfi-asm"
|
||||
endif
|
||||
|
||||
define LCDAPI_CREATE_M4_DIR
|
||||
mkdir -p $(@D)/m4
|
||||
endef
|
||||
|
@ -18,12 +18,4 @@ LIBASPLIB_CONF_OPTS = \
|
||||
-DBUILD_SIGNALS=ON \
|
||||
-DBUILD_TIMER=ON
|
||||
|
||||
# Internal error, aborting at dw2gencfi.c:214 in emit_expr_encoded
|
||||
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79509
|
||||
ifeq ($(BR2_m68k_cf),y)
|
||||
LIBASPLIB_CXXFLAGS += -fno-dwarf2-cfi-asm
|
||||
endif
|
||||
|
||||
LIBASPLIB_CONF_OPTS += -DCMAKE_CXX_FLAGS="$(TARGET_CXXFLAGS) $(LIBASPLIB_CXXFLAGS)"
|
||||
|
||||
$(eval $(cmake-package))
|
||||
|
@ -21,10 +21,4 @@ ifneq ($(BR2_SHARED_LIBS),y)
|
||||
WOFF2_CONF_OPTS += -DCMAKE_SKIP_RPATH=ON
|
||||
endif
|
||||
|
||||
# Internal error, aborting at dw2gencfi.c:215 in emit_expr_encoded
|
||||
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79509
|
||||
ifeq ($(BR2_m68k_cf),y)
|
||||
WOFF2_CONF_OPTS += -DCMAKE_CXX_FLAGS="$(TARGET_CXXFLAGS) -fno-dwarf2-cfi-asm"
|
||||
endif
|
||||
|
||||
$(eval $(cmake-package))
|
||||
|
Loading…
Reference in New Issue
Block a user