Ludea opened issue #12217:
Thanks for filing a bug report! Please fill out the TODOs below.
Note: if you want to report a security issue, please read our security policy!
Test Case
TODO: upload Wasm file here
Steps to Reproduce
Build a project with wasmtime on Macos x86_64
Expected Results
TODO: What do you expect to happen?
Successfull buildActual 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: TODO
40.0.0Operating system: TODO
Macos
Architecture: TODO
x86_64Extra 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
Ludea added the bug label to Issue #12217.
Ludea edited issue #12217:
Steps to Reproduce
Build a project with wasmtime on Macos x86_64
Expected Results
What do you expect to happen?
Successfull buildActual 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.0Operating system:
Macos
Architecture:
x86_64Extra 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
bjorn3 commented on issue #12217:
Are you using LTO? What rustc version are you using?
Ludea commented on issue #12217:
rust version : 1.92 and I don't use LTO
alexcrichton commented on issue #12217:
Historically this has been highly dependent on compiler options to reproduce and try to debug. Can you share the exact command line and flags you're using to build with Wasmtime? (and the project too perhaps?)
Ludea commented on issue #12217:
I run `cargo run --target x86_64-apple-darwin
Full logs: https://github.com/Ludea/Sparus/actions/runs/20456998389/job/58781144754#step:18:554
LeoBorai commented on issue #12217:
Hi! I think I stepped onto the same issue. Here is the action output for reference:
https://github.com/LeoBorai/mate/actions/runs/20648322467/job/59289052033
Ludea commented on issue #12217:
I get another project with wasmtime 40.0.0, and it sucessfully build on Macos x86_64 :thinking::sweat:
alexcrichton commented on issue #12217:
I'm attempting to fix this in https://github.com/bytecodealliance/wasmtime/pull/12245 but I'm a bit blind since I don't have a great way to reproduce myself locally. @Ludea or @LeoBorai if y'all are able to test out that patch that'd be very helpful!
Ludea commented on issue #12217:
Both Macos arch successfully build
https://github.com/Ludea/Sparus/actions/runs/20744752356
I'm waiting @LeoBorai to confirm the fix and will close this issue
LeoBorai commented on issue #12217:
Hi @Ludea, @alexcrichton.
Thanks for counting on me for this, I will revert the PR mentioned disabling the build target and get back to you soon.
HNY!
alexcrichton closed issue #12217:
Steps to Reproduce
Build a project with wasmtime on Macos x86_64
Expected Results
What do you expect to happen?
Successfull buildActual 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.0Operating system:
Macos
Architecture:
x86_64Extra 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
LeoBorai commented on issue #12217:
Hi guys, here is a PR using the branch from @alexcrichton referring to Apple x86/64 builds.
https://github.com/LeoBorai/mate/actions/runs/20751156050/job/59580631851?pr=23#step:6:87
I see it still fails on building
wasmtimerelated crates. I'm not sure ifwasmtime-wasishould also point to @alexcrichton's branch?
Ludea commented on issue #12217:
Yes,
See https://github.com/Ludea/Sparus/blob/main/src-tauri/Cargo.toml#L41
Last updated: Jan 09 2026 at 13:15 UTC