Emscripten by default fetches the latest tagged release of Binaryen. In case there are some fixes to Binaryen, you can instruct emsdk to switch from a tagged Binaryen release to building Binaryen from source. The way to do that is to tell emsdk to also git clone and build Binaryen, like this:
emsdk install sdk-incoming-64bit binaryen-master-64bit emsdk activate sdk-incoming-64bit binaryen-master-64bit The first step will git clone and build Binaryen from git repository. And after that the second step configures ~/.emscripten to use that compiled version instead of the tagged build. It may be worth using that combo to verify current latest Emscripten & Binaryen paths. Or if there is a fix posted to Binaryen at some point, that'll get you directly updated to it. 2017-01-04 23:11 GMT+02:00 Floh <[email protected]>: > Reminds a bit of a WASM problem I had last October: https://github.com/ > WebAssembly/binaryen/issues/817 > > This comment from Alon has info on what was the culprit: > https://github.com/WebAssembly/binaryen/issues/817#issuecomment-258342161 > > May be it's a similar problem, or may be it's completely unrelated ;) > > Cheers, > -Floh. > > Am Mittwoch, 4. Januar 2017 17:02:05 UTC+1 schrieb Brian Gavin: >> >> Hello, >> I am not sure if this is the right place to report this. >> >> I have have a fairly large project about 5MB in asmjs that I tried to >> compile and use it in WASM.. I got the latest version of incoming >> emscripten 64bit yesterday. I added the WASM=1 flag to the c compiler >> and linker. The project build without errors in WASM but when I try to >> display a 3D mesh it renders the triangles wrong like the 3D vertices are >> in the wrong position. This happens in both Chrome canary and Firefox >> nightly. If I compile and run this app using ASMJS on these web browsers >> it works just fine. Any ideas? I am not really sure how to best debug >> WASM yet. >> >> Thanks, >> Brian Gavin >> > -- > You received this message because you are subscribed to the Google Groups > "emscripten-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
