All of lore.kernel.org
 help / color / mirror / Atom feed
From: Waldemar Brodkorb <wbx@openadk.org>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] m68k: add special gcc flag to avoid ICE for coldfire
Date: Sat, 26 Nov 2016 09:51:44 +0100	[thread overview]
Message-ID: <20161126085144.GA23223@waldemar-brodkorb.de> (raw)

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

             reply	other threads:[~2016-11-26  8:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-26  8:51 Waldemar Brodkorb [this message]
2016-11-26 10:47 ` [Buildroot] [PATCH] m68k: add special gcc flag to avoid ICE for coldfire 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161126085144.GA23223@waldemar-brodkorb.de \
    --to=wbx@openadk.org \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.