[CFT]: ClangBSD is selfhosting, we need testers now - STATUS UPDATE

Roman Divacky rdivacky at freebsd.org
Wed May 5 17:16:48 UTC 2010


fwiw, it looks like it may make sense to have 2nd round of runtime testing :)

these things were fixed in clangbsd that were reported as problems:

1) static binaries (eg. make) crash

2) kernel sound module miscompilation

3) bootloader problem which prevented clangbsd from booting

4) fix building when CC/CXX were set to cc/c++

5) kernel printf modifiers semantic checking was implemented

6) i386 default cpu setting fix

I know about these problems that are still not fixed

1) i386 is being miscompiled so clang built clang crashes

	this is being worked on, we have a test case and I believe
	Dmitry Andric (big kudos to him!) is about to submit a bug
	report to llvm

2) mergemaster problems - I have a fix but have not commited it yet

3) ruby crashes

so, if you have one of the problems I listed as being fixed I'd like you
to update clangbsd sources and rebuild the world to make sure that the
problem you had was indeed fixed. If it wasn't, please report back to me.
New testers are welcome too of course :)

I am all ears about new problems as well. Please restrict your testing
to amd64 as i386 is broken. You are free to test on ARM too as I am 
quite sure it works "reasonably well" there but noone tested it.

thank you!

Roman Divacky


On Fri, Apr 16, 2010 at 06:08:18PM +0200, Roman Divacky wrote:
> Hi,
> 
> ClangBSD is a branch of FreeBSD that aims at integrating clang (clang.llvm.org)
> into FreeBSD, replacing GCC as a system compiler.
> 
> Recently, we've achieved the state when clang can compile all of FreeBSD world
> on i386/amd64 platforms (including all the C++ apps we have and itself)
> and a bootable kernel. Thus we feel that the time has come to ask the FreeBSD
> community for wider testing on i386/amd64 (you sure can help with other
> platforms too :)).
> 
> How to setup ClangBSD:
> 
> The default configuration of ClangBSD requires clang installed so you can
> either install fresh llvm-devel port (portinstall devel/llvm-devel) or change 
> CC to "gcc" and CXX to "g++" in share/mk/sys.mk. I recommend the former.
> 
> 
> 	svn co http://svn.freebsd.org/base/projects/clangbsd/ clangbsd
> 
> 	cd clangbsd && make buildworld
> 
> 	echo NO_WERROR= >> /etc/make.conf
> 	echo WERROR=    >> /etc/make.conf
> 
> 	make DESTDIR=/clangbsd-chroot/ installworld
> 
> 
> now you have ClangBSD world installed and you can chroot into it. I don't
> recommend installing ClangBSD into real root as it is not tested enough.
> 
> You can also start using clang compiled kernel - either build the kernel in
> the ClangBSD chroot (set NO_WERROR=yo and WERROR=yo in /etc/src.conf) or set
> CC to clang and build kernel the normal way.
> 
> This information (and more) is also provided on:
> 	
> 	http://wiki.freebsd.org/BuildingFreeBSDWithClang
> 
> We kindly ask you to setup ClangBSD chroot and/or use clang compiled kernel and 
> use it as you would normally use FreeBSD. Please report back 
> 
> Thank you,
> 
>    Roman Divacky on behalf of the ClangBSD team


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20100505/7377800b/attachment.pgp


More information about the freebsd-current mailing list