From owner-freebsd-current@FreeBSD.ORG Wed Jun 2 21:57:23 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 70145106566C for ; Wed, 2 Jun 2010 21:57:23 +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 3373F8FC08 for ; Wed, 2 Jun 2010 21:57:23 +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 o52LvMCr073042; Wed, 2 Jun 2010 14:57:22 -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 o52LvMu4073041; Wed, 2 Jun 2010 14:57:22 -0700 (PDT) (envelope-from sgk) Date: Wed, 2 Jun 2010 14:57:22 -0700 From: Steve Kargl To: Pawel Worach Message-ID: <20100602215722.GA72880@troutmask.apl.washington.edu> References: <20100531075248.GA15206@freebsd.org> <20100531145749.GB55909@troutmask.apl.washington.edu> 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: current@freebsd.org Subject: Re: Importing clang/LLVM into FreeBSD 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: Wed, 02 Jun 2010 21:57:23 -0000 On Wed, Jun 02, 2010 at 11:48:11PM +0200, Pawel Worach wrote: > On May 31, 2010, at 16:57, Steve Kargl wrote: > > > > Can clang/LLVM build the livefs and bootonly CD's? > > > > There is a buildbot here[1] that builds a live CD for boot > testing, so I would say it works. > > [1] http://amd64-clang-bot.qat.freebsd.org:8010/ > Clang cannot build a FreeBSD without the help of gcc. http://amd64-clang-bot.qat.freebsd.org:8010/freebsd.diff Index: sys/boot/i386/boot2/Makefile =================================================================== --- sys/boot/i386/boot2/Makefile (revision 208675) +++ sys/boot/i386/boot2/Makefile (working copy) @@ -1,5 +1,7 @@ # $FreeBSD$ +CC= gcc + FILES= boot boot1 boot2 NM?= nm ndex: sys/boot/i386/zfsboot/Makefile =================================================================== --- sys/boot/i386/zfsboot/Makefile (revision 208675) +++ sys/boot/i386/zfsboot/Makefile (working copy) @@ -1,5 +1,7 @@ # $FreeBSD$ +CC= gcc + .PATH: ${.CURDIR}/../boot2 Index: sys/boot/i386/gptboot/Makefile =================================================================== --- sys/boot/i386/gptboot/Makefile (revision 208675) +++ sys/boot/i386/gptboot/Makefile (working copy) @@ -1,5 +1,7 @@ # $FreeBSD$ +CC= gcc + .PATH: ${.CURDIR}/../boot2 FILES= gptboot Index: sys/boot/i386/gptzfsboot/Makefile =================================================================== --- sys/boot/i386/gptzfsboot/Makefile (revision 208675) +++ sys/boot/i386/gptzfsboot/Makefile (working copy) @@ -1,5 +1,7 @@ # $FreeBSD$ +CC= gcc + .PATH: ${.CURDIR}/../boot2 ${.CURDIR}/../gptboot ${.CURDIR}/../zfsboot FILES= gptzfsboot -- Steve