Building the kernel and userland with llvm/clang

David Wolfskill david at
Tue Aug 28 15:46:22 UTC 2012

On Tue, Aug 28, 2012 at 04:32:03PM +0100, Jamie Paul Griffin wrote:
> Hi
> I've been reading some information about building my system, FreeBSD Stable/9, using llvm/clang; the site I've been looking at is
> I was wondering about the benefits of doing so and also - and probably more importantly - if there are potential problems that might mean it's not worthwhile doing. Having read it again today there doesn't seem to be any likely problems
> I'd appreciate any thoughts or advice about this if possible. 
> ...

I have been doing this (on a daily basis) with both head & stable/9 on
my home "build machine" and my laptop since 12 Jul 2012; I have seen no
problems or issues.  (I build my ports under stable/8 & have /usr/local
in common across all 4 slices on each machine.)

Here's what's in my /etc/src.conf for stable/9:


When I update my "production" machines at home from stable/8 to stable/9
(probably shortly after 9.1 is released), they will (by necessity) also
migrate to FreeBSD built with llvm/clang (as they get installed what the
build machine builds).

David H. Wolfskill				david at
Depriving a girl or boy of an opportunity for education is evil.

See for my public key.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url :

More information about the freebsd-stable mailing list