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

Debian Is Still Being Made To Build With LLVM/Clang

Debian

Published on 10 February 2013 01:39 PM EST
Written by Michael Larabel in Debian
6 Comments

Debian developers are still working on making the operating system compiler agnostic so that its packages can be built with LLVM/Clang and other compilers rather than continuing in a monogamist relationship with GCC.

In March of last year is when I first wrote about LLVM/Clang being toyed with for Debian. Nearly one year ago it was found that LLVM's C/C++ compiler was actually building much of the Debian archive while providing better compiler warnings/errors than GCC. The results were more positive than originally anticipated with less than 10% of the packages having problems being built with the alternative open-source compiler.

The Debian developers working on Clang support aren't doing so because they want to deprecate GCC but rather they want to provide their users with greater options and Clang does have some rather nice error/warnings (although GCC's reporting has improved recently too), static analysis tools, and other features to benefit developers. Pushing the packages through multiple compilers also generally ensures better code quality too.

In July was another LLVM/Clang update for Debian. It was reiterated the Clang work wasn't to wage some GPL vs. BSD war in the Debian camp but for technical reasons. With the code at that time, just over 10% of the Debian archive was having problems being built under the latest LLVM/Clang over GCC.

At FOSDEM 2013 last weekend was another presentation by Sylvestre Ledru on building Debian with LLVM/Clang. Embedded below is the WebM video of this presentation. For those just wanting build results and other technical details, visit clang.debian.net.


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. Ubuntu 15.04 Offers Faster OpenGL For AMD Radeon GPUs On Open-Source
  2. Ubuntu 15.04 Brings Some Graphics Performance Improvements For Intel Haswell
  3. Sub-$20 802.11n USB WiFi Adapter That's Linux Friendly
  4. The Lenovo T450s Is Working Beautifully With Linux
  5. Linux 4.0 SSD EXT4 / Btrfs / XFS / F2FS Benchmarks
  6. Linux 4.0 Hard Drive Comparison With Six File-Systems
Latest Linux News
  1. GCC 5.2 Will Come In Two To Three Months
  2. AMD FP3 Motherboard Ported To Coreboot
  3. The Difference In Optimizations Between NIR & GLSL
  4. OpenMandriva Lx 3 Alpha: Adds UEFI Support, Defaults To LXQt
  5. Systemd Kills Off Shutdownd
  6. There's Now More Than 1,100 Games On Steam For Linux
  7. Btrfs In Linux 4.1 Has Fixes For File-Systems Of 20 Terabytes & Up
  8. Microsoft's CoreCLR Now Works On FreeBSD
  9. Unigine 2.0 Beta 2 Brings PBR, SSR, Kinect 2 Support
  10. KDBUS Still Hasn't Been Pulled, Might Not Land For Linux 4.1
Most Viewed News This Week
  1. AMD Releases New "AMDGPU" Linux Kernel Driver & Mesa Support
  2. Ubuntu's Desktop-Next Switching From .DEBs To Snappy
  3. My Favorite Computer Desk Of The Past Decade For Less Than $100
  4. EXT4 In Linux 4.1 Adds File-System Level Encryption
  5. AMD Open-Sources "Addrlib" From Catalyst
  6. Library Operating System (LibOS) For Linux Still Being Pursued
  7. Debian 8.0 Jessie Is Ready For Release This Weekend
  8. Linux-Powered Endless Computer Raises $100k+ In A Few Days