You can use an older version by doing emsdk install 1.38.13
In some cases you may also need to use an older emsdk for that. To do so, you can checkout the 1.38.13 tag in the emsdk repo. If you still see issues, try doing so in a new checkout of the emsdk perhaps. In general, if you see issues on an upgrade from 1.38.x to later then a huge change happened in 1.39.0, the entire LLVM backend was replaced (fastcomp => upstream). That usually helps, but in some cases there are regressions. 30% does seem high, however, so that might be worth looking into. Otherwise, any problem with upgrading can often be helped by bisecting, to get the specific commit where you hit a problem: https://emscripten.org/docs/contributing/developers_guide.html#bisecting Bisecting is usually very fast once you start. On Sun, Mar 5, 2023 at 12:04 PM juergen...@gmail.com < juergen.wot...@gmail.com> wrote: > I just made the mistake to update my old Emscripten 1.38.13 version (which > had worked fine) to a recent 3.1.x version (due to one 3rd party project > that had specifically required a respective >3.1.x version). > > Interestingly it seems that the executables of my existing WASM projects > now suddenly are massively (30% ) larger when compiled with the new > Emscripten version, e.g. 3MB instead of 2.3MB.. WTF? (same build script - > only change was to add "-r" option when building ".bc" libs). > > Worse it seems that code that worked fine before now suddenly doesn't > anymore. (e.h. some kind of emulator that generates chiptune music and the > respective audio calculations now suddenly produce garbage - whereas the > same code compiled with the 1.38.13 version did not have this problem.) > > Worst of all I had kept the backup folder of my old emscripten > installation - as an insurance against the above scenario. Only to find > that the new install apparently messed up stuff outside of the installation > folder and my old version no longer wants to start.. :-( Help! How can I > rollback to my old version to escape this nightmare? > > -- > 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 emscripten-discuss+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/emscripten-discuss/4e59121e-0359-42c5-83d9-b1b6967b6e30n%40googlegroups.com > <https://groups.google.com/d/msgid/emscripten-discuss/4e59121e-0359-42c5-83d9-b1b6967b6e30n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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 emscripten-discuss+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/CAEX4NpQkBqXNMG0NAU-OHGMTXR5ObWw-tu1gHnY5J%3DSm%2BuinmA%40mail.gmail.com.