On 02/16/2012 10:37 AM, Dave Jones wrote:
On Thu, Feb 16, 2012 at 10:22:03AM +0530, Rahul Sundaram wrote:
  >  On 02/16/2012 10:08 AM, Genes MailLists wrote:
  >
  >  >    Not to mention that the kernel devs use gcc to compile the kernel -
  >  >  and it most certainly puts a lot of pressure on the compiler. I suspect
  >  >  unless linus drops gcc as well, we'll at a minimum need to keep it to
  >  >  build the kernel itself.
  >
  >  Not quite.  LLVM can be used to build the kernel

The last I heard on this, it was very basic. Parts of the kernel
wouldn't compile/work. Including fundamental stuff, like the module loader.
I believe it still used gcc for some parts that choked llvm too.

You cannot yet build a non-SMP kernel with LLVM, much less boot. We do weird stuff with labels that LLVM does not support, among other details. Bugs have been filed with LLVM for well over a year, and they are aware of the unresolved LLVM issues preventing kernel builds.

        Jeff



--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Reply via email to