Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[ANNOUNCE]: clang/llvm can compile booting FreeBSD kernel on

17 views
Skip to first unread message

Roman Divacky

unread,
Feb 25, 2009, 4:49:12 PM2/25/09
to

--huq684BweRXVnRxX
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi,


Clang is a new frontend for C-like languages for LLVM. It's modern, BSD
licensed compiler that produces roughly the same code quality or better
as GCC. It's still in its development phase but quite mature. It includes
static analyzer as well.

And yes, it can compile FreeBSD kernel that actually boots and works. Not
as stable as GCC yet but the Clang team is working on that. The userland
needs some more work but a lot works already.

You can try yourself, the details are described here:


http://wiki.freebsd.org/BuildingFreeBSDWithClang


basically you just install devel/llvm-devel port, compile the kernel with -O1
and boot. Don't forget to try out the static analysis.

We'd like to encourage you to try this out and test stuff. We can't test
everything. In a case of problems (there sure will be) please contact me or
Pawel.

thank you!

your clang@freebsd team

Roman Divacky, Pawel Worach and Brooks Davis

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

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

iEYEARECAAYFAkmlu9UACgkQLVEj6D3CBEwQZgCeP/VoeUNaGezIwfyAd5zYu61j
LY0AmQH1b3kMbAXgR9MLNIQ2AZg/cne+
=yib1
-----END PGP SIGNATURE-----

--huq684BweRXVnRxX--

Ollivier Robert

unread,
Feb 25, 2009, 5:10:56 PM2/25/09
to
According to Roman Divacky:

> And yes, it can compile FreeBSD kernel that actually boots and works. Not
> as stable as GCC yet but the Clang team is working on that. The userland
> needs some more work but a lot works already.

> your clang@freebsd team
>
> Roman Divacky, Pawel Worach and Brooks Davis

\o/

Congratulations! I'm looking forward to replace gcc.
--
Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- rob...@keltia.freenix.fr
In memoriam to Ondine : http://ondine.keltia.net/
_______________________________________________
freebsd...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-curre...@freebsd.org"

Ollivier Robert

unread,
Feb 25, 2009, 5:11:14 PM2/25/09
to

Poul-Henning Kamp

unread,
Feb 25, 2009, 6:04:11 PM2/25/09
to
In message <2009022521...@freebsd.org>, Roman Divacky writes:

>And yes, it can compile FreeBSD kernel that actually boots and works.

Freedom from the dark lords grip just moved a fair bit closer :-)

--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
p...@FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.

0 new messages