A week after
the release of LLVM 2.9 with Clang, it now appears that it's successfully building the Qt library. Not only is Clang being boot-strapped and compiling Qt4, but it's also building the WebKit module. Once everything's built, it's working and even the Flash module is working from within there.
Though it appears the LLVM/Clang-built version is slightly slower than the Nokia-supplied binary at this time and is also slower than Chromium.
These Clang for Qt reports are coming from
this blog post. Qt Creator is also now building under Clang.
This puts LLVM/Clang one step closer to being able to build the KDE Software Compilation.
Other accomplishments for this open-source Apple-sponsored compiler using the Low-Level Virtual Machine include
it being self-hosting,
building the Boost libraries,
building much of the FreeBSD base, and even
building the Linux kernel.
In terms of LLVM/Clang building the Linux kernel, it can't build a mainline vanilla kernel but does require various patches and other works. Last week at the Linux Foundation Collaboration Summit following
our LLVM benchmarking talk there was a presentation about the state of using Clang for building the Linux kernel. Some kernel modules and key components (such as Xen and KVM) also won't build under Clang at this point.