-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Assertion failed when trying to run wasm-ld
#135431
New issue
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
Comments
@llvm/issue-subscribers-lld-wasm Author: Adam Scott (adamscott)
It seems that there's an issue linking some projects with `wasm-ld` with ThinLTO enabled.
See godotengine/godot#104497 (comment) and emscripten-core/emscripten#10831 for examples. It seems that we cannot build Godot with ThinLTO enabled for the Web platform, as some functions signatures appear to mismatch. It doesn't happen with The following assertion hit when running a Debug build with assertions on on
(see the rest of the huge crash backtrace here: wasmldassert.txt) It does run when assertions are off, but then, |
This issue has been witnessed on both Linux and macOS. So it doesn't seem to be host-dependant. |
is this fixed by #136197 ? |
Uh oh!
There was an error while loading. Please reload this page.
It seems that there's an issue linking some projects with
wasm-ld
with ThinLTO enabled.See godotengine/godot#104497 (comment) and emscripten-core/emscripten#10831 for examples.
It seems that we cannot build Godot with ThinLTO enabled for the Web platform, as some functions signatures appear to mismatch. It doesn't happen with
lto=full
.The following assertion hit when running a Debug build with assertions on on
llvmorg-20.1.2
. The same issue happened, as I recall, when running on the latest version ofmain
.(see the rest of the huge crash backtrace here: wasmldassert.txt)
It does run when assertions are off, but then,
wasm-ld
complains that some signatures are mismatched (see godotengine/godot#104497 (comment)). I wonder if it's linked.Edit: If you need help reproducing the issue, don't hesistate to ask. I can whip up a script or a VM.
The text was updated successfully, but these errors were encountered: