From owner-freebsd-current@FreeBSD.ORG Fri Apr 16 21:23:48 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 19BDA106564A for ; Fri, 16 Apr 2010 21:23:48 +0000 (UTC) (envelope-from outbackdingo@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 CA1838FC0C for ; Fri, 16 Apr 2010 21:23:47 +0000 (UTC) Received: by gwaa12 with SMTP id a12so1552757gwa.13 for ; Fri, 16 Apr 2010 14:23:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:content-type; bh=N1ycSXtkqkqM3eiGPyYtHyDWmvhBFDQh6/+aJ2JVGkE=; b=GPt3r20QEqGIWr9dmKA9pWNUiFKBTuURJer6D8VxLy4ORdwYuosF01cseO/oRYxWCo nPDykqtLtmp89V4VhZlUFqQMAcmODZhLQ8rdp50qjCRxgDTa2jHD1g6ymctv7X+NwjYH rOP7n8qJrPhB0WniUKrLxEPfwzPo/tAMv25es= 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 :content-type; b=VMzro9e4GCOV5AkAzH8GTu6IrC+WGVTYz1BxSxen25Ogrt5rin+5yanzc34X0CEgjM EmbZAHZ8mfYKf9XkJxkryMX5jVOMmz8IDBmlGrKlWYqzPvlRkByNAr16w7C2cUstLKIr uftLgP8GY1Gd+/48fCrFbS03+m4lvucCOL9ro= MIME-Version: 1.0 Received: by 10.100.178.3 with HTTP; Fri, 16 Apr 2010 13:53:44 -0700 (PDT) In-Reply-To: <20100416160818.GA69460@freebsd.org> References: <20100416160818.GA69460@freebsd.org> Date: Fri, 16 Apr 2010 16:53:44 -0400 Received: by 10.100.29.11 with SMTP id c11mr5040140anc.231.1271451224726; Fri, 16 Apr 2010 13:53:44 -0700 (PDT) Message-ID: From: Outback Dingo To: current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: [CFT]: ClangBSD is selfhosting, we need testers now 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: Fri, 16 Apr 2010 21:23:48 -0000 On Fri, Apr 16, 2010 at 12:08 PM, Roman Divacky wrote: > Hi, > > ClangBSD is a branch of FreeBSD that aims at integrating clang ( > clang.llvm.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 > FreeBSD > 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 > change > CC to "gcc" and CXX to "g++" in share/mk/sys.mk. I recommend the former. > > > svn co http://svn.freebsd.org/base/projects/clangbsd/ clangbsd > > cd clangbsd && make buildworld > > echo NO_WERROR= >> /etc/make.conf > echo WERROR= >> /etc/make.conf > > make DESTDIR=/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=yo and WERROR=yo in /etc/src.conf) or > set > CC to clang and build kernel the normal way. > > This information (and more) is also provided on: > > http://wiki.freebsd.org/BuildingFreeBSDWithClang > > We kindly ask you to setup ClangBSD chroot and/or use clang compiled kernel > and > use it as you would normally use FreeBSD. Please report back > > Thank you, > > Roman Divacky on behalf of the ClangBSD team > can someone explain the benefit other then not relying on gcc now ? performance ?