Date: Thu, 25 Mar 2010 19:12:42 +0200 From: =?utf-8?B?QW5kcml1cyBNb3JrxatuYXM=?= <hinokind@gmail.com> To: "Mario Lobo" <lobo@bsd.com.br>, FreeBSD-Questions@freebsd.org Cc: freebsd-hackers@freebsd.org Subject: Re: Compiling kernel with gcc43 Message-ID: <op.u94vffbk43o42p@klevas> In-Reply-To: <9884b5281003250924i462eee68uf2a7eba7dd864033@mail.gmail.com> References: <201003242258.05830.lobo@bsd.com.br> <9884b5281003250924i462eee68uf2a7eba7dd864033@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 25 Mar 2010 18:24:10 +0200, Mario Lobo <lobo@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.u94vffbk43o42p>