emscripten-core / emscripten-core/emscripten
LLVM stack dump during linking.
- Dominant language
- C++
- Stars
- 27.6k
- Forks
- 3.6k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 105
Description
Hi.
I'm trying to update my project to emscripten 3.1.42.
I have rebuilt third party libraries like opencv, skia and after building project with new libraries I got stack dump.
The compile and link flags are`
-Wl,--wrap=__cxa_throw
-Wl,--fatal-warnings
-lembind
-sMODULARIZE=1
-sEXPORTED_RUNTIME_METHODS=['EGL']
-sEXPORT_NAME=createPIModule
-sWASM=1
-sDEFAULT_TO_CXX=0
-sALLOW_MEMORY_GROWTH=1
-sMAX_WEBGL_VERSION=2
-sFULL_ES3=1
-sLLD_REPORT_UNDEFINED
--no-entry
-sEXIT_RUNTIME=1
-fwasm-exceptions
-Wno-pthreads-mem-growth
When building debug it's ok.
But when building release(adding -flto flag) stack dump occurs.
Without -flto flag also it's ok.
Contributor guide
Assessment
This issue has not been assessed yet.