From owner-freebsd-current@FreeBSD.ORG Mon May 31 17:39:05 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 84265106564A for ; Mon, 31 May 2010 17:39:05 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-yw0-f176.google.com (mail-yw0-f176.google.com [209.85.211.176]) by mx1.freebsd.org (Postfix) with ESMTP id 316B68FC08 for ; Mon, 31 May 2010 17:39:04 +0000 (UTC) Received: by ywh6 with SMTP id 6so2947627ywh.16 for ; Mon, 31 May 2010 10:39:04 -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:content-type; bh=8pxKLSg2B6PPOdf7O/S0hp2/2IATzqIx0UJlgLKTqCU=; b=HgxhsNXaodnXo0mKYOi78VdHkacFEf+ETaVlVckaj+KH+07oSGOaiDpsgwnh9RS0z2 dXgS6XBbE+UwCOaHAoS7y00BgHGSoJD20ePTXM6BuCmZuj+VSRobNFCIEbTbkZlcSSVD G24devTffwFTt74WF6hYNCWU5ju9Lnn8xv3Gs= 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=N1hmoFcLvgWTQXgx4pDj/ll+iKIc2mGCJ3XF2GLS1qWRH6zpNQbRc4Jz7U+JX7SX08 QtkS/mGkdWnfG3J5hB4Y0YX++Pr9DrlMwPdBCL5PZWSkDd3OJEQ+gjqY+9kUD7bzYZHc StdOeFGEni7hj/p58rUOBJuDuQLk0DqzR8tuU= MIME-Version: 1.0 Received: by 10.231.169.129 with SMTP id z1mr6242709iby.26.1275327542914; Mon, 31 May 2010 10:39:02 -0700 (PDT) Received: by 10.231.36.194 with HTTP; Mon, 31 May 2010 10:39:02 -0700 (PDT) In-Reply-To: <4C03DB6E.7020903@intertainservices.com> References: <20100531075248.GA15206@freebsd.org> <4C03DB6E.7020903@intertainservices.com> Date: Mon, 31 May 2010 10:39:02 -0700 Message-ID: From: Freddie Cash To: freebsd-current@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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 17:39:05 -0000 On Mon, May 31, 2010 at 8:53 AM, Mike Jakubik < mike.jakubik@intertainservices.com> wrote: > On 5/31/2010 3:52 AM, Roman Divacky wrote: > >> Clang can compile all of FreeBSD on i386/amd64 including world and booting >> kernel. Other architectures that are close to working are MIPS, PowerPC >> and ARM. We have a branch (clangbsd-import) that just includes clang/LLVM >> sources and the build infrastructure and this is what we aim to integrate >> at first. >> >> > What about the thousands of ports? Also, have there been any tests done to > compare the performance of the compiled binaries vs gcc? > What about the ports? Lots of ports already have dependencies on GCC from ports as they don't build/run properly with GCC 4.2.1. How is this any different? There have been reports on other lists from people using Clang to build their ports, with very few failures. It's a "simple" matter to add a dependency on GCC from ports for those that do fail. Which is already being done for ports that don't work with GCC 4.2.1. Several -exp runs have already been done on the ports tree using Clang. No idea about benchmarks. -- Freddie Cash fjwcash@gmail.com