powepc64le gold linking problem

Jay Foad jay.foad@gmail.com
Mon Nov 24 23:15:00 GMT 2014


On 24 November 2014 at 23:09, Peter Bergner <bergner@vnet.ibm.com> wrote:
> On Tue, 2014-11-25 at 08:39 +1030, Alan Modra wrote:
>> The above code is finding the st_other bits in the symbol definition.
>> The generic BFD linker doesn't handle merging st_other, or anything
>> else ELF specific.
>
> It looks like Uli just fixed this:
>
>   http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20141124/245979.html

Yes (thanks Uli!) but we don't understand why ld.bfd seemed to
tolerate the broken .o files being generated by Clang before it was
fixed.

ld.bfd linked them into an executable that worked. ld.gold linked them
into an executable that crashed.

Jay.



More information about the Binutils mailing list