emscripten-core / emscripten-core/emscripten

undefined symbol `__assert_fail` when build main module

Open
#13,633 8 comments 0 reactions 0 assignees View on GitHub
wontfix
Dominant language
C++
Stars
27.6k
Forks
3.6k
Avg merge
1d 1h
Merged PRs (30d)
105

Description

> Assertion failed: undefined symbol `__assert_fail`. perhaps a side module was not linked in? if this global was expected to arrive from a system library, try to build the MAIN_MODULE with EMCC_FORCE_STDLIBS=1 in the environment

I already added the environment var as told but not working. 2.0.15.
didn't have this error in 2.0.8. strongly suspected it's the same reason as #13226.
Related change could be #12461.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.