Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Sep 2012 01:46:25 -0500
From:      Mark Linimon <linimon@lonesome.com>
To:        Pietro Cerutti <gahr@FreeBSD.org>
Cc:        Doug Barton <dougb@FreeBSD.org>, current@freebsd.org, Erik Cederstrand <erik@cederstrand.dk>, Roman Divacky <rdivacky@freebsd.org>, toolchain@freebsd.org, freebsd-ports <freebsd-ports@FreeBSD.org>
Subject:   Re: Clang as default compiler November 4th
Message-ID:  <20120913064625.GB2452@lonesome.com>
In-Reply-To: <20120913062131.GA29644@gahrfit.gahr.ch>
References:  <20120910211207.GC64920@lor.one-eyed-alien.net> <20120911104518.GF37286@deviant.kiev.zoral.com.ua> <20120911120649.GA52235@freebsd.org> <20120911122122.GJ37286@deviant.kiev.zoral.com.ua> <20120911123833.GA54483@freebsd.org> <848C813E-E6EC-4FAF-9374-B5583A077404@cederstrand.dk> <505055F7.9020809@FreeBSD.org> <20120913062131.GA29644@gahrfit.gahr.ch>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Sep 13, 2012 at 08:21:31AM +0200, Pietro Cerutti wrote:
> On 2012-Sep-11, 23:29, Doug Barton wrote:
> > What we need to do is what I and others have been asking to do for
> > years. We need to designate a modern version of gcc (no less than 4.6)
> > as the official default ports compiler, and rework whatever is needed to
> > support this. Fortunately, that goal is much more easily achieved than
> > fixing ports to build and run with clang. (It's harder than it sounds
> > because there are certain key libs that define some paths depending on
> > what compiler they were built with, but still easier than dealing with
> > clang in the short term.)
> 
> I like the idea very much. My only concern is that gcc is heavy to
> build.

Gerald has been advocating this for a while as well.  In fact, he's
just made a commit that makes the lang/gcc42 compiler much easier to
bootstrap itself.

There's a set of interlocking changes that we need to make to the
infrastructure to modernize our compiler choices.  I've been talking
to Gerald about some of the aspects of it and hope to have something
to propose fairly soon.

But IMHO it's a little bit trickier than it appears at first glance.

mcl



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120913064625.GB2452>