Is there a Linux distro compiled with clang/llvm? It looks like as of late 2010 the kernel was working. If not, would it be more likely to be a technical or licensing issue?
|
migrated from serverfault.com Aug 3 '11 at 12:55
|
Not yet. According to this currently open bug report it seems even the kernel itself fails to compile. |
|||||
|
|
As a late response to this question, what @jmtd said is exactly what happens periodically in the Debian archive. Packages are recompiled with newer toolchains (compilers, linkers, etc.) and, when recompilation fails, bugs against the packages that failed to be compiled are filed with the indication of FTBFS ("failed to build from source"). Such bugs are generally an indication of something bad happening and are usually ranked with high severity and given the status of "release critical" bugs, meaning that a new release can't be done with those bugs unsolved. In particular, Lucas Nussbaum has been recompiling the whole archive of the Debian Project in a grid as a means of some Quality Assessment. Recently, though, Sylvestre Ledru and some other Debian Developers have mentored students in Google's Summer of Code of 2012 to allow substitution of both GCC by Clang and There is a site where the results of compilation of the whole collection of Debian packages were published and further reports were documented by LWN and the program for decoupling the Debian build process from GCC was successfully concluded. So we may soon see a flavour of Debian compiled with clang/llvm, depending on how much support these successful results can gain. |
|||
|
|
|
Whilst the end-user binaries are not built with clang/llvm, most of the Debian archive has been built (and rebuilt) with clang/llvm (and binutils-gold and other bits and pieces) by people who want to expose portability bugs in the software suite (and the compilers themselves). |
|||||
|