[cfe-dev] Clang builds a working Linux Kernel (Boots to RL5 with SMP, networking and X, self hosts)

Erik Cederstrand erik at cederstrand.dk
Tue Oct 26 11:13:05 PDT 2010


Den 26/10/2010 kl. 16.57 skrev C. Bergström:

> Bryce Lelbach wrote:
>> Question: Are there any open source linkers out there aside from GNU ld, that
>> aren't derived from GNU ld?
> Yes - sun's ld is open source and works *very* well.  It supports 
> x86/amd64/sparc natively and I believe has also been ported to ARM and 
> ppc.  If anyone is serious about this (maybe some of the BSD folks) I'd 
> maybe be happy to find the cycles and create a standalone tarball.
> 
> Technically the new gold linker is written mostly by Google people.  I'd 
> not put it in the same category as most "GNU" tools, but it is bundled 
> with binutils and GPL.

I think the BSD folks may be interested. Which license covers SUN ld?

FreeBSD use GNU ld currently but don't like the GPLv3 license that binutils has switched to, so wew're at binutils v 2.15 (soon 2.17). gold has always been GPLv3. LLVM has llvm-ld, but there were problems with it last time I asked here (with native code generation, I think). There's a linker planned for the elftoolchain project, but it's still only a Trac ticket as far as I know.

I'd like to play with LTO for FreeBSD builds using Clang, but the options are limited as far as I can see.

Erik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1928 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20101026/2721d9f8/attachment.bin>


More information about the cfe-dev mailing list