From owner-freebsd-current@FreeBSD.ORG Mon May 31 15:19:02 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 6F806106564A; Mon, 31 May 2010 15:19:02 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.freebsd.org (Postfix) with ESMTP id 310D28FC1A; Mon, 31 May 2010 15:19:02 +0000 (UTC) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.4/8.14.4) with ESMTP id o4VFIgKW056285; Mon, 31 May 2010 08:18:42 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.4/8.14.4/Submit) id o4VFIgoR056284; Mon, 31 May 2010 08:18:42 -0700 (PDT) (envelope-from sgk) Date: Mon, 31 May 2010 08:18:42 -0700 From: Steve Kargl To: Dimitry Andric Message-ID: <20100531151841.GA56247@troutmask.apl.washington.edu> References: <20100529130240.GA99732@freebsd.org> <20100531144938.GA55909@troutmask.apl.washington.edu> <4C03D0C0.4050306@andric.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C03D0C0.4050306@andric.com> User-Agent: Mutt/1.4.2.3i 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:19:02 -0000 On Mon, May 31, 2010 at 05:07:44PM +0200, Dimitry Andric wrote: > 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. Doesn't this imply that clang/llvm isn't quite ready for deployment. Being able to boot a complete clang/llvm compiled FreeBSD system would seem to be critical. When you say "This is being worked on", do you mean clang/llvm is being changed to compile boot2 or do you mean boot2 is being changed to allow clang/lvvm to compile it? -- Steve