From owner-freebsd-current@FreeBSD.ORG Sun Sep 26 06:52:23 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 CB1AC1065670; Sun, 26 Sep 2010 06:52:23 +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 80B468FC0C; Sun, 26 Sep 2010 06:52:23 +0000 (UTC) Received: from lev.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 8ED6B9CB0DA; Sun, 26 Sep 2010 08:52:21 +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 VjH5PYS6Jpzv; Sun, 26 Sep 2010 08:52:21 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id F176A9CB1CB; Sun, 26 Sep 2010 08:52:20 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.14.4/8.14.4/Submit) id o8Q6qKrR049180; Sun, 26 Sep 2010 08:52:20 +0200 (CEST) (envelope-from rdivacky) Date: Sun, 26 Sep 2010 08:52:20 +0200 From: Roman Divacky To: bf1783@gmail.com Message-ID: <20100926065220.GA49055@freebsd.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: jkoshy@FreeBSD.org, freebsd-current@FreeBSD.org, dim@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: Sun, 26 Sep 2010 06:52:23 -0000 On Sat, Sep 25, 2010 at 08:55:51PM +0000, b. f. wrote: > Dmitry Andric wrote: > >On 2010-09-25 21:16, Paul B Mahol wrote: > >> 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. > > > >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. > > There has been another effort underway for some time: > > http://sourceforge.net/apps/trac/elftoolchain/ > > Perhaps some coordination between those working on llvm in FreeBSD, > and the elftoolchain project, would be helpful? there's not that much overlap between those two - in a case elftoolchain gets to implementing linker it would be sweet if it supported the same plugin API as "gold" so we can use LLVM LTO plugin there... beside that I dont see much point in teaching nm to see into llvm object files etc. (we already have tools for that)