[question][wasm][shared builds] Mysterious issues
Recently we've enabled shared builds against the emscripten target. That implies that libraries are built as side modules and programs are built as main modules. While working on a demo for ECL working in a browser I've noticed that:
-
such builds does not respect flags that force the stack size (both normal and asyncified), and that very easily leads to the "too much recursion error" -- basically 10-deep calls break easily. The flags are passed, so it is most likely emscripten issue(?)
-
the final libecl.so is 20MB and that's twice as much as built without shared support
All in all, I wonder whether we should get back to a default cross config and install instructions that build ECL in a non-shared mode.
Edited by Daniel Kochmański