BSD ld (was Re: MCLinker and llvm-config)

Konstantin Belousov kostikbel at gmail.com
Sat Jul 28 16:36:31 UTC 2012


On Sat, Jul 28, 2012 at 06:15:29PM +0200, Dimitry Andric wrote:
> On 2012-07-28 16:15, Pedro Giffuni wrote:
> > The Elftoolchain project has been developing a BSD ld:
> > 
> > http://sourceforge.net/apps/trac/elftoolchain/ 
> > 
> > 
> > http://sourceforge.net/apps/trac/elftoolchain/browser/trunk/ld 
> > 
> > 
> > I thought that would be the official FreeBSD implementation.
> 
> Let's just say there really isn't any consensus yet, except that GNU ld
> should be binned. :) 
> 
> At EuroBSDCon 2011 there was a toolchain WG, where a few ideas and
> requirements for a good system linker were shuffled around.  See
> Brooks' report here:
> 
> http://wiki.freebsd.org/201110DevSummit/Toolchain?action=AttachFile&do=view&target=toolchain-wg-report.pdf

This looks very futile and disorganized. When I tried to overlook
only the basic features of modern linker required to build base, I
ended up with approximately twenty-pages document, consisting mostly
of enumerations of features. Consider this fully consumed by 'GNU ld
compAtibility" in the referenced document.

Other items looks mis-placed, e.g. multiple hash tables support is very
technical and mundane, comparing with LTO/IR/incremental support, which
ties the linker to compiler.

And, the list of architectures provided shall be exploded since many
architectures listed support different ABIs, which has direct impact
on the linker functionality.

My impression is that the list provided has no relation to 'good system
linker requirements'.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-toolchain/attachments/20120728/ebf35b4a/attachment.pgp


More information about the freebsd-toolchain mailing list