Skip to content

Emscripten build has broken #36

Description

@farzonl

latest run results show undefined symbol for malloc. Something must have changed in the latest version of emscripten.

error: undefined symbol: malloc (referenced by $stringToNewUTF8__deps: ['$lengthBytesUTF8','$stringToUTF8','malloc'], referenced by _tzset_js__deps: ['$stringToNewUTF8'], referenced by top-level compiled C/C++ code)
warning: To disable errors for undefined symbols use `-sERROR_ON_UNDEFINED_SYMBOLS=0`
warning: _malloc may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library
Error: Aborting compilation due to previous errors
em++: error: '/home/runner/work/warfLang/warfLang/emsdk/node/15.14.0_64bit/bin/node /home/runner/work/warfLang/warfLang/emsdk/upstream/emscripten/src/compiler.js /tmp/tmpmtbh7grm.json' failed (returned 1)
make[2]: *** [test/CMakeFiles/WarfLang_TEST.dir/build.make:101: test/WarfLang_TEST.html] Error 1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions