Compiling The Linux Kernel With LLVM's Clang Matured In 2022
Nathan Chancellor who maintains the "ClangBuiltLinux" effort thanks to funding from The Linux Foundation and Google has written a 2022 summary of the accomplishments made over the past year.
Nathan Chancellor's work on the "ClangBuiltLinux" effort in 2022 included addressing many compiler warnings within the kernel, Control Flow Integrity (CFI) related changes, making the LLVM environment variable handling more flexible, tooling improvements, and other work. Plus a lot of testing for making sure that nothing breaks with the latest mainline Linux kernel Git code as well as the latest LLVM/Clang compiler code and that ensuring the appropriate flags are being maintained, etc.
Those interested in learning more about the strides made over the past year on compiling the Linux kernel with Clang can learn more via nathanchance.dev. More generally, the latest build status and other project information for the ClangBuiltLinux project can be found on GitHub.