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.org

There's Interest In Building The Linux Kernel With Clang

Michael Larabel

Published on 5 April 2012
Written by Michael Larabel
Page 1 of 3 - 9 Comments

There's growing interest in being able to build the mainline Linux kernel with the LLVM/Clang compiler as an alternative to the kernel's long-standing love-affair with GCC.

Mark Charlebois and David Kipping of Qualcomm talked this morning at this week's Linux Foundation Collaboration Summit about their interest in LLVM and Clang for the ARM platform, per Qualcomm's obvious interests. Additionally, Mark Charlebois has been working hard at getting the mainline Linux kernel to build under LLVM/Clang for the ARM architecture.

For those that don't remember, in late 2010 there was the original undertaking of using LLVM Clang to build the Linux kernel. When not building all kernel drivers and other components, plus applying some out-of-tree patches, there was success in building a Clang-ified Linux kernel.

Bryce Lelbach was the developer working on making Clang supported by the Linux kernel. At last year's Linux Foundation Collaboration Summit he presented on this work during the LLVM track, but since then there's been really nothing to report on the matter. Building the mainline Linux kernel with a mainline LLVM/Clang compiler is still not possible.

As far as why Qualcomm's Innovation Center is now getting behind LLVM/Clang for the Linux kernel, there's several reasons, among which is they've always been fond towards LLVM. Of the benefits they see for bringing up their ARM Linux kernel on Clang is that there's better diagnostics (error reporting / warnings, catching things GCC doesn't), Clang provides some level of "fix-it hints", and Clang's static analyzer is extremely powerful.

Mark Charlebois also mentioned how Qualcomm likes LLVM's flexibility, targeting all "cores" of ARM SoCs, having one code generator for many different environments, etc. "We want a single compiler toolchain."

<< Previous Page
1
Latest Linux Hardware Reviews
  1. Btrfs On 4 x Intel SSDs In RAID 0/1/5/6/10
  2. AMD Radeon R9 290 On Ubuntu 14.10: RadeonSI Gallium3D vs. Catalyst
  3. MSI X99S SLI PLUS On Linux
  4. NVIDIA GeForce GTX 970 Offers Great Linux Performance
Latest Linux Articles
  1. Windows 8.1 vs. Ubuntu 14.10 With Intel HD Graphics
  2. 6-Way Ubuntu 14.10 Radeon Gallium3D vs. Catalyst Driver Comparison
  3. NVIDIA vs. Nouveau Drivers On Ubuntu 14.10
  4. Ubuntu 14.10 Offers AMD Radeon Driver Performance Improvements
Latest Linux News
  1. SIMD For JavaScript Continues Coming Along
  2. GNOME 3.15.1 Released
  3. Red Hat Software Collections 1.2 Adds GCC 4.9, Nginx 1.6
  4. GLAMOR Acceleration Continues To Be Cleaned Up
  5. Russia's Yandex Web Browser Finally Released For Linux
  6. Linux Kernel Finally Being Optimized For SSHDs
  7. GPU Profiling Support Lands In Mozilla Firefox
  8. Kubuntu 15.04 Will Use KDE's Plasma 5 By Default
  9. KDBUS Submitted For Review To The Mainline Linux Kernel
  10. An Intel-Based Ubuntu Touch Tablet Is Planning To Launch Soon
Latest Forum Discussions
  1. Is foolish currently develop in machine code, hexadecimal and assembly?
  2. How to get rid of Linux
  3. Reducing The CPU Usage In Mesa To Improve Performance
  4. Help diagnosing problems with a Readon HD 4670 on Mesa 10.3.2-1
  5. Advertisements On Phoronix
  6. nv and xorg.conf under Debian PPC
  7. Looking for a Open-Source AMD experienced Linux mentor
  8. Bad perfomance in gaming