-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
documentation for tracking incoming sdk broken #10063
Comments
I think this may have just been fixed by @juj's change to the emsdk to allow building from source again? emscripten-core/emsdk#401 |
Yeah, this changed just recently. To build legacy fastcomp based Emscripten from source, issue To build upstream wasm backend based Emscripten from source, issue |
Looks like docs need an update (also the wording on the docs is misleading, "... latest upstream git ..." now has the overloaded meaning that upstream generally now refers to the llvm git based backend, but the old |
no dice yet... what am I doing wrong?
gives:
|
Oh, for Linux and macOS users, emscripten-core/emsdk#413 is needed. (just coming hot off the press) |
Thanks! Although I had to also add binaryen separately.. I guess this is right?
|
Hm, this combo doesn't work, I get the error below at link time. Is this a separate bug, or a mismatch between the sdk-upstream-incoming and the binaryen-master? should I have installed a different binaryen? I'm also not sure if the the compile flags are still good, the last time I installed emscripten was perhaps May 2019, pre-llvm, it seems a lot has changed since then.
|
It could be that you are simply running into an issue that exists on ToT. There is known issue with binaryen right now. Can you build with a pre-built SDK: |
I'm on this quest to compile a stable working version because none of the pre-built binaries work for me (#6252) because I'm on CentOS 7.7, which is super stable but comes with old GLIBCXX_3.4.19, and the downloadable emsdk binaries are linked against a newer GLIBCXX_3.4.20/21. Basically I'm just trying to get a working recent version of Emcsripten. Either downloadable binaries that dont require .20/.21 or an easy way (sequence of commands) to compile an entire working toolchain. |
Can you try the above build again? I think the above error might have been due to binaryen bug, for which the culprit was reverted yesterday. |
it works now, thanks! (commands below)
In the docs, there's a "How do I just get the latest SDK?" , maybe the solution to this ticket would be adding a section "How do I just compile the latest (working) SDK?" |
Sounds good @tesch1 , thanks, I opened emscripten-core/emsdk#420 |
https://emscripten.org/docs/tools_reference/emsdk.html#emsdk-howto
says:
but doing that just complains:
The text was updated successfully, but these errors were encountered: