[TESTING]: ClangBSD branch needs testing before the import to HEAD

Alexandre "Sunny" Kovalenko gaijin.k at ovi.com
Mon May 31 21:12:08 UTC 2010


On Sat, 2010-05-29 at 15:02 +0200, Roman Divacky wrote:
> hi,
> 
> ClangBSD was updated to LLVM/clang revision 104832 which is what we aim to import
> into HEAD in roughly a week. We would like the initial import to be as painless
> as possible and therefore we ask you to test ClangBSD to assure that the revision
> we are importing does not have some really embarassing bugs.
> 
> How to do it (on i386 and amd64):
> 
> 0) install fresh devel/llvm-devel port
> 
> 1) svn co http://svn.freebsd.org/base/projects/clangbsd src
> 
> 2) echo NO_WERROR= >> /etc/src.conf ; echo WERROR= >> /etc/src.conf
> 
> 3) cd src && make buildworld
> 
> 4) make installworld DESTDIR=/usr/clangbsd
> 
> 5) (optional) try to build kernel with clang and boot it
> 
> 	5.1) cd /sys/{arch}/conf
> 	5.2) config YOUR_KERNEL
> 	5.3) setenv CC clang in tcsh or export CC=clang in bash
> 	5.4) cd ../compile/YOUR_KERNEL
> 	5.5) make && make install
> 
> please make sure that it builds (on amd64/i386) and that the resulting world
> is runnable. ie. try to chroot into it and "do stuff". ie.
> 
> 	chroot /clangbsd /bin/tcsh
> 
> 	... stuff ...
> 
> 
> there's a wiki page on this effort: http://wiki.freebsd.org/BuildingFreeBSDWithClang
> 
> please report back any problems/success to me and/or this mailing list. 
> 
> thank you for your testing!
> 
> Roman Divacky on behalf of the ClangBSD team

Good people,

I have VirtualBox image of the ClangBSD (kernel + world i386) with the
clang installed, and Niclas generously offered to host it on his FTP
server. Image size (compressed) is slightly over 1GB.

Before we go through the hoops of moving image over, I am trying to see
whether there is sufficient interest in it. Would people, who are
interested, please, contact me off list -- if count tallies at about 10,
I will upload the image and Niclas will post URL here.

While I realize that moving target like ClangBSD, probably made this
image obsolete while I was building it, I think it will provide starting
point for those who want to test and/or experiment at the cost of
download.

Please, let me know.

-- 
Alexandre Kovalenko (Олександр Коваленко)



--------------------------------------------------------------
Ovi Mail: Easy setup in minutes
http://mail.ovi.com



More information about the freebsd-current mailing list