From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] build of gcc 4.3.5 broken with BR2_GCC_USE_SJLJ_EXCEPTIONS
Date: Tue, 27 Jul 2010 20:30:43 +0200 [thread overview]
Message-ID: <20100727203043.74441c59@surf> (raw)
In-Reply-To: <201007230005.22462.yann.morin.1998@anciens.enib.fr>
On Fri, 23 Jul 2010 00:05:22 +0200
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> wrote:
> Marcus, All,
>
> On Thursday 22 July 2010 23:59:25 Ossy wrote:
> > I don't need this particular option (BR2_GCC_USE_SJLJ_EXCEPTIONS)
> > but anyway my buildroot version (current git tree) wasn't able to
> > build 4.3.5-final with BR2_GCC_USE_SJLJ_EXCEPTIONS=y. After
> > deactivating it everything was fine again.
>
> Yes, it happens too for me with armeb. Other archs are fine for me
> with sjlj enabled.
>
> I did not dig up why, so I /simply/ turn off sjlj for ermeb.
Does having this BR2_GCC_USE_SJLJ_EXCEPTIONS option makes sense ? In
which case would this be useful ?
According to http://choices.cs.uiuc.edu/exceptions.pdf, the default
mechanism used by g++ for exceptions is faster and better than SJLJ.
If there are only corner use cases, I'm all for getting rid of this
option in BR. Advanced users can always use
BR2_EXTRA_GCC_CONFIG_OPTIONS to add --enable-sjlj-exceptions to the gcc
configuration if they want.
Thoughts ?
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
next prev parent reply other threads:[~2010-07-27 18:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-22 21:59 [Buildroot] build of gcc 4.3.5 broken with BR2_GCC_USE_SJLJ_EXCEPTIONS Ossy
2010-07-22 22:05 ` Yann E. MORIN
2010-07-27 18:30 ` Thomas Petazzoni [this message]
2010-08-01 22:23 ` Khem Raj
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=20100727203043.74441c59@surf \
--to=thomas.petazzoni@free-electrons.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox