Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

riscv: Remove version check for LTO_CLANG selects

Now that the minimum supported version of LLVM for building the kernel
has been bumped to 15.0.0, there is no need to check the LLD version
before selecting ARCH_SUPPORTS_LTO_CLANG{,_THIN} because it will always
be true.

Reviewed-by: Kees Cook <kees@kernel.org>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Acked-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Link: https://lore.kernel.org/r/20250821-bump-min-llvm-ver-15-v2-7-635f3294e5f0@kernel.org
Signed-off-by: Nathan Chancellor <nathan@kernel.org>

+2 -3
+2 -3
arch/riscv/Kconfig
··· 64 64 select ARCH_SUPPORTS_DEBUG_PAGEALLOC if MMU 65 65 select ARCH_SUPPORTS_HUGE_PFNMAP if TRANSPARENT_HUGEPAGE 66 66 select ARCH_SUPPORTS_HUGETLBFS if MMU 67 - # LLD >= 14: https://github.com/llvm/llvm-project/issues/50505 68 - select ARCH_SUPPORTS_LTO_CLANG if LLD_VERSION >= 140000 69 - select ARCH_SUPPORTS_LTO_CLANG_THIN if LLD_VERSION >= 140000 67 + select ARCH_SUPPORTS_LTO_CLANG 68 + select ARCH_SUPPORTS_LTO_CLANG_THIN 70 69 select ARCH_SUPPORTS_MSEAL_SYSTEM_MAPPINGS if 64BIT && MMU 71 70 select ARCH_SUPPORTS_PAGE_TABLE_CHECK if MMU 72 71 select ARCH_SUPPORTS_PER_VMA_LOCK if MMU