Oh, the command is actually "emsdk update-tags" and not "emsdk update -tags".
When you are using emsdk via git, "emsdk update" should not be used. (marked down a note to improve emsdk to detect when it's being used via git to make this obvious) The "emsdk update-tags" feature is a new one, which is not yet present in the latest bundled version, which is why it got confused here. Try following the command line presented at https://github.com/kripken/emscripten/issues/4682#issuecomment-260159020 to the letter. Verified this to work locally, the run should look like this: C:\code\emsdk>emsdk update-tags Fetching all tags from Emscripten Github repository... Done. 86 tagged releases available, latest is 1.36.14. Fetching all precompiled Nightly versions.. Downloading: C:/code/emsdk/llvm-nightlies-32bit.txt from https://s3.amazonaws.com/mozilla-games/emscripten/packages/llvm/nightly/win_32bit/index.txt Downloading: C:/code/emsdk/llvm-nightlies-64bit.txt from https://s3.amazonaws.com/mozilla-games/emscripten/packages/llvm/nightly/win_64bit/index.txt Downloading: C:/code/emsdk/emscripten-nightlies.txt from https://s3.amazonaws.com/mozilla-games/emscripten/packages/emscripten/nightly/win/index.txt C:\code\emsdk>emsdk install sdk-nightly-latest-64bit Installing SDK 'sdk-nightly-1.36.14-2016_11_11_00_55-64bit'.. Installing tool 'clang-nightly-e1.36.14-2016_11_11_00_55-64bit'.. Downloading: C:/code/emsdk/zips/emscripten-llvm-e1.36.14-2016_11_11_00_55.zip from https://s3.amazonaws.com/mozilla-games/emscripten/packages/llvm/nightly/win_64bit/emscripten-llvm-e1.36.14-2016_11_11_00_55.zip ... Try doing a fresh git clone to undo the changes that "emsdk update" did on the git repository. 2016-12-06 2:32 GMT+02:00 <[email protected]>: > I'm having a bit of trouble downloading the precompiled binaries using the > instructions from https://github.com/kripken/emscripten/issues/4682# > issuecomment-260159020 > > (precise)ljw@localhost:~/src/emsdk$ ./emsdk update -tags > Downloading: /home/ljw/src/emsdk/zips/emsdk_unix_update.tar.gz from > https://s3.amazonaws.com/mozilla-games/emscripten/ > packages/emsdk_unix_update.tar.gz > Unpacking '/home/ljw/src/emsdk/zips/emsdk_unix_update.tar.gz' to > '/home/ljw/src/emsdk' > emsdk_portable/emscripten-tags.txt > emsdk_portable/emsdk > emsdk_portable/emsdk_env.sh > emsdk_portable/emsdk_manifest.json > emsdk_portable/README.md > Fetching all tags from Emscripten Github repository... > Done. 86 tagged releases available, latest is 1.36.14. > Fetching all precompiled Nightly versions.. > Downloading: /home/ljw/src/emsdk/llvm-nightlies-32bit.txt from > https://s3.amazonaws.com/mozilla-games/emscripten/ > packages/llvm/nightly/linux_32bit/index.txt > Downloading: /home/ljw/src/emsdk/llvm-nightlies-64bit.txt from > https://s3.amazonaws.com/mozilla-games/emscripten/ > packages/llvm/nightly/linux_64bit/index.txt > Downloading: /home/ljw/src/emsdk/emscripten-nightlies.txt from > https://s3.amazonaws.com/mozilla-games/emscripten/ > packages/emscripten/nightly/linux/index.txt > (precise)ljw@localhost:~/src/emsdk$ ./emsdk install > sdk-nightly-latest-64bit > Error: No tool or SDK found by name 'sdk-nightly-latest-64bit'. > > I did manage to download a fastcomp binary directly from > https://s3.amazonaws.com/mozilla-games/emscripten/ > packages/llvm/nightly/linux_64bit/emscripten-llvm-latest.tar.gz . > Unfortunately the downloaded binary will not run on Ubuntu 12.04 or 14.04. > I see the following error: > > (precise)ljw@localhost:~/Downloads/fastcomp/emscripten- > llvm-e1.36.14-2016_12_04_02_39$ ./clang > ./clang: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version > `GLIBCXX_3.4.18' not found (required by ./clang) > ./clang: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version > `GLIBCXX_3.4.20' not found (required by ./clang) > ./clang: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version > `GLIBCXX_3.4.21' not found (required by ./clang) > > This suggests clang was built with some GCC 5.X (based on the symbol > versioning doc: https://gcc.gnu.org/onlinedocs/libstdc++/manual/abi.html > "GCC 5.1.0: GLIBCXX_3.4.21, CXXABI_1.3.9"). I assume it was built with GCC > 5.3 on Ubuntu 16.04? > > I came up with the following solution. I built emscripten-fastcomp under > Centos 6. This involved building GCC 4.8.5 and Cmake 3.5.2 under Centos 6. > I then used my freshly built GCC and CMake to build emscripten-fastcomp. > This gave me a fastcomp binary that only depends on glibc 2.12 and the > version of libstdc++ that ships with GCC 4.8.5. I also set up Emscripten > under Centos 6 and ran a chunk of the test suite. This involves building > Python 2.7 from source and installing prebuilt binaries of node.js, > Spidermonkey, and the JRE. With a bit of fiddling around I was able to put > together a Emscripten 1.36.14 binary distribution that worked on Centos 6, > Ubuntu 12.04 and Ubuntu 14.04 (and in theory a wide range of other 64bit > Linux distribution). > > Very rough instructions to this approach here: https://gist.github.com/ > cosinusoidally/16ad712d2659dbf4f65a1d823ae35fbd > > Thanks > Liam Wilson > > > On Sunday, 4 December 2016 01:40:20 UTC, jj wrote: >> >> The Emscripten build bots do precompiled Nightly builds and upload them >> to S3. https://github.com/kripken/emscripten/issues/4682#issuecomme >> nt-260159020 has the command line steps to bootstrap to the latest >> Nightlies. >> >> 2016-11-27 16:18 GMT+02:00 Juha Järvi <[email protected]>: >> >>> To get Emscripten working quickly with Travis tests >>> <https://github.com/charto/nbind/blob/master/bin/ci-trigger> in nbind >>> <https://github.com/charto/nbind#readme> I copied the strategy used in >>> Urho3D <https://urho3d.github.io/> (see the html5 build) and removed >>> the Ruby dependency. Basically I set up a new nearly empty Github repo >>> <https://github.com/charto/nbind-ci-emscripten>, wrote the script in >>> the first link in this post and forked Urho3D's precompiled Emscripten >>> repo <https://github.com/urho3d/emscripten-sdk>. It doesn't get updated >>> all the time, but often enough for me. >>> >>> >>> tiistai 8. marraskuuta 2016 19.06.14 UTC+2 Shlomi Fish kirjoitti: >>>> >>>> Hi all! >>>> >>>> I'm using Emscripten to convert Freecell Solver's source code >>>> ( http://fc-solve.shlomifish.org/ ) for use in the online site. I'd >>>> like to add >>>> the site's build+tests process to fc-solve's Travis-CI continuous >>>> integration >>>> process and Emscripten is part of its "make stage". Travis-CI gives me >>>> an >>>> Ubuntu LTS x86-64 VM and allows setting up PPAs or fetching binaries, >>>> but >>>> building Emscripten completely from source will be too time consuming >>>> and >>>> prohibitive. >>>> >>>> Can anyone refer me to a PPA or precompiled binaries suitable for >>>> installing and running on Ubuntu x86-64 for Emscripten? I'll be >>>> grateful for >>>> any insights. >>>> >>>> Regards, >>>> >>>> Shlomi Fish >>>> >>>> -- >>>> ----------------------------------------------------------------- >>>> Shlomi Fish http://www.shlomifish.org/ >>>> https://youtu.be/GoEn1YfYTBM - Tiffany Alvord - “Fall Together” >>>> >>>> It does not mean what I think it means, but it means what *you* think >>>> it >>>> means. >>>> >>>> Please reply to list if it's a mailing list post - >>>> http://shlom.in/reply . >>>> >>> -- >>> 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. > -- 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.
