[U-Boot] [PATCH v2] Makefile: Fix linking with modern binutils

Tom Rini
2017-03-21T23:13:44Z

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!

--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170321/d9352647/attachment.sig>