Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 May 2010 19:13:57 +0200
From:      Roman Divacky <rdivacky@freebsd.org>
To:        current@freebsd.org
Subject:   Re: [CFT]: ClangBSD is selfhosting, we need testers now - STATUS UPDATE
Message-ID:  <20100505171357.GA6913@freebsd.org>

next in thread | raw e-mail | index | archive | help

--AqsLC8rIMeq19msA
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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=20
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,
>=20
> ClangBSD is a branch of FreeBSD that aims at integrating clang (clang.llv=
m.org)
> into FreeBSD, replacing GCC as a system compiler.
>=20
> 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 Fre=
eBSD
> community for wider testing on i386/amd64 (you sure can help with other
> platforms too :)).
>=20
> How to setup ClangBSD:
>=20
> The default configuration of ClangBSD requires clang installed so you can
> either install fresh llvm-devel port (portinstall devel/llvm-devel) or ch=
ange=20
> CC to "gcc" and CXX to "g++" in share/mk/sys.mk. I recommend the former.
>=20
>=20
> 	svn co http://svn.freebsd.org/base/projects/clangbsd/ clangbsd
>=20
> 	cd clangbsd && make buildworld
>=20
> 	echo NO_WERROR=3D >> /etc/make.conf
> 	echo WERROR=3D    >> /etc/make.conf
>=20
> 	make DESTDIR=3D/clangbsd-chroot/ installworld
>=20
>=20
> 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.
>=20
> You can also start using clang compiled kernel - either build the kernel =
in
> the ClangBSD chroot (set NO_WERROR=3Dyo and WERROR=3Dyo in /etc/src.conf)=
 or set
> CC to clang and build kernel the normal way.
>=20
> This information (and more) is also provided on:
> =09
> 	http://wiki.freebsd.org/BuildingFreeBSDWithClang
>=20
> We kindly ask you to setup ClangBSD chroot and/or use clang compiled kern=
el and=20
> use it as you would normally use FreeBSD. Please report back=20
>=20
> Thank you,
>=20
>    Roman Divacky on behalf of the ClangBSD team



--AqsLC8rIMeq19msA
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)

iEYEARECAAYFAkvhp1UACgkQLVEj6D3CBExwiQCfXQ5z76/Z6IiIWF1kmV9MMo69
R5wAn2QR852KOSjGtLFvKJIVpip8jjYt
=U7MN
-----END PGP SIGNATURE-----

--AqsLC8rIMeq19msA--



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