Description
Seeing an issue that appears to be a problem when compiling Binaryen to JS with Emscripten newer than 2.0.2.
Works with:
- Emscripten 2.0.1, building Binaryen with CMAKE_BUILD_TYPE=Release
- Emscripten 2.0.2, building Binaryen with CMAKE_BUILD_TYPE=Release
- Emscripten tot, building Binaryen with CMAKE_BUILD_TYPE=Debug
Does not work with:
- Emscripten tot, building Binaryen with CMAKE_BUILD_TYPE=Release
Yielding the following cryptic error when attempting to compile the bootstrapped AssemblyScript compiler:
Assertion failed: *task.currp, at: /path/to/binaryen/src/wasm-traversal.h,702,walk
Error: abort(Assertion failed: *task.currp, at: /path/to/binaryen/src/wasm-traversal.h,702,walk). Build with -s ASSERTIONS=1 for more info.
... gibberish ...
Unfortunately, I haven't figured out yet how to debug this properly since it happens right after code generation in AssemblyScript, during emit of the Wasm binary (no fixture yet), doesn't seem to be a problem in Binaryen itself and does not show up in debug builds. Now I know this probably doesn't help much, but I thought I let you know in case you have an idea where this might be coming from?
Metadata
Metadata
Assignees
Labels
No labels