1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking Benchmarking Platform
Phoromatic Test Orchestration

LLVM/Clang Is Advancing To Build The Linux Kernel

Linux Kernel

Published on 16 October 2013 10:00 PM EDT
Written by Michael Larabel in Linux Kernel
8 Comments

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.

About The Author
Michael Larabel is the principal author of Phoronix.com and founded the web-site in 2004 with a focus on enriching the Linux hardware experience and being the largest web-site devoted to Linux hardware reviews, particularly for products relevant to Linux gamers and enthusiasts but also commonly reviewing servers/workstations and embedded Linux devices. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics hardware drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated testing software. He can be followed via and or contacted via .
Latest Linux News
  1. Features Added To Mesa 10.6 For Open-Source GPU Drivers
  2. Ubuntu's LXD vs. KVM For The Linux Cloud
  3. Fedora Server 22 Benchmarks With XFS & The Linux 4.0 Kernel
  4. GCC 6 Gets Support For The IBM z13 Mainframe Server
  5. Fedora 22 Is Being Released Next Tuesday
  6. OpenWRT 15.05 Preparing Improved Security & Better Networking
  7. Using The New LLVM/Clang OpenMP Support
  8. Zapcc Claims To Be A "Much Faster C++ Compiler"
  9. Godot 1.1 Engine Release Brings New 2D Engine
  10. Intel VA-API Driver 1.6 Is Coming
Latest Articles & Reviews
  1. Btrfs RAID 0/1 Benchmarks On The Linux 4.1 Kernel
  2. The State Of Various Firefox Features
  3. Intel Iris Graphics Performance With Mesa 10.6
  4. Fedora Workstation 22 Is Looking Great, Running Fantastic
Most Viewed News This Week
  1. The Linux 4.0 Kernel Currently Has An EXT4 Corruption Issue
  2. AMDGPU Open-Source Driver Code Continues Maturing
  3. The Linux 4.0 EXT4 RAID Corruption Bug Has Been Uncovered
  4. Oculus Rift Suspends Linux Development To Focus On Windows
  5. Microsoft Open-Sources The Windows Communication Foundation
  6. LibreOffice 5.0 Open-Source Office Suite Has Been Branched
  7. Another HTTPS Vulnerability Rattles The Internet
  8. Linux 4.1-rc4 Kernel Arrives A Day Late