Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Phil Blundell <philb@gnu.org>
To: oe-core <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] insane: detect and warn about relocations in .text
Date: Wed, 03 Oct 2012 16:42:11 +0100	[thread overview]
Message-ID: <1349278932.32611.140.camel@phil-desktop> (raw)

On Wed, 2012-10-03 at 11:24 +0100, Phil Blundell wrote:
> Signed-off-by: Phil Blundell <pb@pbcl.net>
> ---
> This requires qa.elf.run_objdump() so needs to be applied after the
> patch which adds that function.

By the way, the background motivation for this was that the current
oe-core version of gcc seems to be somewhat broken in this respect on
MIPS; it seems to have reverted to generating an .eh_frame with a
relocation in it which results in DT_TEXTREL on the binary.  

With -fasynchronous-unwind-tables it seems to get even worse.  I don't
quite recall exactly what the failure was there but it was bad enough to
make it unusable.

I think both of these problems are regressions from the gcc-4.6 that we
were using previously.  I'm not quite sure at what point it went wrong
though.

p.





             reply	other threads:[~2012-10-03 15:55 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-03 15:42 Phil Blundell [this message]
2012-10-03 15:56 ` [PATCH] insane: detect and warn about relocations in .text Mark Hatle
  -- strict thread matches above, loose matches on Subject: below --
2012-11-06 17:24 Phil Blundell
2012-11-07  9:59 ` Mark Hatle
2012-11-07 14:37   ` Richard Purdie
2012-10-03 10:24 Phil Blundell
2012-10-03 10:31 ` Martin Jansa
2012-10-03 10:44   ` Phil Blundell
2012-10-03 11:19     ` Richard Purdie
2012-10-03 12:39       ` Phil Blundell

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=1349278932.32611.140.camel@phil-desktop \
    --to=philb@gnu.org \
    --cc=openembedded-core@lists.openembedded.org \
    /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