Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Jun 2009 09:45:44 +0200
From:      Erik Cederstrand <erik@cederstrand.dk>
To:        Roman Divacky <rdivacky@freebsd.org>
Cc:        Ed Schouten <ed@80386.nl>, hackers@FreeBSD.org, current@FreeBSD.org
Subject:   Re: Clang: now available from a SVN server near you!
Message-ID:  <DF7D22CF-94C1-4B27-A216-E4AD5FEBCA53@cederstrand.dk>
In-Reply-To: <20090604123801.GA34971@freebsd.org>
References:  <20090604093831.GE48776@hoeg.nl> <31BD4D08-6558-46FF-9B93-CF8249AAC461@cederstrand.dk> <20090604123801.GA34971@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail-443--407227785
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed;
	delsp=yes
Content-Transfer-Encoding: 7bit

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
--Apple-Mail-443--407227785--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DF7D22CF-94C1-4B27-A216-E4AD5FEBCA53>