[cfe-dev] Results of the FreeBSD Ports build with CC=clang

David Chisnall csdavec at swansea.ac.uk
Wed Jun 3 15:54:15 PDT 2009


On 3 Jun 2009, at 23:40, Eli Friedman wrote:

> On Wed, Jun 3, 2009 at 3:18 PM, David Chisnall<theraven at sucs.org>  
> wrote:
>> On 3 Jun 2009, at 20:47, Eli Friedman wrote:
>>
>>> llvm-ld is insufficient because it doesn't interact correctly with
>>> conventional nm/ar/etc.  gold ( http://llvm.org/docs/ 
>>> GoldPlugin.html )
>>> should work on FreeBSD, though.
>>
>> Gold svn as of two weeks ago didn't build on FreeBSD - I don't know  
>> of
>> anyone who has built it on a non-Linux platform.
>
> Hmm, really?  I don't have a FreeBSD box, but building a version of
> gold targeting FreeBSD seems to work just fine.

I've not tried for a couple of weeks, but it failed very early on in  
the build process last time I tried.

>>  The GPLv3 means that it is
>> unlikely to ever make it into the FreeBSD base system.
>
> Doesn't FreeBSD use binutils anyway at the moment?

Yes, but it's the last GPLv2 version and there are no plans to upgrade  
that I am aware of.  There are (so far, at least) no GPLv3 components  
in the FreeBSD base system.

David



More information about the cfe-dev mailing list