emscripten-core / emscripten-core/emscripten
Cannot compile after switching to latest emsdk...
- Dominant language
- C++
- Stars
- 27.6k
- Forks
- 3.6k
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 109
Description
Hello,
Today I installed latest emsdk and suddenly my project is not compilable anymore (previous emsdk was 2.0.13 and was perfectly working).
It complainst on unresolved symbols: __cxa_is_pointer_type, __cxa_can_catch, emscripten_is_main_browser_thread...
Do I need to link against some system libraries?
Please help, I have quite limited time...
error: undefined symbol: __cxa_is_pointer_type (referenced by $CatchInfo__deps: ['$ExceptionInfo','__cxa_is_pointer_type'], referenced by __cxa_begin_catch__deps: ['$CatchInfo','$exceptionCaught','$exception_addRef','$uncaughtExceptionCount'], referenced by top-level compiled C/C++ code)
warning: Link with `-s LLD_REPORT_UNDEFINED` to get more information on undefined symbols
warning: To disable errors for undefined symbols use `-s ERROR_ON_UNDEFINED_SYMBOLS=0`
warning: ___cxa_is_pointer_type may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library
error: undefined symbol: __cxa_can_catch (referenced by __cxa_find_matching_catch_2__deps: ['$exceptionLast','$ExceptionInfo','$CatchInfo','__resumeException','__cxa_can_catch'], referenced by top-level compiled C/C++ code)
warning: ___cxa_can_catch may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library
error: undefined symbol: emscripten_is_main_browser_thread (referenced by emscripten_start_fetch__deps: ['$Fetch','$fetchXHR','$callUserCallback','emscripten_is_main_browser_thread','$runtimeKeepalivePush','$runtimeKeepalivePop','$fetchCacheData','$fetchLoadCachedData','$fetchDeleteCachedData'], referenced by top-level compiled C/C++ code)
warning: _emscripten_is_main_browser_thread may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library
Error: Aborting compilation due to previous errors
em++: error: 'd:/Projects/emsdk/node/12.18.1_64bit/bin/node.exe D:\Projects\emsdk\upstream\emscripten\src\compiler.js C:\Users\Andrey\AppData\Local\Temp\tmpr0zim25y.txt' failed (returned 1)
ninja: build stopped: subcommand failed.
Contributor guide
Assessment
This issue has not been assessed yet.