Skip to content

Commit 026dbdf

Browse files
tejlmandcarlescufi
authored andcommitted
cmake: LLVM LLD minimum version 14.0.0
Fixes: #35671 Add minimal version required for LLVM LLD linker. Linking fails with older LLVM LLD, such as v10.0.0. LLVM v14.0.0 was released in 2022, and latest LLVM is v17.0.1. Zephyr currently doesn't have a strict minimum version of LLVM specified, but based on LLVM development and known issues on older releases, then a minimum version of v14.0.0 has been chosen in this commit. Signed-off-by: Torsten Rasmussen <[email protected]>
1 parent b0c9658 commit 026dbdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/linker/lld/target.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-License-Identifier: Apache-2.0
22
set_property(TARGET linker PROPERTY devices_start_symbol "_device_list_start")
33

4-
find_package(LlvmLld REQUIRED)
4+
find_package(LlvmLld 14.0.0 REQUIRED)
55
set(CMAKE_LINKER ${LLVMLLD_LINKER})
66

77
set_ifndef(LINKERFLAGPREFIX -Wl)

0 commit comments

Comments
 (0)