-
Notifications
You must be signed in to change notification settings - Fork 88
Compile with protobuf full does not work with V8 #32
Comments
There is actually one more error line:
I've spent some time last week and over the weekend digging into this, but I didn't find the reason for this failure yet. I'm going to add support for the I looked at the module<>host traces between WAVM and V8 and they are pretty much the same. The calls are limited to @bianpengyuan @mandarjog any chance one of you could try to see if it loads under node.js? |
Btw, by code reading I found it seems like v8 and wavm behave differently in start() function, where v8 calls all module functions with
Could wavm successfully run just because those functions calls are not triggered? Why do we need to call those |
@bianpengyuan those functions are called in WAVM, but the library is handling it internally, so you don't see them being explicitly called in Envoy's codebase. |
OK, I figured it out... |
This allows us to use more recent versions of Emscripten. Fixes #32. Signed-off-by: Piotr Sikora <[email protected]>
Signed-off-by: Yan Avlasov <[email protected]>
…cripten support). STACKED on Emscripten version PR. (envoyproxy#32) * Add support for many intrinsic modules (e.g. for Emscripten support).
* Update SHA for CVE 2020-25017 * add bazel build args into test framework and do not fail silently * allow empty args and remove spaces Co-authored-by: Pengyuan Bian <[email protected]>
I tried to recompile the example in example/wasm/ wasm module with intrinsics.proto and libprotobuf instead of libprotobuf_lite, but v8 failed to run it.
Here is the error output:
We've seen this before when running wasm-sd module and we thought the problem might be from generated code there. But seems like it is more fundamental than that.
@PiotrSikora @jplevyak
The text was updated successfully, but these errors were encountered: