Which 12% won't build? Is it possible to build a system that boots and is functional with just Clang?
Phoronix: Decoupling GCC From Debian By Using LLVM/Clang
Back in March it was shared that LLVM's Clang compiler can build much of the Debian archive. This week at DebConf a status update was shared on using LLVM/Clang as an alternative compiler to GCC within Debian...
http://www.phoronix.com/vr.php?view=MTEzODQ
Which 12% won't build? Is it possible to build a system that boots and is functional with just Clang?
This is exactly what we are doing in Gentoo:
https://bugs.gentoo.org/show_bug.cgi?id=408963
Is it even possible to build Debian from source code as an end user?
GRUB makes heavy use of nested functions, which makes it impossible to build with Clang without doing a complete rewrite. Then there are other issues with glibc and a few other core packages. This is from my experience with Gentoo.
Last edited by ryao; 07-11-2012 at 01:44 PM.
Can Clang/LLVM build an unpatched mainline Linux kernel yet?
If Clang can't handle deeply nested functions that sounds like a bug to me and that the LLVM/Clang developers should address that issue as well as meshing with the existing glibc or providing the necessary patches to glibc that allow LLVM/Clang to build it yet not prevent other compilers from building it
No it's not, nested functions are a gcc extension.