[cfe-dev] LTO on FreeBSD

David Chisnall theraven at sucs.org
Tue Jun 29 15:14:07 PDT 2010


On 29 Jun 2010, at 23:05, SKL wrote:

> What is the OS X version finding and using that the FreeBSD version isn't? I see mention on the llvm site of compiling and using the ld gold plugins, but that appears to be more for llvm-gcc than clang.


Exactly that.  The FreeBSD linker does not support LTO.  Gold is GPLv3, so is unlikely to ever make it into the FreeBSD base system.  If you want to use LTO on FreeBSD, then you have to do it manually, via llvm-link + opt + llc.  So far, no one has been sufficiently motivated to make the clang driver able to do this itself.

David

--
This email complies with ISO 3103





More information about the cfe-dev mailing list