Using non-gcc linker?

Joshua Isom jrisom at gmail.com
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
> http://wiki.freebsd.org/BuildingFreeBSDWithClangmentions using a
> different linker that supports LTO optimisation. Is that
> non-GNU linker part of FreeBSD 9?
>
> Thanks!
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"

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