Clang: now available from a SVN server near you!
Erik Cederstrand
erik at cederstrand.dk
Fri Jun 5 07:45:47 UTC 2009
Hi Roman
Den 04/06/2009 kl. 14.38 skrev Roman Divacky:
>
> you could use llvm-ld (see the wiki for instructions how to do it).
> there's also some
> effort to make gnu ld usable with llvm LTO and I guess the patch
> could be backported
> to our ld. I guess
As I understand the reply from Eli Friedman[1] this is not possible
without at least some hacking.
The LTO work in GNU ld[2] is under GPLv3[3], as is gold[4], which
makes backporting patches a sticky issue.
Erik
[1] http://lists.cs.uiuc.edu/pipermail/cfe-dev/2009-June/005296.html
[2] http://gcc.gnu.org/wiki/LinkTimeOptimization
[3] http://gcc.gnu.org/svn/gcc/branches/lto/lto-plugin/lto-plugin.c
[4] http://sourceware.org/cgi-bin/cvsweb.cgi/src/gold/gold.cc?rev=1.63&content-type=text/x-cvsweb-markup&cvsroot=src
More information about the freebsd-hackers
mailing list