From: Alan Modra <amodra@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2] Makefile: Fix linking with modern binutils
Date: Wed, 22 Mar 2017 23:23:45 +1030 [thread overview]
Message-ID: <20170322125345.GA4983@bubble.grove.modra.org> (raw)
In-Reply-To: <20170321231344.GF19897@bill-the-cat>
On Tue, Mar 21, 2017 at 07:13:44PM -0400, Tom Rini wrote:
> On Wed, Mar 22, 2017 at 09:00:58AM +1000, Nicholas Piggin wrote:
> > On Tue, 21 Mar 2017 11:16:50 -0400
> > Tom Rini <trini@konsulko.com> wrote:
> >
> > > On Tue, Mar 21, 2017 at 08:59:04AM -0500, Jon wrote:
> > >
> > > > Likewise tested on Fedora rawhide with: binutils-2.28-5.fc27
> > > >
> > > > This patch allows our distro u-boot builds to succeed. +1
> > > >
> > > > Tested-by: Jon Disnard <jdisnard@gmail.com>
> > >
> > > Has anyone figure out what exactly is going on yet? It's pretty odd to
> > > me that linking at 0x0 (or not) is what's causing new binutils to throw
> > > this particular error out there. Thanks!
> >
> > Some discussion from binutils developers is here:
> >
> > https://patchwork.ozlabs.org/patch/699815/
>
> That in turn seems to point to
> https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?id=ff45000fcb56b5b0f1a14a865d3541
> as an example of how to correct the problem (what U-Boot is doing), and
> we should make a patch similar to that it seems. Thanks!
That is the correct solution. Nick's patch for
https://sourceware.org/bugzilla/show_bug.cgi?id=20815 isn't going to
be reverted as the ELF standard is quite clear regarding PT_PHDR.
Yes, there was a bug in the patch adding more space than needed, fixed
2016-11-30 with binutils git commit e9a38e0f528, but even after that
patch more space is needed than before.
--
Alan Modra
Australia Development Lab, IBM
prev parent reply other threads:[~2017-03-22 12:53 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-16 4:53 [U-Boot] [PATCH v2] Makefile: Fix linking with modern binutils Joel Stanley
2016-12-26 18:07 ` Tom Rini
2017-01-12 9:19 ` Sjoerd Simons
2017-03-21 13:59 ` Jon
2017-03-21 15:16 ` Tom Rini
2017-03-21 23:00 ` Nicholas Piggin
2017-03-21 23:13 ` Tom Rini
2017-03-22 12:53 ` Alan Modra [this message]
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=20170322125345.GA4983@bubble.grove.modra.org \
--to=amodra@gmail.com \
--cc=u-boot@lists.denx.de \
/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