-
Notifications
You must be signed in to change notification settings - Fork 86
Switch Emscripten from "fastcomp" to "upstream" #77
Comments
When attempting to build the protobuf libraries for wasm, emsdk 1.38.39 fails with: /bin/bash ../libtool --tag=CXX --mode=compile /home/jplev_google_com/emsdk/upstream/emscripten/em++ -DHAVE_CONFIG_H -I. -I.. -pthread -DHAVE_PTHREAD=1 -Wall -Wno-sign-compare -O2 -g -std=c++11 -DNDEBUG -MT google/protobuf/arena.lo -MD -MP -MF $depbase.Tpo -c -o google/protobuf/arena.lo google/protobuf/arena.cc && PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: shared:ERROR: compiler frontend failed to generate LLVM bitcode, halting |
This PR is a bit overloaded and includes a lot of changes, but it would be impossible to split them up: 1. Emscripten: update to 1.38.48. 2. Emscripten: use "upstream" instead of "fastcomp". 3. Emscripten: use STANDALONE_WASM=1. 4. Emscripten: use __wasm_global_ctors. 5. Emscripten: use WASI calls. 6. Emscripten: drop underscore prefix. 7. Emscripten: remove support for the JavaScript-flavored Emscripten. 8. Runtimes: throw WasmException for function call errors. 9. Tests: catch DivByZero (which is now an runtime error). 10. Tests: drop SEGV test, since it's compiled to "unreachable" call. 11. WAVM: update to 2019-10-15. 12. SDK: distribute static libraries instead of the bytecode. Fixes envoyproxy#77, envoyproxy#212. Signed-off-by: Piotr Sikora <piotrsikora@google.com>
This PR is a bit overloaded and includes a lot of changes, but it would be impossible to split them up: 1. Emscripten: update to 1.38.48. 2. Emscripten: use "upstream" instead of "fastcomp". 3. Emscripten: use STANDALONE_WASM=1. 4. Emscripten: use __wasm_global_ctors. 5. Emscripten: use WASI calls. 6. Emscripten: drop underscore prefix. 7. Emscripten: remove support for the JavaScript-flavored Emscripten. 8. Runtimes: throw WasmException for function call errors. 9. Tests: catch DivByZero (which is now an runtime error). 10. WAVM: update to 2019-10-15. 11. WAVM: stop using WAVM's Emscripten implementation, since we have our own. 12. SDK: distribute static libraries instead of the bytecode. Fixes #77, #212. Signed-off-by: Piotr Sikora <piotrsikora@google.com>
…oxy#77) * Stricter validation of HTTP/1 headers (CVE-2019-18802). Signed-off-by: Alyssa Wilk <alyssar@chromium.org> * Remove unnecessary nghttp2 patches after it was upgraded to 1.40.0 Signed-off-by: Yan Avlasov <yavlasov@google.com>
No description provided.
The text was updated successfully, but these errors were encountered: