Alex Hornung has done some preliminary work with llvm/clang, and has successfully compiled a GENERIC DragonFly kernel, and completed a buildworld, using it. He also has some very nice notes available detailing the work. There’s potential for cross-BSD work with FreeBSD on this one, too.
[...] ??Progress with clang?????????? clang ? FreeBSD source ??????? test case????? clang ? bug ????????????? FreeBSD ????? DragonFly BSD ????????? clang/llvm ? kernel ?? buildworld ??(????? patch) [...]
[...] patch that makes it very easy to switch out the compiler used to build DragonFly. This builds on earlier work from Alex [...]