We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It does not work due to missing linker symbols
wasmer create-exe -o rename.exe .\rename.wasm --target=x86_64-pc-windows-gnu
It works
It doesn't
error: lld-link: undefined symbol: __stack_chk_fail note: referenced by C:\Users\steve\AppData\Local\Temp\.tmpO5vByw\include\static_defs_b52499d5b3fa738a7016db00b886318b5e41586e22c71c0a4377b579710cb2e8.h:454 note: C:\Users\steve\AppData\Local\zig\o\7cf4ecb640344b55f01e8b88498f7d62\wasmer_main.obj:(wasmer_object_module_new_b52499d5b3fa738a7016db00b886318b5e41586e22c71c0a4377b579710cb2e8) note: referenced by C:\Users\steve\AppData\Local\Temp\.tmpO5vByw\wasmer_main.c:270 note: C:\Users\steve\AppData\Local\zig\o\7cf4ecb640344b55f01e8b88498f7d62\wasmer_main.obj:(main) error: lld-link: undefined symbol: __stack_chk_guard note: referenced by C:\Users\steve\AppData\Local\zig\o\7cf4ecb640344b55f01e8b88498f7d62\wasmer_main.obj:(.refptr.__stack_chk_guard) error: lld-link: undefined symbol: _Unwind_Resume note: referenced by libwasmer-headless.a(wasmer.wasmer.90a51c90e390e496-cgu.07.rcgu.o):(wasi_config_new) note: referenced by library\alloc\src\ffi\c_str.rs:0 note: libwasmer-headless.a(wasmer.wasmer.90a51c90e390e496-cgu.07.rcgu.o):(alloc::ffi::c_str::CString::_from_vec_unchecked::h3fc05aa21d917cf9) note: referenced by library\std\src\sys\pal\windows\alloc.rs:0 note: libwasmer-headless.a(wasmer.wasmer.90a51c90e390e496-cgu.07.rcgu.o):(alloc::string::String::from_utf8_lossy::h8ec0a62db666dcf3) note: referenced 181 more times error: lld-link: undefined symbol: _GCC_specific_handler note: referenced by library\std\src\sys\personality\gcc.rs:248 note: libwasmer-headless.a(wasmer.wasmer.90a51c90e390e496-cgu.07.rcgu.o):(rust_eh_personality) error: lld-link: undefined symbol: _Unwind_GetLanguageSpecificData note: referenced by library\std\src\sys\personality\gcc.rs:280 note: libwasmer-headless.a(wasmer.wasmer.90a51c90e390e496-cgu.07.rcgu.o):(std::sys::personality::gcc::rust_eh_personality_impl::h245344e73ef52d42) error: lld-link: undefined symbol: _Unwind_GetIPInfo note: referenced by library\std\src\sys\personality\gcc.rs:282 note: libwasmer-headless.a(wasmer.wasmer.90a51c90e390e496-cgu.07.rcgu.o):(std::sys::personality::gcc::rust_eh_personality_impl::h245344e73ef52d42) error: lld-link: undefined symbol: _Unwind_GetRegionStart note: referenced by library\std\src\sys\personality\gcc.rs:289 note: libwasmer-headless.a(wasmer.wasmer.90a51c90e390e496-cgu.07.rcgu.o):(std::sys::personality::gcc::rust_eh_personality_impl::h245344e73ef52d42) error: lld-link: undefined symbol: _Unwind_SetGR note: referenced by library\std\src\sys\personality\gcc.rs:222 note: libwasmer-headless.a(wasmer.wasmer.90a51c90e390e496-cgu.07.rcgu.o):(std::sys::personality::gcc::rust_eh_personality_impl::h245344e73ef52d42) note: referenced by library\std\src\sys\personality\gcc.rs:227 note: libwasmer-headless.a(wasmer.wasmer.90a51c90e390e496-cgu.07.rcgu.o):(std::sys::personality::gcc::rust_eh_personality_impl::h245344e73ef52d42) error: lld-link: undefined symbol: _Unwind_SetIP note: referenced by library\std\src\sys\personality\gcc.rs:228 note: libwasmer-headless.a(wasmer.wasmer.90a51c90e390e496-cgu.07.rcgu.o):(std::sys::personality::gcc::rust_eh_personality_impl::h245344e73ef52d42) error: lld-link: undefined symbol: _Unwind_GetTextRelBase note: referenced by library\std\src\sys\personality\gcc.rs:290 note: libwasmer-headless.a(wasmer.wasmer.90a51c90e390e496-cgu.07.rcgu.o):(core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h1a97e2992341fe97) note: referenced by library\std\src\sys\personality\gcc.rs:290 note: libwasmer-headless.a(wasmer.wasmer.90a51c90e390e496-cgu.07.rcgu.o):(std::sys::personality::gcc::find_eh_action::_$u7b$$u7b$closure$u7d$$u7d$::hff2b5e9914bd3f77) error: lld-link: undefined symbol: _Unwind_GetDataRelBase note: referenced by library\std\src\sys\personality\gcc.rs:291 note: libwasmer-headless.a(wasmer.wasmer.90a51c90e390e496-cgu.07.rcgu.o):(core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hce9624c55a7666a5) note: referenced by library\std\src\sys\personality\gcc.rs:291 note: libwasmer-headless.a(wasmer.wasmer.90a51c90e390e496-cgu.07.rcgu.o):(std::sys::personality::gcc::find_eh_action::_$u7b$$u7b$closure$u7d$$u7d$::h7ee28005ec6f041c) error: lld-link: undefined symbol: SysFreeString note: referenced by libwasmer-headless.a(wasmer.wasmer.90a51c90e390e496-cgu.07.rcgu.o):(windows_result::error::error_info::ErrorInfo::message::hc8e0fb75927e1065) note: referenced by libwasmer-headless.a(wasmer.wasmer.90a51c90e390e496-cgu.07.rcgu.o):(windows_result::error::error_info::ErrorInfo::message::hc8e0fb75927e1065) note: referenced by libwasmer-headless.a(wasmer.wasmer.90a51c90e390e496-cgu.07.rcgu.o):(windows_result::error::error_info::ErrorInfo::message::hc8e0fb75927e1065) note: referenced 1 more times error: lld-link: undefined symbol: SysStringLen note: referenced by libwasmer-headless.a(wasmer.wasmer.90a51c90e390e496-cgu.07.rcgu.o):(windows_result::error::error_info::ErrorInfo::message::hc8e0fb75927e1065) note: referenced by libwasmer-headless.a(wasmer.wasmer.90a51c90e390e496-cgu.07.rcgu.o):(windows_result::error::error_info::ErrorInfo::message::hc8e0fb75927e1065) note: referenced by libwasmer-headless.a(wasmer.wasmer.90a51c90e390e496-cgu.07.rcgu.o):(windows_result::error::error_info::ErrorInfo::message::hc8e0fb75927e1065) note: referenced 1 more times
This is running under Windows 11.
The text was updated successfully, but these errors were encountered:
Thanks! I'll investigate this.
Sorry, something went wrong.
create-exe
--llvm
xdoardo
No branches or pull requests
Describe the bug
It does not work due to missing linker symbols
Steps to reproduce
Expected behavior
It works
Actual behavior
It doesn't
Additional context
This is running under Windows 11.
The text was updated successfully, but these errors were encountered: