Ideas/Clang system compiler support

From Gentoo Wiki
< Ideas
Jump to:navigation Jump to:search

LLVM/Clang is a new compiler that was written in C++ with a strong emphasis on code correctness and extensibility. Its static analyzer is excellent at detecting incorrect code and this enables us to improve the quality of Gentoo as a whole.

Supporting LLVM/Clang as a System Compiler in Gentoo requires fixing all packages in @system that fail to build with it. It also requires that bootloaders and kernel sources are available that can be built with it. Once these hurdles are resolved, it will be possible to provide a switch so that users can select it as the system compiler in place of GCC.

Development team

Owner: ryao <ryao at>


  • ?

Current Status

Last updated: 06082012

Target date (approximate): 24122012

Percentage of completion: ?%

Bug: bug #408963


See summary



Contingency plan

None needed. Packages continue to be tested mostly with GCC