ci: ensure we use correct lld version in OpenBSD job
What changed, and why it matters
This is a minor continuous-integration (CI) build fix for Bitcoin Core's OpenBSD cross-compilation job. It changes one package name so the build system installs the matching version of the LLVM linker (lld-22) instead of accidentally installing a different version (lld-21). It does not change any code that runs on users' wallets, nodes, or the Bitcoin network, and there is no security issue here.
No security action required. Treat as a normal CI/maintenance fix.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The commit updates ci/test/00_setup_env_openbsd_cross.sh to append -${APT_LLVM_V} to the lld package, making it lld-22. Previously the package list requested lld, which would pull in lld-21 while clang/llvm were pinned to version 22. This is a CI dependency-version consistency fix only; it affects the OpenBSD cross-compile CI environment and has no runtime or consensus impact.
Changed components
ci/test/00_setup_env_openbsd_cross.shInspect captured patch +1 / −1
diff --git a/ci/test/00_setup_env_openbsd_cross.sh b/ci/test/00_setup_env_openbsd_cross.sh
index a3ee96fc..30d36213 100755
--- a/ci/test/00_setup_env_openbsd_cross.sh
+++ b/ci/test/00_setup_env_openbsd_cross.sh
@@ -12,7 +12,7 @@ export APT_LLVM_V="22"
export HOST=x86_64-unknown-openbsd
export OPENBSD_VERSION=7.9
export OPENBSD_SDK_BASENAME="openbsd-${HOST}-${OPENBSD_VERSION}"
-export PACKAGES="clang-${APT_LLVM_V} llvm-${APT_LLVM_V} lld"
+export PACKAGES="clang-${APT_LLVM_V} llvm-${APT_LLVM_V} lld-${APT_LLVM_V}"
export SYSROOT="--sysroot=${DEPENDS_DIR}/SDKs/${OPENBSD_SDK_BASENAME}"
export DEP_OPTS="build_CC=clang build_CXX=clang++ \
CC='clang --target=${HOST} ${SYSROOT}' \
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.