LLVM/Clang Is Advancing To Build The Linux Kernel
Going back years there's been work to build the Linux kernel with LLVM's Clang compiler rather than GCC. It's taken a lot of work by many individuals and organizations, but it's becoming an easier task to accomplish for multiple architectures. Here's where the Clang'ed Linux kernel is at today.
Behan Webster of the LLVMLinux project gave a status update last month at LinuxCon North America. The slides are now available for those interested. Some of the key highlights include:
- On the compiler side, all the necessary Clang patches landed with LLVM 3.3 as previously talked about on Phoronix. With LLVM/Clang 3.3, the necessary compiler support is there but the Clang integrated assembler is still disabled.
- LLVM/Clang 3.3 can build the Linux kernel but there's still out-of-tree patches on the kernel side that need to be applied. The kernel patches range from Kbuild support to unsupported GCC language extensions. The LLVMLinux developers though still hope to upstream all of their patches.
- The LLVMLinux members are watching the Linux kernel in real-time for any code changes that break support and are then working to fix them whether it's on the compiler or kernel side.
- The LLVMLinux project can be helped by testing patches, reporting bugs, working on unsupported features, and if you're up for it to work on your own patches.
More details can be found by the PDF slides.
P.S. In case you missed it, Microsoft is now experimenting with LLVM.
Latest Linux News
Latest Articles & Reviews
Most Viewed News This Week