-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Description
Emscripten version: 1.39.6
I try to compile this: https://github.com/mdaines/viz.js
Command executed:
make deps-full
make all
deps-full extracts a graphviz archive. You have to manually patch the configure file and get rid of "-ffast-math". (see #9955)
Attached module.wasm that fails to validate and a patch file to make it build against later emscripten versions:
module.zip
Build line:
/usr/bin/wasm-opt --post-emscripten --inline-main --no-exit-runtime -O2 --pass-arg=emscripten-sbrk-ptr@220832 module.wasm -o module.wasm --mvp-features --strip-dwarf
The validation output is gigantic (600000 lines), won't attach it, just run wasm-opt to see it.
The only hint I can give is that it validates when using "deps-lite". This builds Graphviz only with "dot" support. But I need neato and sfdp which is part of "deps-full" :/