From owner-freebsd-current@FreeBSD.ORG Sat Sep 25 20:23:39 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 E306B106564A for ; Sat, 25 Sep 2010 20:23:39 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (cl-327.ede-01.nl.sixxs.net [IPv6:2001:7b8:2ff:146::2]) by mx1.freebsd.org (Postfix) with ESMTP id A3A1C8FC1C for ; Sat, 25 Sep 2010 20:23:39 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7:0:4975:8ad9:4ce3:7a75] (unknown [IPv6:2001:7b8:3a7:0:4975:8ad9:4ce3:7a75]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 8DE645C43; Sat, 25 Sep 2010 22:23:38 +0200 (CEST) Message-ID: <4C9E5A50.7040607@FreeBSD.org> Date: Sat, 25 Sep 2010 22:23:44 +0200 From: Dimitry Andric Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.10pre) Gecko/20100910 Lanikai/3.1.4pre MIME-Version: 1.0 To: Paul B Mahol References: <4C99A53E.7060707@FreeBSD.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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:23:40 -0000 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. 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 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.