|
|
Log in / Subscribe / Register

Clang builds a working 2.6.36 Kernel

Clang builds a working 2.6.36 Kernel

Posted Oct 26, 2010 14:57 UTC (Tue) by wash (guest, #70825)
In reply to: Clang builds a working 2.6.36 Kernel by clugstj
Parent article: Clang builds a working 2.6.36 Kernel

No offense, but I'm not really interested in your opinion. This is a project I am working on in my spare time; I made a post about it to a development list. Parties unknown to me (who obviously felt it was of some significance - note that I do not particularly agree with them, as this is just one of many milestones Clang has recently passed) decided to publicize this.

A lot of people have put many hours of work into getting Clang to this stage. I am not one of them; I'm relatively new to the Clang community. In particular, Alp Toker from Nuanti and his team should be recognized for all the work they've been doing on this.

Anyways, the Linux Kernel can now be built entirely by Clang. Loadable modules work, the crypto and network stacks are fully functional, and SELinux is supported. I am now building with the Clang integrated assembler; the only part of the GNU toolchain still involved in the process is the GNU linker. I have been unable to find any other linker (which is not derived from GNU's), so for now, this toolchain will use ld.

The version source code for my local copies of Clang/LLVM and Linux will be put up on Github later this week, as well as instructions for building.


The LWN site is currently under high scraper load, so comment display has been suppressed for anonymous users. If you are a human, you may read the comments by clicking the button below:

Note: you can avoid this step in the future by logging into your LWN account.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds