From owner-freebsd-current@FreeBSD.ORG Mon May 31 15:07:43 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF6731065673; Mon, 31 May 2010 15:07:43 +0000 (UTC) (envelope-from dimitry@andric.com) 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 B332F8FC16; Mon, 31 May 2010 15:07:43 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7:0:b1e2:d68a:dece:f5eb] (unknown [IPv6:2001:7b8:3a7:0:b1e2:d68a:dece:f5eb]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id D0AD05C43; Mon, 31 May 2010 17:07:42 +0200 (CEST) Message-ID: <4C03D0C0.4050306@andric.com> Date: Mon, 31 May 2010 17:07:44 +0200 From: Dimitry Andric User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.4) Gecko/20100528 Lanikai/3.1.1pre MIME-Version: 1.0 To: Steve Kargl References: <20100529130240.GA99732@freebsd.org> <20100531144938.GA55909@troutmask.apl.washington.edu> In-Reply-To: <20100531144938.GA55909@troutmask.apl.washington.edu> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Brandon Gooch , Roman Divacky , current@freebsd.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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: Mon, 31 May 2010 15:07:44 -0000 On 2010-05-31 16:49, Steve Kargl wrote: >> So, what exactly should we expect, if anything, to break? :) > > Did you build and install new boot code? ISTR that clang > can't compile src/sys/boot/i386/boot0 to the required > 512 bytes. No, boot0 is written in assembly, and run through the regular (GNU) assembler. Neither gcc nor clang do anything more except calling the linker. The only component (in the whole clangbsd src tree) which still needs to be compiled with gcc is boot2, which otherwise ends up just a little too big, and doesn't fit. This is being worked on, but it isn't very critical, really. Note that clangbsd automatically uses gcc for this specific code, unless you override it manually.