Looks like a bug to me. Do you know which was the last version of emscripten where this worked for you? Perhaps you could try bisecting ( https://emscripten.org/docs/contributing/developers_guide.html#bisecting), and maybe open an issue?
cheers, sam On Thu, Jul 14, 2022 at 7:57 PM Александр Гурьянов <[email protected]> wrote: > Hi. I recently updated to latest emscripten for Dune2. It uses ASYNCIFY=1, > but now when I compile project normally I have a lot of message like: > > warning: Asyncify onlylist contained a non-existing function name: > GameOptions_Save (GameOptions_Save) > warning: Asyncify onlylist contained a non-existing function name: > Game_Init (Game_Init) > warning: Asyncify onlylist contained a non-existing function name: > Game_LoadScenario (Game_LoadScenario) > ... > > Almost every function that I have in asyncify list generate this warning. > And of course when I run the game in browser id didn't work. But if I add > -g to compile command > this warnings goes away and game works. *I don't understand is it > intended behavior or not?* > > The worst thing if remove -g and set ASSERTIONS=1, I see the "unreachable > executed" error but I can't understand the function name because it > obfuscated. I am very > confused how I should build asyncify list for *non -g* mode? > > -- > 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]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/emscripten-discuss/CAKOm%3DVH9%3D5UgJ4x9wRRtn8w69R3UVH3ZfQ-DJZH825vWNV5UrQ%40mail.gmail.com > <https://groups.google.com/d/msgid/emscripten-discuss/CAKOm%3DVH9%3D5UgJ4x9wRRtn8w69R3UVH3ZfQ-DJZH825vWNV5UrQ%40mail.gmail.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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/CAL_va28WJwRJG%3DXo6Lam%3D6mnkKFRoeU%3DNih8TWYCWC56KGGLaQ%40mail.gmail.com.
