Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] m68k: add special gcc flag to avoid ICE for coldfire
@ 2016-11-26  8:51 Waldemar Brodkorb
  2016-11-26 10:47 ` Arnout Vandecappelle
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Waldemar Brodkorb @ 2016-11-26  8:51 UTC (permalink / raw)
  To: buildroot

Fixes:
  http://autobuild.buildroot.net/results/d47fa41aa860d82471b83ac90967d3a3dacd8611
  http://autobuild.buildroot.net/results/a21de4747f40a5ce93108c8979fbc0277d040e79

Requires this as prerequisite:
http://patchwork.ozlabs.org/patch/683830/

Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
Tested-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
---
 toolchain/toolchain-wrapper.mk | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/toolchain/toolchain-wrapper.mk b/toolchain/toolchain-wrapper.mk
index c7b5019..463ba42 100644
--- a/toolchain/toolchain-wrapper.mk
+++ b/toolchain/toolchain-wrapper.mk
@@ -9,6 +9,13 @@ else
 TOOLCHAIN_WRAPPER_HASH_STYLE = both
 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)"'
 
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-03-10  9:23 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-26  8:51 [Buildroot] [PATCH] m68k: add special gcc flag to avoid ICE for coldfire Waldemar Brodkorb
2016-11-26 10:47 ` Arnout Vandecappelle
2016-11-27 15:27   ` Waldemar Brodkorb
2016-11-26 13:52 ` Thomas Petazzoni
2016-11-26 13:59   ` Arnout Vandecappelle
2016-11-26 14:12     ` Thomas Petazzoni
2016-12-11 14:51     ` Thomas Petazzoni
2016-12-11 20:38       ` Arnout Vandecappelle
2017-03-10  9:23 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox