Skip to content

go-llvm: link zstd for static LLVM on Darwin - #9

Merged
zhouguangyuan0718 merged 1 commit into
masterfrom
codex/darwin-static-zstd
Aug 5, 2026
Merged

go-llvm: link zstd for static LLVM on Darwin#9
zhouguangyuan0718 merged 1 commit into
masterfrom
codex/darwin-static-zstd

Conversation

@zhouguangyuan0718

Copy link
Copy Markdown

The LLVM 23 payload reports -lzstd in its static system-library closure on Darwin, but the Darwin static cgo configuration did not add it. As a result, a complete installed payload still failed while linking cmd/compile with unresolved ZSTD_* symbols.\n\nResolve zstd through pkg-config on Darwin, matching the LLVM CMake discovery path, and document the development-package requirement.\n\nValidation will be completed by the dependent Go infrastructure PR with a full make.bash -llvm-link=static run against a standard installed LLVM payload.

@zhouguangyuan0718
zhouguangyuan0718 merged commit b21d97b into master Aug 5, 2026
1 check passed
@zhouguangyuan0718
zhouguangyuan0718 deleted the codex/darwin-static-zstd branch August 5, 2026 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant