Hi Nick, why don't you simply check for CONFIG_LD_IS_LLD existing (when [1] applied)? If you want a specific version of ld.lld (you mentioned kernel module linking failure was fixed recently) why not transfer this into a scripts/lld-version.sh file? Greetings, - Sedat - [1] https://lore.kernel.org/patchwork/patch/1039719/ ("[1/4] init/Kconfig: add config support for detecting linker")