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. A Walkthrough Of The New 32 System Open-Source Linux Benchmarking Test Farm
  2. Habey MITX-6771: Mini-ITX Board With Quad-Core J1900 Bay Trail
  3. OCZ Vector 150 SSD On Linux
  4. Noctua i4 CPU Cooler: Great For Cooling High-End LGA-2011v3 CPUs
Latest Linux Articles
  1. AMD Kaveri: Open-Source Radeon Gallium3D vs. Catalyst 14.12 Omega Driver
  2. 12-Way AMD Catalyst 14.12 vs. NVIDIA 346 Series Linux GPU Comparison
  3. AMD Catalyst 14.12 Omega Driver Brings Mixed Results For Linux Users
  4. 6-Way Winter 2014 Linux Distribution Comparison
Latest Linux News
  1. Intel Skylake Audio Support For Linux 3.19
  2. After 10+ Years, NetworkManager Reaches v1.0
  3. VDPAU Updated To v0.9
  4. An Open Hardware Random Number Generator Proposed
  5. LLVM 3.6 Will Be Branched Next Month
  6. Opera Browser Puts Out Linux Updates For The Holidays
  7. GNOME Shell 3.15.3 Adds Support For High-Contrast Themes
  8. Linux 3.19: ThinkPad Muting Redone, New Dell Backlight Support, Acer Is Banging
  9. KVM Drops Support For IA64 While Adding Various x86 Improvements
  10. GCC 4.8.4 Officially Released
Latest Forum Discussions
  1. Need some hand holding with upgrading xserver
  2. Updated and Optimized Ubuntu Free Graphics Drivers
  3. XLennart: A Game For Systemd Haters With Nothing Better To Do
  4. Debian init discussion in Phoenix Wright format
  5. The New SuperTuxKart Looks Better, But Can Cause GPU/Driver Problems
  6. FPS capped on Linux (AMD fglrx drivers)
  7. Are there an app using HSA ?
  8. Bench specific mount point