emscripten-core / emscripten-core/emscripten

Fatal: globalBase must be set

Open
#13,082 5 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

2.0.11 fails:

```
$ emcc hw.c
cache:INFO: generating system asset: generated_struct_info.json... (this will be cached in "/home/yuri/.emscripten_cache/wasm/generated_struct_info.json" for subsequent builds)
Fatal: globalBase must be set
emcc: error: '/usr/local/bin/wasm-emscripten-finalize --detect-features --minimize-wasm-changes --dyncalls-i64 /tmp/tmpfa46ds6e.wasm -o /tmp/tmpfa46ds6e.wasm' failed (1)
FAIL: Compilation failed!: ['/usr/local/lib/emscripten/emcc', '-D_GNU_SOURCE', '-o', '/tmp/tmpfa46ds6e.js', '/tmp/tmp__1xiy_h.c', '-O0', '-Werror', '-Wno-format', '-s', 'BOOTSTRAPPING_STRUCT_INFO=1', '-s', 'WARN_ON_UNDEFINED_SYMBOLS=0', '-s', 'STRICT=1', '-s', 'SINGLE_FILE=1', '-Wno-error=version-check', '-Wno-deprecated']
```

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.