Re: Linux and LLVM

From: Jeff Garzik
Date: Fri May 08 2009 - 15:41:54 EST


Grozdan wrote:
Hi,

First, I'd like to say that I'm not interested in any holy wars,
trolling, ego-boosters, or whatever, and basically want to ask a
simple question and get the views of the Linux developers on it, at
least from those who are interested in answering it or have time to do
so as I know that most kernel devs are very busy :)

Recently, FreeBSD has reported that it's slowly switching from GCC to
LLVM/CLANG for compilers. What are the thoughts of the Linux kernel
devs about this and do they things that it's a good idea to go in the
same direction as FreeBSD (switching over to LLVM)?

It is highly unlikely we will switch compilers away from gcc -- we have enough problems just supporting multiple gcc versions.

That said, you could join the effort to get LLVM to compile under the kernel. Here is a meta-bug for that: http://llvm.org/bugs/show_bug.cgi?id=4068

It is a moot question until LLVM can actually build a bootable kernel :)

Regards,

Jeff



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/