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. MSI X99S SLI PLUS On Linux
  2. NVIDIA GeForce GTX 970 Offers Great Linux Performance
  3. CompuLab Intense-PC2: An Excellent, Fanless, Mini PC Powered By Intel's i7 Haswell
  4. From The Atom 330 To Haswell ULT: Intel Linux Performance Benchmarks
Latest Linux Articles
  1. Open-Source Radeon 2D Performance Is Better With Ubuntu 14.10
  2. RunAbove: A POWER8 Compute Cloud With Offerings Up To 176 Threads
  3. 6-Way Ubuntu 14.10 Linux Desktop Benchmarks
  4. Ubuntu 14.10 XMir System Compositor Benchmarks
Latest Linux News
  1. Dead Island GOTY Now Available On Linux/SteamOS
  2. Ubuntu 14.04 In The Power8 Cloud From RunAbove
  3. KDE With Theoretical Client-Side Decorations, Windows 10 Influence
  4. Sandusky Lee: Great Cabinets For Storing All Your Computer Gear
  5. Fedora 21 Beta & Final Release Slip Further
  6. Mesa 10.3.2 Has A Couple Bug-Fixes
  7. RadeonSI/R600g HyperZ Support Gets Turned Back On
  8. openSUSE Factory & Tumbleweed Are Merging
  9. More Fedora Delays: Fedora 21 Beta Slips
  10. Mono Brings C# To The Unreal Engine 4
Latest Forum Discussions
  1. Updated and Optimized Ubuntu Free Graphics Drivers
  2. HOPE: The Ease Of Python With The Speed Of C++
  3. Use Ubuntu MATE 14.10 Make it an official distro.
  4. Users/Developers Threatening Fork Of Debian GNU/Linux
  5. Debian Is Back To Discussing Init Systems, Freedom of Choice
  6. AMD Radeon VDPAU Video Performance With Gallium3D
  7. Ubuntu 16.04 Might Be The Distribution's Last 32-Bit Release
  8. Linux hacker compares Solaris kernel code: