Skip to content

fix(build): link darwin/arm64 release against libwasmvm v2.3.5 - #146

Merged
metalarm10 merged 1 commit into
masterfrom
john/darwin-arm64-wasmvm-link
Oct 6, 2026
Merged

metalarm10 merged 1 commit into
masterfrom
john/darwin-arm64-wasmvm-link

Conversation

@metalarm10

@metalarm10 metalarm10 commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Summary

v8.0.0 release failed on darwin/arm64: Wasmer 7 (libwasmvm v2.3.5) needs ___unw_add_find_dynamic_unwind_sections, missing from the cross toolchain's macOS 12 SDK. Fix: resolve it at runtime (-Wl,-U) for darwin/arm64 only; macOS 14+ provides it. Other builds unchanged.

Testing

  • make release locally: all four binaries build.
  • darwin/arm64 binary on macOS: libwasmvm 2.3.5, and a local chain stored + executed a wasm contract.

Reviewers checklist:

  • Try to write more meaningful comments with clear actions to be taken.
  • Nit-picking should be unblocking. Focus on core issues.

Authors checklist

  • Provide a concise and meaningful description
  • Review the code yourself first, before making the PR.
  • Annotate your PR in places that require explanation.
  • Think and try to split the PR to smaller PR if it is big.

This change is Reviewable

@metalarm10
metalarm10 requested a review from a team as a code owner October 6, 2026 08:50
@metalarm10
metalarm10 requested review from bashash, okhlopiachyi, yivo and ysv and removed request for a team October 6, 2026 08:50
@metalarm10
metalarm10 merged commit 5575eea into master Oct 6, 2026
13 checks passed
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.

2 participants