-
Hi guys, with a docker-based toolchain (based on emscripten/emsdk:3.1.20 image) I have stumbled over the following issue: When configuring a CMake project and I have set the environment variable I have checked this with the CMake snippet below. Any hints? To me, 7 bytes look actually wrong... Thanks, Sophonet
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 4 replies
-
Found out myself. If pthread is added, CMake cannot run the compiled wasm, since node does not support it. The error code 7 is returned as size. Will file an issue. |
Beta Was this translation helpful? Give feedback.
-
What version of emscripten are you using? IIUC this issue should have been fixed in #15590. This change make it into version 3.0.1. When you run cmcmake do you see -DCMAKE_CROSSCOMPILING_EMULATOR specified on the command line along with
|
Beta Was this translation helpful? Give feedback.
-
I don't know if it's possible, but it would be nice to have better reporting in the case node fails with an error when running the js/wasm generated by I ran into this issue because I was trying to get threads working in emscripten and I had set Thanks for all your work on Emscripten, it's awesome! |
Beta Was this translation helpful? Give feedback.
-
I believe this was fixed in #18309, which was released in 3.1.28. |
Beta Was this translation helpful? Give feedback.
I believe this was fixed in #18309, which was released in 3.1.28.