-s ASYNCIFY=1 and -g

21 views
Skip to first unread message

Александр Гурьянов

unread,
Jul 14, 2022, 10:57:13 PM7/14/22
to emscripte...@googlegroups.com
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?

Sam Clegg

unread,
Jul 15, 2022, 12:06:52 AM7/15/22
to emscripte...@googlegroups.com
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

--
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-disc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/CAKOm%3DVH9%3D5UgJ4x9wRRtn8w69R3UVH3ZfQ-DJZH825vWNV5UrQ%40mail.gmail.com.

Александр Гурьянов

unread,
Jul 18, 2022, 9:49:36 AM7/18/22
to emscripte...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages