Date: Tue, 24 Jan 2012 01:30:27 -0600 From: Joshua Isom <jrisom@gmail.com> To: freebsd-questions@freebsd.org Subject: Re: Using non-gcc linker? Message-ID: <4F1E5E13.2070803@gmail.com> In-Reply-To: <CANT0rcvXhCQJ8pLMSa9NsC=cBcf3hXM3ebv37ZWeNTzX=AeguA@mail.gmail.com> References: <CANT0rcvXhCQJ8pLMSa9NsC=cBcf3hXM3ebv37ZWeNTzX=AeguA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F1E5E13.2070803>