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.
Posted Oct 26, 2010 15:33 UTC (Tue) by loevborg (guest, #51779)
[Link]
FWIW I thought this piece was newsworthy and interesting. Thanks for your impressive work with clang!
Clang builds a working 2.6.36 Kernel
Posted Oct 26, 2010 15:55 UTC (Tue) by jwakely (subscriber, #60262)
[Link]
the obvious other linker to try is gold, although of course that's part of GNU binutils too ... there is a reason why people call it GNU/Linux, y'know ;)
Clang builds a working 2.6.36 Kernel
Posted Oct 26, 2010 16:53 UTC (Tue) by MisterIO (guest, #36192)
[Link]
Isn't gold still unable to link usable kernels? Or is it just something that debian folks have fun writing?:)
Clang builds a working 2.6.36 Kernel
Posted Oct 26, 2010 18:34 UTC (Tue) by rriggs (subscriber, #11598)
[Link]