Skip to content

ld linker needs more arguments starting with macOS 15 #13

@olivergrabinski

Description

@olivergrabinski

Issue description

When compiled on macOS 15, OpenVAF will fail at runtime with

ld: dynamic executables or dylibs must link with libSystem.dylib

which does not occur on earlier version of macOS.

Fix 1

Add arguments to explicitly point to the System library. In /openvaf/target/src/spec/aarch64_apple_darwin.rs

See this change.

Fix 2

Consider a unified approach for all platforms? Calling clang could be a cross-platform solution. But I am not aware of the reason why the linkers are called directly now.

See this change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions