Compiling kernel with gcc43

Andrius Morkūnas hinokind at gmail.com
Thu Mar 25 17:39:50 UTC 2010


On Thu, 25 Mar 2010 18:24:10 +0200, Mario Lobo <lobo at bsd.com.br> wrote:
> Should I just dump the gcc43 idea and try this with clang/llvm?
>
> I've seen http://wiki.freebsd.org/BuildingFreeBSDWithClang.
>
> Anything else to watch out for when building world/kernel/ports?

ClangBSD had little to no runtime testing, so you should be careful
with it. I'm not saying it won't work, but make sure you have backups
in case something goes wrong.

Also, if you just want to build the kernel, you don't need ClangBSD,
you can just install llvm-devel from ports and use
> make CC=/usr/local/bin/clang buildkernel
Some people ran or are running their systems with clang compiled kernel.
You should still be careful, and some things (like snd_hda on amd64)
are known to have problems.

-- 
Andrius


More information about the freebsd-questions mailing list