Conversation

Replying to and
It was used to build the Pixel 2 kernel too. It has the best support for building it on arm64, which is also the architecture with the most focus on Linux kernel hardening. A lot of the hardening is done by ARM compared to x86 where Intel has barely any involvement in most of it.
2
2
Replying to and
Google got tired of dealing with GCC and never bothered porting MSan, CFI or SafeStack to it. The code and development / contribution process for the GNU toolchain is awful. Google froze GCC at 4.9 permanently which made migrating to Clang more urgent and GCC itself is purged.
1
Replying to and
There are other Linux distributions using Clang for most userspace packages, but I'm not sure if any use it for the kernel. The primary advantages are being able to use CFI, ShadowCallStack, MSan, robust UBSan and other tooling. It'd mostly interest security-oriented projects.
1
Show replies