From owner-freebsd-current@FreeBSD.ORG Thu Apr 22 23:32:49 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 379E9106566B; Thu, 22 Apr 2010 23:32:49 +0000 (UTC) (envelope-from kmatthew.macy@gmail.com) Received: from mail-qy0-f181.google.com (mail-qy0-f181.google.com [209.85.221.181]) by mx1.freebsd.org (Postfix) with ESMTP id CC9FB8FC1A; Thu, 22 Apr 2010 23:32:46 +0000 (UTC) Received: by qyk11 with SMTP id 11so10568804qyk.13 for ; Thu, 22 Apr 2010 16:32:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:reply-to:received :in-reply-to:references:date:x-google-sender-auth:received :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=+zRBpQyhRSbxV+6rbQ/7znIOfEBCoQw4hcMfu4XKSLo=; b=sZZxkWHefeO4dw1v2yfkfrh2Cw/PUEJeEP/SBEfBQZQAOAfcHl4KV6Su4v9FnFK8Ua gn2sONi3EQP16itfu8rlW5pX3QcwkkpV9aVaCSN2+bIidEy+C2QR6N+7UAeeFdrGfr+I wJ8lACK+77j0TyLfWpzOMdKQNKkOk6/JDJabg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:reply-to:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=PoNg47rueiOE0ewA2UKDFdBXOBtyOrrJch+bkr06Q58461VDBof9PNNhkCyGNXlu2V dgy9GEHsVuMR8jukRdVtWIw6xqKfnd54B8D8gBDk71OhbKGOEOm7tSK2tNigpnR1Ar4v IXVuOCNz7Mr0wnnWEIuW3+SQr88fgd4zcF2QA= MIME-Version: 1.0 Sender: kmatthew.macy@gmail.com Received: by 10.229.228.129 with HTTP; Thu, 22 Apr 2010 16:32:45 -0700 (PDT) In-Reply-To: <20100416160818.GA69460@freebsd.org> References: <20100416160818.GA69460@freebsd.org> Date: Thu, 22 Apr 2010 16:32:45 -0700 X-Google-Sender-Auth: 8d5510bfb70731f3 Received: by 10.229.225.7 with SMTP id iq7mr7221870qcb.26.1271979165618; Thu, 22 Apr 2010 16:32:45 -0700 (PDT) Message-ID: From: "K. Macy" To: Roman Divacky Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: current@freebsd.org Subject: Re: [CFT]: ClangBSD is selfhosting, we need testers now X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: kmacy@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Apr 2010 23:32:49 -0000 The current llvm-devel package is woefully out of date. Anyone wishing to try this will need to compile the latest port. -Kip On Fri, Apr 16, 2010 at 9:08 AM, Roman Divacky wrote= : > Hi, > > ClangBSD is a branch of FreeBSD that aims at integrating clang (clang.llv= m.org) > into FreeBSD, replacing GCC as a system compiler. > > Recently, we've achieved the state when clang can compile all of FreeBSD = world > on i386/amd64 platforms (including all the C++ apps we have and itself) > and a bootable kernel. Thus we feel that the time has come to ask the Fre= eBSD > community for wider testing on i386/amd64 (you sure can help with other > platforms too :)). > > How to setup ClangBSD: > > The default configuration of ClangBSD requires clang installed so you can > either install fresh llvm-devel port (portinstall devel/llvm-devel) or ch= ange > CC to "gcc" and CXX to "g++" in share/mk/sys.mk. I recommend the former. > > > =A0 =A0 =A0 =A0svn co http://svn.freebsd.org/base/projects/clangbsd/ clan= gbsd > > =A0 =A0 =A0 =A0cd clangbsd && make buildworld > > =A0 =A0 =A0 =A0echo NO_WERROR=3D >> /etc/make.conf > =A0 =A0 =A0 =A0echo WERROR=3D =A0 =A0>> /etc/make.conf > > =A0 =A0 =A0 =A0make DESTDIR=3D/clangbsd-chroot/ installworld > > > now you have ClangBSD world installed and you can chroot into it. I don't > recommend installing ClangBSD into real root as it is not tested enough. > > You can also start using clang compiled kernel - either build the kernel = in > the ClangBSD chroot (set NO_WERROR=3Dyo and WERROR=3Dyo in /etc/src.conf)= or set > CC to clang and build kernel the normal way. > > This information (and more) is also provided on: > > =A0 =A0 =A0 =A0http://wiki.freebsd.org/BuildingFreeBSDWithClang > > We kindly ask you to setup ClangBSD chroot and/or use clang compiled kern= el and > use it as you would normally use FreeBSD. Please report back > > Thank you, > > =A0 Roman Divacky on behalf of the ClangBSD team >