From owner-freebsd-hackers@FreeBSD.ORG  Sun May 30 15:41:55 2010
Return-Path: <owner-freebsd-hackers@FreeBSD.ORG>
Delivered-To: freebsd-hackers@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id C4C351065672
	for <freebsd-hackers@freebsd.org>; Sun, 30 May 2010 15:41:55 +0000 (UTC)
	(envelope-from erik@cederstrand.dk)
Received: from csmtp2.one.com (csmtp2.one.com [91.198.169.22])
	by mx1.freebsd.org (Postfix) with ESMTP id 5E5758FC1E
	for <freebsd-hackers@freebsd.org>; Sun, 30 May 2010 15:41:55 +0000 (UTC)
Received: from macfeast.lan
	(0x573b9942.cpe.ge-1-2-0-1101.ronqu1.customer.tele.dk [87.59.153.66])
	by csmtp2.one.com (Postfix) with ESMTP id C5A661B01821F;
	Sun, 30 May 2010 15:41:53 +0000 (UTC)
Mime-Version: 1.0 (Apple Message framework v1078)
Content-Type: multipart/signed; boundary=Apple-Mail-163-574170180;
	protocol="application/pkcs7-signature"; micalg=sha1
From: Erik Cederstrand <erik@cederstrand.dk>
In-Reply-To: <4C0272E9.8020800@pathscale.com>
Date: Sun, 30 May 2010 17:41:53 +0200
Message-Id: <3A66374B-B6EE-4286-9575-BDA6261A0AFA@cederstrand.dk>
References: <op.vb0w1zrh43o42p@klevas> <4BDD28E2.8010201@rawbw.com>
	<httjse$4ee$1@dough.gmane.org> <op.vdirbroh43o42p@klevas>
	<45C1FA95-C9A3-41EA-9E3A-61E35C7F6AD1@cederstrand.dk>
	<4C0272E9.8020800@pathscale.com>
To: freebsd-hackers@freebsd.org
X-Mailer: Apple Mail (2.1078)
X-Content-Filtered-By: Mailman/MimeDel 2.1.5
Cc: "=?iso-8859-1?Q?=22C._Bergstr=F6m=22?=" <cbergstrom@pathscale.com>
Subject: Re: Permissive licensed toolchain
X-BeenThere: freebsd-hackers@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Technical Discussions relating to FreeBSD
	<freebsd-hackers.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-hackers>, 
	<mailto:freebsd-hackers-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-hackers>
List-Post: <mailto:freebsd-hackers@freebsd.org>
List-Help: <mailto:freebsd-hackers-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-hackers>,
	<mailto:freebsd-hackers-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 30 May 2010 15:41:56 -0000


--Apple-Mail-163-574170180
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=iso-8859-1


Den 30/05/2010 kl. 16.15 skrev C. Bergstr=F6m:

> What's the real status of a fully permissive licensed toolchain?

You mean ClangBSD?

> 1) Benchmarks - (I mean emperical evidence on FBSD and per target with =
no anecdotal comments or speculation.. I admit benchmarks can actually =
be misleading since many companies optimize for them specifically)

I'm working (slowly) on comparing FreeBSD and ClangBSD for various =
benchmarks.

> 3) Which assembler is being used?

The same as FreeBSD: GNU as. There is ongoing work in the llvm-mc =
project to provide an assembler for LLVM, but ELF support is low =
priority for Apple. There was an experimental patch on the mailing list =
a couple of weeks back.

> 4) Which linker is being used?

GNU ld. LLVM also provides a linker, but last time I checked it wasn't =
functional on FreeBSD. It provides LTO that would be interesting to =
benchmark.

> What's the best way to make a plan which will get feedback if someone =
wanted to try alternative approach to the above?

Make it easily available, e.g. as a Subversion repo like ClangBSD, or an =
install CD, and provide instructions for easy installation and test. I'm =
testing ClangBSD in a VirtualBox VM which makes it easy to recover after =
hosing the operating system.

Erik=

--Apple-Mail-163-574170180--