Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Undefined symbols (_push_bytes32, _sload_bytes32, _sstore) when building examples on aarch64-apple-darwin after macOS 15.2 update #317

@g4titanx

Description

@g4titanx

When building zink/examples (e.g., getter.rs) on aarch64-apple-darwin (native macOS), the linker fails with undefined symbols: _push_bytes32, _sload_bytes32, and _sstore. These symbols work fine when targeting wasm32-unknown-unknown, where they’re imported from WASM modules ("bytes", "evm"). However, for native builds, no stubs or implementations exist, causing the failure.

This issue became apparent after updating to macOS 15.2, which likely tightened linker checks (via clang), exposing a gap that might have been masked previously by a dependency or linker quirk.

Metadata

Metadata

Assignees

Labels

wontfixProblems that won't fix atm

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions