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 Articles & Reviews
  1. Sub-$20 802.11n USB WiFi Adapter That's Linux Friendly
  2. The Lenovo T450s Is Working Beautifully With Linux
  3. Linux 4.0 SSD EXT4 / Btrfs / XFS / F2FS Benchmarks
  4. Linux 4.0 Hard Drive Comparison With Six File-Systems
  5. Lenovo ThinkPad T450s Broadwell Preview
  6. How Open-Source Allowed Valve To Implement VULKAN Much Faster On The Source 2 Engine
Latest Linux News
  1. Debian 8.0 Jessie's Installer RC3 Released
  2. Features Thus Far For The Linux 4.1 Kernel
  3. Intel's Turbostat Adds Skylake Support In Linux 4.1
  4. Microsoft's Open-Source Group Merges Back Into The Company
  5. EXT4 In Linux 4.1 Adds File-System Level Encryption
  6. Open-Source Ardour 4.0 Audio Software Has Big Improvements
  7. Linux-Powered Endless Computer Raises $100k+ In A Few Days
  8. GCC 5.1 RC2 Arrives, GCC 5.1 Planned For Next Week
  9. F2FS For Linux 4.1 Has New Features & Fixes
  10. Phoronix Server Upgrade This Weekend: Dual Haswell Xeons, 96GB DDR4
Most Viewed News This Week
  1. Nouveau: NVIDIA's New Hardware Is "VERY Open-Source Unfriendly"
  2. Linux 4.0 Kernel Released
  3. Linux 4.1 Brings Many Potentially Risky x86/ASM Changes
  4. Microsoft Announces An LLVM-Based Compiler For .NET
  5. VirtualBox 5.0 Beta 2 Released
  6. KDBUS Is Taking A Lot Of Heat, Might Be Delayed From Mainline Linux Kernel
  7. LibreOffice 4.5 Bumped To Become LibreOffice 5.0
  8. Mozilla Start Drafting Plans To Deprecate Insecure HTTP