]> www.infradead.org Git - users/jedix/linux-maple.git/commit
arm64: Disable LLD linker ASSERT()s for the time being
authorArd Biesheuvel <ardb@kernel.org>
Thu, 29 May 2025 07:35:08 +0000 (09:35 +0200)
committerWill Deacon <will@kernel.org>
Mon, 2 Jun 2025 11:49:22 +0000 (12:49 +0100)
commite21560b7d33c4f692cc9cd5b75ff09024f5a69d2
treef25e444696dc6ad43c5d6d715a0e79da1021f810
parent217e3cbba3d6613bee9ac33ddc330f8676eb9eca
arm64: Disable LLD linker ASSERT()s for the time being

It turns out [1] that the way LLD handles ASSERT()s in the linker script
can result in spurious failures, so disable them for the newly
introduced BSS symbol export checks. Since we're not aware of any issues
with the existing assertions in vmlinux.lds.S, leave those alone for now
so that they can continue to provide useful coverage.

A linker fix [2] is due to land in version 21 of LLD.

Link: https://lore.kernel.org/r/202505261019.OUlitN6m-lkp@intel.com
Link: https://github.com/llvm/llvm-project/commit/5859863bab7f
Link: https://github.com/ClangBuiltLinux/linux/issues/2094
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Tested-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202505261019.OUlitN6m-lkp@intel.com/
Link: https://lore.kernel.org/r/20250529073507.2984959-2-ardb+git@google.com
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kernel/image-vars.h