Skip to content

-s ASYNCIFY=1 and -g #17461

Closed
Closed
@caiiiycuk

Description

@caiiiycuk

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 it didn't work. But if I add -g to compile command this warnings goes away and game works.

I bisected the emscripten and I found this:

2.0.16 - good
2.0.17 - bad

36b5542aabc779a683f68df501938a9342df64ca is the first bad commit
commit 36b5542aabc779a683f68df501938a9342df64ca
Author: chromium-autoroll <[email protected]>
Date:   Tue Mar 30 00:14:38 2021 +0000

    Roll binaryen from 9c1d69f6596b to 9b38e4394034 (6 revisions)
    
    https://chromium.googlesource.com/external/github.com/WebAssembly/binaryen.git/+log/9c1d69f6596b..9b38e4394034
    
    2021-03-29 [email protected] LUBs (#3731)
    2021-03-29 [email protected] Scan module-level code in necessary places (#3744)
    2021-03-29 [email protected] [Wasm GC] Fix SSA pass on non-nullable parameters (#3745)
    2021-03-29 [email protected] Fix reduction of nondefaultable tuples (#3746)
    2021-03-29 [email protected] handleNonNullableLocals(): Do not modify params (#3740)
    2021-03-29 [email protected] Inlining: Always inline single-use functions (#3730)
    
    If this roll has caused a breakage, revert this CL and stop the roller
    using the controls here:
    https://autoroll.skia.org/r/binaryen-emscripten-releases
    Please CC [email protected] on the revert to ensure that a human
    is aware of the problem.
    
    To report a problem with the AutoRoller itself, please file a bug:
    https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
    
    Documentation for the AutoRoller is here:
    https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md
    
    Tbr: [email protected]
    Change-Id: I62bfb18af403bbab989cef0b3cb8ab023f855d84
    Reviewed-on: https://chromium-review.googlesource.com/c/emscripten-releases/+/2791984
    Commit-Queue: chromium-autoroll <[email protected]>
    Bot-Commit: chromium-autoroll <[email protected]>

 DEPS | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions