Date: Tue, 11 Sep 2012 11:27:50 +0200 From: Lars Engels <lars.engels@0x20.net> To: Doug Barton <dougb@FreeBSD.org> Cc: toolchain@FreeBSD.org, Brooks Davis <brooks@FreeBSD.org>, current@FreeBSD.org, freebsd-ports@FreeBSD.org Subject: Re: Clang as default compiler November 4th Message-ID: <20120911092750.GF20762@e-new.0x20.net> In-Reply-To: <504ED1FC.3090608@FreeBSD.org> References: <20120910211207.GC64920@lor.one-eyed-alien.net> <504ED1FC.3090608@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--SxSZg4s9qMTG5wS5 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 10, 2012 at 10:54:04PM -0700, Doug Barton wrote: > As of last week, 4,680 ports out of 23,857 failed to build with clang on > 9-amd64. That's almost a 20% failure rate. Until we have better support > for either building ports with clang, or have better support for the > idea of a "ports compiler," this change is premature. The ports are an > important part of the FreeBSD Operating _System_, and pulling the > trigger on the default compiler before the ports problems are addressed > robustly seems like a big fat FU. >=20 > That said, I agree that this issue needs to be addressed. In fact, 9 > months before the release of 9.0 I said on the internal committers list > that there was no point in making a new release until we had thoroughly > addressed both the default compiler for the base, and resolving the > "ports compiler" issue. While there has been some movement on the > former, there has been nothing done on the latter for years now, even > though everyone agrees that it is an important issue. >=20 > I'd like to request that rather than moving the default compiler > prematurely that you call for volunteers to address the problems with > the ports. Both the issues of fixing more ports to build correctly with > clang, and the issue of defining a "ports compiler" version of gcc (and > appropriate infrastructure) for those that can't. Once those issues are > resolved there would not be any further obstacles to moving the default. > Until they are, the change is premature. >=20 > Doug Doug, as you can already use CLANG instead of GCC now, you will be able to use GCC instead of CLANG after November 4th. At the moment the ports maintainers don't give much about if their ports build with CLANG or not because they're not forced to. Those who don't run CURRENT won't notice, but those who do will have to get their butts up and fix the ports, so 10.0 can have 99% of all ports build with CLANG and even 8.x and 9.x can already profit from having the broken ports fixed now. --SxSZg4s9qMTG5wS5 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlBPBBYACgkQKc512sD3afjTugCgsB791kAflPBiDqCaYID16NfB ScAAn2MVLDX5mneZBCfUM6Twcv+LjddO =LJGW -----END PGP SIGNATURE----- --SxSZg4s9qMTG5wS5--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120911092750.GF20762>