Using non-gcc linker?

Joshua Isom jrisom at
Tue Jan 24 07:30:30 UTC 2012

On 1/23/2012 3:47 PM, Pierre-Luc Drouin wrote:
> Hi,
> I just "made" world and kernel using clang, but I noticed that ld is still
> using the GNU ld. The page
> using a
> different linker that supports LTO optimisation. Is that
> non-GNU linker part of FreeBSD 9?
> Thanks!
> _______________________________________________
> freebsd-questions at mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at"

It's a newer gnu ld that supports plugins.  The plugin handles the LTO. 
  It might be possible to compile to bytecode, link and optimize with 
llvm-ld.  It might still need gnu ld to create a final binary.

More information about the freebsd-questions mailing list