<div dir="ltr">On Tue, Oct 21, 2008 at 10:58 PM, Paul Mackerras <span dir="ltr"><<a href="mailto:paulus@samba.org">paulus@samba.org</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">Stephen Rothwell writes:<br>
<br>
> On Tue, 21 Oct 2008 16:33:10 +1100 Paul Mackerras <<a href="mailto:paulus@samba.org">paulus@samba.org</a>> wrote:<br>
> ><br>
> > It's a bug in older versions of ld (including 2.16.1) that's fixed in<br>
> > the current version (2.18). However, this patch appears to work<br>
> > around the problem - at least, it let me build a 32-bit kernel with a<br>
> > cross-toolchain including a 2.16.1 ld. Let me know if this gets it<br>
> > working for you.<br>
><br>
> With that patch applied I got these errors for a powerpc ppc64_defconfig<br>
> build (linux-next).<br>
><br>
> /usr/bin/objcopy: Warning: '/dev/null' is not an ordinary file<br>
<br>
</div>Hmmm, so do I, and in fact the arch/powerpc/boot/wrapper change now<br>
seems to be unnecessary with my cross-compile setup (which has ld<br>
2.16.1), whereas yesterday I'm sure it got errors. Weird.<br>
<br>
Chris, could you try just the following change (my previous patch<br>
without the arch/powerpc/boot/wrapper change) and let me know if it<br>
fixes things with the ld you use?<br>
</blockquote><div><br>Works for me.<br><br>binutils 2.16.1 is the most recent binutils that will build with crosstool, so IMHO it's worth supporting. :)<br><br>-Hollis <br></div></div></div>