From owner-freebsd-current@FreeBSD.ORG Mon May 31 16:20:45 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BFE35106566C for ; Mon, 31 May 2010 16:20:45 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (lev.vlakno.cz [77.93.215.190]) by mx1.freebsd.org (Postfix) with ESMTP id 648038FC0A for ; Mon, 31 May 2010 16:20:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 919F59CB12C; Mon, 31 May 2010 18:17:16 +0200 (CEST) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (lev.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cJUxW6cYdRcH; Mon, 31 May 2010 18:17:14 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 580609CB149; Mon, 31 May 2010 18:17:14 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.14.3/8.14.3/Submit) id o4VGHEM3061884; Mon, 31 May 2010 18:17:14 +0200 (CEST) (envelope-from rdivacky) Date: Mon, 31 May 2010 18:17:13 +0200 From: Roman Divacky To: Bakul Shah Message-ID: <20100531161713.GA60782@freebsd.org> References: <20100531075248.GA15206@freebsd.org> <20100531161409.A399B5B30@mail.bitblocks.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="d6Gm4EdcadzBjdND" Content-Disposition: inline In-Reply-To: <20100531161409.A399B5B30@mail.bitblocks.com> User-Agent: Mutt/1.4.2.3i Cc: current@freebsd.org Subject: Re: Importing clang/LLVM into FreeBSD HEAD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2010 16:20:45 -0000 --d6Gm4EdcadzBjdND Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 31, 2010 at 09:14:09AM -0700, Bakul Shah wrote: > On Mon, 31 May 2010 09:52:48 +0200 Roman Divacky = wrote: > >=20 > > I would like to propose to integrate clang/LLVM into FreeBSD HEAD > > in the near future (days, not weeks). > >=20 > > clang/LLVM is a C/C++/ObjC compiler (framework) which aims to possibly > > replace gcc. It is BSDL-like licensed. The sources are ~45MB (the > > svn checkout is 97MB). Clang/LLVM is written in C++. > >=20 > > Clang can compile all of FreeBSD on i386/amd64 including world and boot= ing > > kernel. Other architectures that are close to working are MIPS, PowerPC > > and ARM. We have a branch (clangbsd-import) that just includes clang/LL= VM > > sources and the build infrastructure and this is what we aim to integra= te > > at first. > > > > The import of clang/LLVM was discussed at the toolchain summit May 10th > > but I would like to hear your opinion. I got approval from core@ on > > importing it. > >=20 > > So please share your support or resistance to the idea of importing cla= ng. > >=20 > > Roman Divacky >=20 > I already use clang for some things but I think the issue > here is not support/resistance but something else: >=20 > * IMHO for a change of this nature the core needs to publish > a set of clear acceptance criteria for importing clang. > Can this be done? =20 I asked core@ and they support the import > * Since clang doesn't support all the archs, what is the plan > for unsupported archs? > a. Is FreeBSD going to have both compilers in the base? yes, this is what this import is about - importing clang,=20 nothing else changes > b. Is the project drop these FreeBSD ports? or no, of course not > c. Do people have to import gcc from ports to build these > FreeBSD ports? =20 nothing is being changed, just one more application after a buildworld/installworld appears (that being clang) > * What about ports? >=20 > * Basically the core needs to lay out a roadmap. >=20 > It is clear that not everyone has the same view of what the > acceptance criteria might be so publishing it would help > people understand what to expect. nothing changes for the ports, there's an ongoing project to enable ports to be usable with clang (or some other compiler) but thats orthogonal to this. --d6Gm4EdcadzBjdND Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkwD4QkACgkQLVEj6D3CBEwuxACeJrirUEEOpa+tLVq4Bv1qUooe 8McAniYsWbVxm62q5rwQS+t/1q1dt8lq =epQP -----END PGP SIGNATURE----- --d6Gm4EdcadzBjdND--