Skip to content

z3: fix empty libz3.so on musl targets and revbump llvm#61400

Open
hystericca wants to merge 1 commit into
void-linux:masterfrom
hystericca:fix-llvm-z3
Open

z3: fix empty libz3.so on musl targets and revbump llvm#61400
hystericca wants to merge 1 commit into
void-linux:masterfrom
hystericca:fix-llvm-z3

Conversation

@hystericca

@hystericca hystericca commented Jul 8, 2026

Copy link
Copy Markdown

Because the template uses vmove usr/lib/libz3.so, it only moves the symlink. The actual versioned shared binaries are left behind, which causes the build server to package a literal 0-byte empty library file.
This completely broke the entire LLVM toolchain on aarch64-musl (clang, clangd, etc.), as libLLVM.so attempts to load the empty Z3 library and instantly crashes with symbol not found

Testing the changes

  • I tested the changes in this PR: YES

Local build testing

  • I built this PR locally for my native architecture, (ARCH-LIBC)
  • I built this PR locally for these architectures (if supported. mark crossbuilds):
    • aarch64-musl

@hystericca hystericca changed the title llvm*: revbump for z3 4.16.0 llvm*: revbump for z3 4.16.0 and fix broken symlink Jul 8, 2026
@hystericca hystericca changed the title llvm*: revbump for z3 4.16.0 and fix broken symlink z3: fix empty libz3.so on musl targets and revbump llvm Jul 8, 2026
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