Is there a reason we compile kernel by default in gcc? I, for example, am forced to compile fedora kernel now in clang because the crucial kernel security feature “Layout randomization” is since recent kernel versions been moved to a native clang feature. So I just edit the kernel.spec file…is there a niftier way to select compilation engine, by the way?
So, the question is, are there any only gcc compiler features that warrant use of gcc versus clang by default? Maybe some architectures only available for gcc? But those would be obscure enough to justify making clang the default compiler?