Conversation

Replying to and
Pixels build the kernels with Clang CFI which requires LTO. If you disable dynamic kernel modules, set -fvisibility=hidden as the default and avoid using ThinLTO, you get much better CFI granularity because it can see that nearly everything can't be indirectly called.
2
3
Replying to and
there's some shell scripting involved but the bulk of my complaint is architectural, it seems to be implemented in an inefficient to extend way that makes less popular architectures prone to having obscure bugs i didn't know it about gold. i like the gold link times :/
1
2
Replying to and
Google stopped working it and shifted focus to LLD. LLD is actually intended as a full replacement for the GNU linker, the macOS linker and the Windows linker. It has really good support for Windows too. It had working Windows support before Linux. It's a lot nicer than gold.
2
4
I'm going to be so happy when all the GNU toolchain stuff is fully replaced because LLVM makes cross-compilation for any OS and architecture so trivial. As far as I can tell, you could compile and link a Windows executable using actual Windows libraries using it on Linux.
1
3