Re: [PATCH 2/4] scripts/Kconfig.toolchain: Do not dynamically probe '-fno-addrsig'
From: Nathan Chancellor
Date: Wed Nov 11 2026 - 13:40:21 EST
On Wed, Nov 11, 2026 at 08:51:05AM -0800, Nick Desaulniers wrote:
> Jordan, I know you were playing with -Wl,--icf=all recently. Looks
> like the kernel does not use it; AFAIK, no one has ever tried. Even
> -Wl,--icf=safe. Worth a shot to see if it boots. If we did, we'd
> have to update this kconfig check (the linker flag is only supported
> by LLD). Even if the result doesn't boot, it's perhaps worth doing
> builds with BOTH to see what kind of savings are possible at the
> limit.
FWIW, ICF came up once before through OpenMandriva defaulting it on in
their toolchain.
https://github.com/ClangBuiltLinux/linux/issues/1341
--
Cheers,
Nathan