Skip to content

Undefined symbols for architecture x86_64 #12217

@Ludea

Description

@Ludea

Steps to Reproduce

Build a project with wasmtime on Macos x86_64

Expected Results

What do you expect to happen?
Successfull build

Actual Results

Undefined symbols for architecture x86_64:
            "wasmtime::runtime::vm::stack_switching::stack::unix::x86_64::wasmtime_continuation_start::hdc1ced40823a7b01", referenced from:
                wasmtime::runtime::vm::libcalls::cont_new::hd74388a76ef1e7b1 in libwasmtime-866a24c229d0a23b.rlib[18](wasmtime-866a24c229d0a23b.wasmtime.326c71a07024d4d1-cgu.15.rcgu.o)
          ld: symbol(s) not found for architecture x86_64
          clang: error: linker command failed with exit code 1 (use -v to see invocation) 

Versions and Environment

Wasmtime version or commit:
40.0.0

Operating system:
Macos
Architecture:
x86_64

Extra Info

Work on Windows and Ubuntu hosts

Anything else you'd like to add?
I get this on GHA runners.
With 39.0.0, get no issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIncorrect behavior in the current implementation that needs fixing

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions