Skip to content
This repository was archived by the owner on Aug 17, 2026. It is now read-only.
This repository was archived by the owner on Aug 17, 2026. It is now read-only.

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

wontfixProblems that won't fix atm

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions