From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnout Vandecappelle Date: Wed, 23 Nov 2016 13:06:50 +0100 Subject: [Buildroot] Analysis of autobuild failures 18-19/11 In-Reply-To: <20161123113702.GZ27313@waldemar-brodkorb.de> References: <40bbe29b-2601-f710-970c-065f0b2c639f@mind.be> <20161121112128.GP27313@waldemar-brodkorb.de> <44bda1d2-3859-54a7-0ffc-f4b193bfc3e8@mind.be> <20161123113702.GZ27313@waldemar-brodkorb.de> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net On 23-11-16 12:37, Waldemar Brodkorb wrote: > Hi Arnout, > Arnout Vandecappelle wrote, > >> On 21-11-16 12:21, Waldemar Brodkorb wrote: [snip] >>> With gcc -fno-dwarf2-cfi-asm we can disable the CFI generation and >>> at least fix the compile errors for those packages. >>> >>> Not sure if it will break some exception handling in C++ code or if >>> it only disables the ability to debug the code. >> >> If it doesn't break things (and you can do runtime test, right?), maybe we >> should just pass -fno-dwarf2-cfi-asm in the wrapper for coldfire? > > I don't know the internals of the wrapper, could you suggest a > patch, then I can do some testing with either Qemu or some real > board. First apply http://patchwork.ozlabs.org/patch/683830/, then try this (completely untested, of course): diff --git a/toolchain/toolchain-wrapper.mk b/toolchain/toolchain-wrapper.mk index 88f743e..5dd8fb7 100644 --- a/toolchain/toolchain-wrapper.mk +++ b/toolchain/toolchain-wrapper.mk @@ -11,6 +11,11 @@ endif TARGET_FLAGS += $(call qstrip,$(BR2_TARGET_OPTIMIZATION)) +# Internal error, aborting at dw2gencfi.c:214 in emit_expr_encoded +ifeq ($(BR2_m68k_cf),y) +TARGET_FLAGS += -fno-dwarf2-cfi-asm +endif + TOOLCHAIN_WRAPPER_ARGS = $($(PKG)_TOOLCHAIN_WRAPPER_ARGS) TOOLCHAIN_WRAPPER_ARGS += -DBR_SYSROOT='"$(STAGING_SUBDIR)"' --- Regards, Arnout -- Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF