Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jun 2010 14:57:22 -0700
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        Pawel Worach <pawel.worach@gmail.com>
Cc:        current@freebsd.org
Subject:   Re: Importing clang/LLVM into FreeBSD HEAD
Message-ID:  <20100602215722.GA72880@troutmask.apl.washington.edu>
In-Reply-To: <E1B70492-3F97-490C-857C-26B719AAF251@gmail.com>
References:  <20100531075248.GA15206@freebsd.org> <20100531145749.GB55909@troutmask.apl.washington.edu> <E1B70492-3F97-490C-857C-26B719AAF251@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100602215722.GA72880>