macOS
brew install lldlocal Homebrew formula metadata
安装
brew install lldlocal Homebrew formula metadata
sudo dnf install lldFedora Rawhide package metadata · lld · 来源: dl.fedoraproject.org
nix profile install nixpkgs#lldnixpkgs package indexes · lld · 来源: raw.githubusercontent.com
sudo pacman -S lldArch Linux sync databases · lld · 来源: geo.mirror.pkgbuild.com
sudo zypper install lldopenSUSE Tumbleweed package metadata · lld · 来源: download.opensuse.org
概览
LLVM Project Linker
历史
lld is the LLVM Project's linker. It packages the LLVM approach to modular compiler infrastructure into the final link step, offering fast drop-in linkers for ELF, COFF, Mach-O, and WebAssembly workflows.
lld developed as part of the broader LLVM toolchain. The official documentation describes it as a drop-in replacement for system linkers that runs much faster than traditional linkers and is useful for toolchain developers.
The lld documentation emphasizes several design choices that matter to compiler users: GNU-compatible command-line behavior for ELF, cross-linking support for all built targets, embeddability through lld::lldMain, default LTO support with clang, and a smaller codebase than GNU gold in the 2017 comparison.
The LLVM monorepo model means lld is released with LLVM rather than as a fully separate upstream project. Homebrew's lld formula builds the lld subproject from llvm-project release tarballs while depending on the matching LLVM package.
lld adoption followed clang and LLVM adoption: developers could select it through compiler-driver flags such as -fuse-ld=lld instead of replacing /usr/bin/ld directly.
It became especially attractive for large C/C++ builds, cross-compilation, WebAssembly, Windows COFF/PDB workflows, and LTO-heavy builds where linker speed and LLVM integration matter.
The package installs linkers such as ld.lld, ld64.lld, lld-link, and wasm-ld. Unix users often reach it through clang's -fuse-ld=lld option, while Windows-style builds use lld-link and WebAssembly builds use wasm-ld.
For package-manager users, installing lld separately from a full compiler bundle can make it easier to test linker behavior, speed up builds, or build toolchains that intentionally mix compiler and linker components.
lld is a core systems package because a linker affects every compiled binary produced through a toolchain. Small packaging choices around version matching, bottle compatibility, and dependency edges can ripple into large build farms.
Homebrew packaging lld as its own formula, rather than only as part of llvm, reflects the Unix tradition of swapping toolchain components one piece at a time.
安全态势
没有找到 lld 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
ld.lld | cli | 全局可执行文件 | |
ld64.lld | cli | 全局可执行文件 | |
lld | cli | 全局可执行文件 | |
lld-link | cli | 全局可执行文件 | |
wasm-ld | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/llvm/llvm-project
安装元数据
| 软件包键 | brew:lld |
|---|---|
| 版本 | 22.1.8 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/lld |
| 主页 | https://lld.llvm.org/ |
| 仓库 | https://github.com/llvm/llvm-project |
| 上游文档 | https://lld.llvm.org/ |
| 许可证 | Apache-2.0 WITH LLVM-exception |
| 源码归档 | https://github.com/llvm/llvm-project/releases/download/llvmorg-22.1.8/llvm-project-22.1.8.src.tar.xz |
| 最后更新 | 2026-06-21T01:50:33Z |
| Pulse | updated |
| 依赖 | llvm, zstd |
| 构建依赖 | cmake |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | lld |
| Aliases |
|
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
lld 1:19.0-63
LLVM-based linker
sudo apt install lldlld
nix profile install nixpkgs#lldlld 1:18.0-59~exp2
LLVM-based linker
sudo apt install lldlld 22.1.7-1.fc45
The LLVM Linker
sudo dnf install lldlld 22.1.6-1
Linker from the LLVM project
sudo pacman -S lldlld 22-2.1
Linker for Clang/LLVM
sudo zypper install lld来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.