-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Local count too large with debug info in big project #18159
Comments
That is an agreed limitation in browsers, see WebAssembly/spec#607 I am not aware of browser-specific flags to work around it. However, you may be able to work around it manually using |
@kripken thanks! |
@caxapexac Help with the open issues would be great btw! 😄 Yes, there are quite a lot open. Many are just stale, I think, and people forget to close them. |
Thanks! |
Please include the following in your bug report:
Version of emscripten/emsdk:
3.1.24
Error:
wasm streaming compile failed: CompileError: WebAssembly.instantiateStreaming(): Compiling function #68624:"reactphysics3d::SolveBallAndSocketJointSystem::..." failed: local count too large @+39257309
Everything works on the small projects but fails on the main big project (272 more compilation units)
Everything works on the big project in release builds
Everything works on the big project on debug with
-g1
but fails with-g2 -fsanitize=undefined
Maybe there is a way to manually increase this locals max size in chrome launch settings or maybe some kind of link flag?
The text was updated successfully, but these errors were encountered: