emscripten-core / emscripten-core/emscripten
Does emcc support '-fstack-protector'? Error: 'undefined symbol: __stack_chk_guard'
Open
- Dominant language
- C++
- Stars
- 27.6k
- Forks
- 3.6k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 105
Description
Please include the following in your bug report:
**Version of emscripten/emsdk:**
3.1.0

**Failing command line in full:**
The compilation script compiles output WASM file and it can run on the web.
```
cmake ..
make
```
If i add `-fstack-protector` in CMakeLists.txt, There are some errors.

Contributor guide
Assessment
This issue has not been assessed yet.