Open liuqi-sun opened 3 years ago
Any more info? How do you build the Wasm module, and what is the version of envoy?
Sounds like your C++ code is multi-threaded, and that's not currently supported in Wasm.
Any more info? How do you build the Wasm module, and what is the version of envoy?
./bazel-bin/source/exe/envoy-static --version
./bazel-bin/source/exe/envoy-static version: 5c801b25cae04f06bf48248c90e87d623d7a6283/1.17.0/Modified/DEBUG/BoringSSL
Sounds like your C++ code is multi-threaded, and that's not currently supported in Wasm. I use gflag library that may be is multi-threaded. it is ok after I delete gflag library
[source/extensions/common/wasm/wasm_vm.cc:39] Failed to load Wasm module due to a missing import: env.pthread_rwlock_init