Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emscripten build has broken #36

Open
farzonl opened this issue Apr 23, 2023 · 0 comments
Open

Emscripten build has broken #36

farzonl opened this issue Apr 23, 2023 · 0 comments

Comments

@farzonl
Copy link
Owner

farzonl commented Apr 23, 2023

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant