From owner-freebsd-current@FreeBSD.ORG Mon May 31 07:49:37 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 AF39C1065679 for ; Mon, 31 May 2010 07:49:37 +0000 (UTC) (envelope-from jamesbrandongooch@gmail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 6A9C78FC18 for ; Mon, 31 May 2010 07:49:36 +0000 (UTC) Received: by gwj23 with SMTP id 23so2706518gwj.13 for ; Mon, 31 May 2010 00:49:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=paI8ljEkwMq86ijLvGgQAjhiF489PEeRoao3pVRJjns=; b=udEyqIG/6EjdfqKAWmXw+X2TddhqnMATb/WIvz+GZd1nNxkkqJQOdGBtDEusWJgSU+ INGobIDVTFnKskwR9rIwxBgy/YCXdssBCOacfdSpn+d7e+JaRGt1XhndcBs/bk1q86TF NHH6H8DhWYWcSX+G4aMDfVBA+cCsC2totqEx4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=CEJ89l31E8ZXglpW2w5oVkev7JaY2H/Snj1KEpX/0mYqff9f/Fwor/hdCXLbbxgLPj hNu90mrN1pYyZVpnBImYiKURhepHdPsRQ8TnMjPREZJagBuvna8BWp1HCyRSWfOl2o9w DUjePGE5SpIjUAfyX0A1bRsmjl+7XkHsQ/B8w= MIME-Version: 1.0 Received: by 10.231.120.159 with SMTP id d31mr5277602ibr.89.1275292175367; Mon, 31 May 2010 00:49:35 -0700 (PDT) Received: by 10.231.182.204 with HTTP; Mon, 31 May 2010 00:49:35 -0700 (PDT) In-Reply-To: <20100529130240.GA99732@freebsd.org> References: <20100529130240.GA99732@freebsd.org> Date: Mon, 31 May 2010 02:49:35 -0500 Message-ID: From: Brandon Gooch To: Roman Divacky Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: current@freebsd.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to 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 07:49:37 -0000 On Sat, May 29, 2010 at 8:02 AM, Roman Divacky wrote= : > hi, > > ClangBSD was updated to LLVM/clang revision 104832 which is what we aim t= o import > into HEAD in roughly a week. We would like the initial import to be as pa= inless > as possible and therefore we ask you to test ClangBSD to assure that the = revision > we are importing does not have some really embarassing bugs. > > How to do it (on i386 and amd64): > > 0) install fresh devel/llvm-devel port > > 1) svn co http://svn.freebsd.org/base/projects/clangbsd src > > 2) echo NO_WERROR=3D >> /etc/src.conf ; echo WERROR=3D >> /etc/src.conf > > 3) cd src && make buildworld > > 4) make installworld DESTDIR=3D/usr/clangbsd > > 5) (optional) try to build kernel with clang and boot it > > =A0 =A0 =A0 =A05.1) cd /sys/{arch}/conf > =A0 =A0 =A0 =A05.2) config YOUR_KERNEL > =A0 =A0 =A0 =A05.3) setenv CC clang in tcsh or export CC=3Dclang in bash > =A0 =A0 =A0 =A05.4) cd ../compile/YOUR_KERNEL > =A0 =A0 =A0 =A05.5) make && make install > > please make sure that it builds (on amd64/i386) and that the resulting wo= rld > is runnable. ie. try to chroot into it and "do stuff". ie. > > =A0 =A0 =A0 =A0chroot /clangbsd /bin/tcsh > > =A0 =A0 =A0 =A0... stuff ... > > > there's a wiki page on this effort: http://wiki.freebsd.org/BuildingFreeB= SDWithClang > > please report back any problems/success to me and/or this mailing list. > > thank you for your testing! > > Roman Divacky on behalf of the ClangBSD team > I'm running on a "full" ClangBSD system (world and kernel), and I've had no issues for the past couple of days. I've had the machine working nearly constantly -- building new and updating installed ports, running several ezjails (PostgreSQL, Apache 2.2, etc...), and generally using/abusing my computer by watching Flash video on the bsdconferences channel on YouTube... So, what exactly should we expect, if anything, to break? :) Is there anything more useful than an "it works" type of feedback that a novice user like myself could provide? And... A Little Message To the ClangBSD Team: As little more than a novice user, I realize that I don't have the full picture of what moving from GCC to clang/llvm means to FreeBSD. I don't have enough experience with either compiler technology or the FreeBSD project to have a lot to say in any discussion or dialog regarding the decisions to come. But I do trust the FreeBSD project as a whole -- the technology and the people involved -- and it seems that this is a mandatory step in order to continue to to enhance FreeBSD. So thank you to the ClangBSD team for making awesome progress. It makes me incredibly happy to see all those involved with ClangBSD, especially Roman, stand up and steer FreeBSD toward the future. Looking forward to it, -Brandon