From owner-freebsd-current@FreeBSD.ORG Sat Sep 25 20:47:27 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 4DAD8106564A; Sat, 25 Sep 2010 20:47:27 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (lev.vlakno.cz [77.93.215.190]) by mx1.freebsd.org (Postfix) with ESMTP id B25128FC12; Sat, 25 Sep 2010 20:47:26 +0000 (UTC) Received: from lev.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 0B3039CB070; Sat, 25 Sep 2010 22:28:08 +0200 (CEST) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by lev.vlakno.cz (lev.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lZwUTuXOo4EY; Sat, 25 Sep 2010 22:28:07 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 60C199CB1AE; Sat, 25 Sep 2010 22:28:07 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.14.4/8.14.4/Submit) id o8PKS7ms083939; Sat, 25 Sep 2010 22:28:07 +0200 (CEST) (envelope-from rdivacky) Date: Sat, 25 Sep 2010 22:28:07 +0200 From: Roman Divacky To: Dimitry Andric Message-ID: <20100925202807.GA83725@freebsd.org> References: <4C99A53E.7060707@FreeBSD.org> <4C9E5A50.7040607@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C9E5A50.7040607@FreeBSD.org> User-Agent: Mutt/1.4.2.3i Cc: freebsd-current@FreeBSD.org Subject: Re: Clang now builds world and kernel, on i386 and amd64 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: Sat, 25 Sep 2010 20:47:27 -0000 On Sat, Sep 25, 2010 at 10:23:44PM +0200, Dimitry Andric wrote: > On 2010-09-25 21:16, Paul B Mahol wrote: > >On 9/22/10, Dimitry Andric wrote: > >>As of r212979, you should now be able to build world and kernel on i386 > >>and amd64 with clang, without any additional patches! > ... > >When to expect to get rid of GNU as and other binutils tools? > > Work is progressing steadily on the clang/llvm integrated assembler, > which removes the need for an external assembler such as gas, and which > should also reduce compile times further. This is really in alpha state > right now, but Roman Divacky (who is one of the active contributors) can > probably tell more about its progress. yes, this will give us BSDL modern asm (ie. things like SSE4.x works etc.) on X86/arm > Another important component is of course the linker, but I am not aware > of a similar project to replace that; excepting gold, but that is a > GPLv3 project too, unfortunately. I know of something that may happen, it's in planning stage now > There is also an LLDB Debugger project in the very early stages of > development, see http://lldb.llvm.org/, but this works only on Mac OS X > now. Volunteers are invited to port this to FreeBSD. :) > > Not binutils related, but still possibly interesting to FreeBSD, are > also the libc++ and compiler-rt projects, a GNU libstdc++ replacement > and a GNU libgcc replacement, respectively. See http://libcxx.llvm.org/ > and http://compiler-rt.llvm.org/ for more information. there's also elftoolchain: http://sourceforge.net/apps/trac/elftoolchain/