Post #3920538
2026-07-18 21:32 UTC
@ljs@mastodonapp.uk which linker are you using (GNU LD or gold or LLVM's LLD?), and is this an incremental build or a full build with all the config options?
a large part of the kernel build is "link the whole kernel, repeatedly, because kallsyms is a big hack", and if you do that with GNU LD, it's gonna be single-threaded and take a long time, so a client-style CPU will have an advantage over a workstation-style CPU...
Replies (2)
-
@jann@infosec.exchange 2026-07-18 21:35
@ljs@mastodonapp.uk or in other words, if you're building large software on a beefy workstation, GNU LD is the wrong tool. this is what a typical kernel build on a workstation looks like with GNU LD: https://i.programmerhumor.io/2022/06/programmerhumor-io-programming-memes-f6c3e090f92d806.png
-
@jann@infosec.exchange 2026-07-18 21:36
@ljs@mastodonapp.uk or in other words, if you're building large software on a beefy workstation, GNU LD is the wrong tool. this is what a typical kernel build on a workstation looks like with GNU LD: