From owner-freebsd-current@FreeBSD.ORG Fri Jan 9 03:12:05 2009 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 A2539106564A for ; Fri, 9 Jan 2009 03:12:05 +0000 (UTC) (envelope-from andrew@areilly.bpa.nu) Received: from nschwmtas01p.mx.bigpond.com (nschwmtas01p.mx.bigpond.com [61.9.189.137]) by mx1.freebsd.org (Postfix) with ESMTP id 2FFF58FC0C for ; Fri, 9 Jan 2009 03:12:04 +0000 (UTC) (envelope-from andrew@areilly.bpa.nu) Received: from nschwotgx02p.mx.bigpond.com ([124.188.162.219]) by nschwmtas01p.mx.bigpond.com with ESMTP id <20090109031203.TAZT412.nschwmtas01p.mx.bigpond.com@nschwotgx02p.mx.bigpond.com> for ; Fri, 9 Jan 2009 03:12:03 +0000 Received: from areilly.bpa.nu ([124.188.162.219]) by nschwotgx02p.mx.bigpond.com with ESMTP id <20090109031158.BDEI14268.nschwotgx02p.mx.bigpond.com@areilly.bpa.nu> for ; Fri, 9 Jan 2009 03:11:58 +0000 Received: (qmail 55700 invoked by uid 501); 9 Jan 2009 03:11:47 -0000 Date: Fri, 9 Jan 2009 14:11:47 +1100 From: Andrew Reilly To: Ollivier Robert Message-ID: <20090109031147.GB44317@duncan.reilly.home> References: <49668763.8020705@mail.zedat.fu-berlin.de> <20090108233311.GA69883@keltia.freenix.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090108233311.GA69883@keltia.freenix.fr> User-Agent: Mutt/1.4.2.3i X-RPD-ScanID: Class unknown; VirusThreatLevel unknown, RefID str=0001.0A150202.4966C07F.000A:SCFSTAT2704298,ss=1,fgs=0 Cc: freebsd-current@freebsd.org Subject: Re: gcc 4.3: when will it become standard compiler? 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, 09 Jan 2009 03:12:05 -0000 On Fri, Jan 09, 2009 at 12:33:11AM +0100, Ollivier Robert wrote: > According to O. Hartmann: > > When will gcc 4.3 incorporated in FreeBSD 8 and become the standard > > compiler suite? We figured out that gcc 4.3 does have a speed gain in > > some numerical code of 3 - 8 % and I guess we can use this in the basic > > OS as well ... > > I'd rather have llvm instead... I wouldn't mind that, either. I've got the llvm port installed myself, in preparation for doing some experiments of my own, but haven't tried using it to build the kernel or user-land (or even any of the ports). Has anyone given it a go? Is it missing any crucial features? I believe that it had different (or no?) support for PIC code generation, which could affect the ability to do shared libraries, but recent release notes seem to indicate that that's been addressed. There's also someone working on a BSD-licenced retooling (ANSI/ISO-ification) of the PCC compiler, which is getting close to being useful as a system compiler, I believe. (http://www.ludd.ltu.se/~ragge/pcc/ in ports/lang/pcc) In any case, performance gains on numerical code have almost zero bearing on performance of "operating system" code -- no floating point in kernel for starters, and hardly any time spent in loops, either... Cheers, -- Andrew