Hi Linus, Please pull this LTO fix for v5.12-rc6. It seems that there is a bug in ld.bfd when doing module section merging. As explicit merging is only needed for LTO, the work-around is to only do it under LTO, leaving the original section layout choices alone under normal builds.
Thanks! -Kees The following changes since commit a5e13c6df0e41702d2b2c77c8ad41677ebb065b3: Linux 5.12-rc5 (2021-03-28 15:48:16 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/lto-v5.12-rc6 for you to fetch changes up to 6a3193cdd5e5b96ac65f04ee42555c216da332af: kbuild: lto: Merge module sections if and only if CONFIG_LTO_CLANG is enabled (2021-04-01 14:15:59 -0700) ---------------------------------------------------------------- LTO fix for v5.12-rc6 - Only perform explicit module section merges under LTO (Sean Christopherson) ---------------------------------------------------------------- Sean Christopherson (1): kbuild: lto: Merge module sections if and only if CONFIG_LTO_CLANG is enabled scripts/module.lds.S | 2 ++ 1 file changed, 2 insertions(+) -- Kees Cook

