All of lore.kernel.org
 help / color / mirror / Atom feed
From: Waldemar Brodkorb <wbx@openadk.org>
To: buildroot@busybox.net
Subject: [Buildroot] Analysis of autobuild failures 18-19/11
Date: Fri, 25 Nov 2016 01:26:15 +0100	[thread overview]
Message-ID: <20161125002615.GB18881@waldemar-brodkorb.de> (raw)
In-Reply-To: <e255545b-031a-486d-1203-5e4220ec9280@mind.be>

Hi Arnout,
Arnout Vandecappelle wrote,

> 
> 
> 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)"'
> 

Tested with various C++ apps in Qemu/m68k and didn't find a problem.
This would fix all the remaining m68k/coldfire autobuild failures we
have seen so far.

best regards
 Waldemar

  reply	other threads:[~2016-11-25  0:26 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-19 19:23 [Buildroot] Analysis of autobuild failures 18-19/11 Arnout Vandecappelle
2016-11-19 20:55 ` Romain Naour
2016-11-20 15:24 ` Arnout Vandecappelle
2016-11-20 23:18 ` Sam Bobroff
2016-11-24 20:48   ` Arnout Vandecappelle
2016-11-25  0:51     ` Sam Bobroff
2016-11-21 11:21 ` Waldemar Brodkorb
2016-11-21 23:40   ` Arnout Vandecappelle
2016-11-23 11:37     ` Waldemar Brodkorb
2016-11-23 12:06       ` Arnout Vandecappelle
2016-11-25  0:26         ` Waldemar Brodkorb [this message]
2016-11-21 11:44 ` [Buildroot] [arc-buildroot] " Vlad Zakharov
2016-11-21 14:51 ` Alexey Brodkin
2016-11-21 22:08 ` [Buildroot] " Thomas Petazzoni
2016-11-21 23:38   ` Arnout Vandecappelle
2016-11-22  8:26     ` Thomas Petazzoni
2016-11-22 15:30       ` Arnout Vandecappelle
2016-11-22 15:38         ` Thomas Petazzoni
     [not found]           ` <CANLo3Ji8MiH29tYCwmpu4KMDJkcm7-75EUGK1mq3e8Tnih6aZQ@mail.gmail.com>
2016-11-22 19:08             ` Romain Naour

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=20161125002615.GB18881@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.