bneradt opened a new pull request, #11257:
URL: https://github.com/apache/trafficserver/pull/11257
This addresses the following build error in the wasm plugin:
/usr/bin/ccache /usr/lib64/ccache/c++ -DDEBUG -DOPENSSL_API_COMPAT=10002
-DOPENSSL_IS_OPENSSL3 -DPACKAGE_NAME="\"Apache Traffic Server\""
-DPACKAGE_VERSION=\"10.1.0\" -D_DEBUG -Dlinux
-I/home/bneradt/src/ts_asf_master_build_proxy_wasm/inclu de
-I/home/bneradt/src/ts_asf_master_build_proxy_wasm/build/include
-I/home/bneradt/src/ts_asf_master_build_proxy_wasm/plugins/experimental/wasm/lib
-isystem /opt/include -pthread -g -std=c++20 -fPIC -fdiagnostics-color=always
-Wno-invalid- offsetof -pipe -Wall -Wextra -Wno-unused-parameter
-Wno-noexcept-type -Wsuggest-override -Wno-vla-extension -Wno-format-truncation
-Wno-stringop-overflow -Werror -MD -MT
plugins/experimental/wasm/lib/CMakeFiles/wasmlib.dir/src/wamr/wamr.cc. o -MF
plugins/experimental/wasm/lib/CMakeFiles/wasmlib.dir/src/wamr/wamr.cc.o.d -o
plugins/experimental/wasm/lib/CMakeFiles/wasmlib.dir/src/wamr/wamr.cc.o -c
/home/bneradt/src/ts_asf_master_build_proxy_wasm/plugins/experimental/wasm/lib/src
/wamr/wamr.cc
/home/bneradt/src/ts_asf_master_build_proxy_wasm/plugins/experimental/wasm/lib/src/wamr/wamr.cc:
In member function ‘virtual bool
proxy_wasm::wamr::Wamr::link(std::string_view)’:
/home/bneradt/src/ts_asf_master_build_proxy_wasm/plugins/experimental/wasm/lib/src/wamr/wamr.cc:341:84:
error: invalid application of ‘sizeof’ to incomplete type ‘wasm_extern_t’
341 | wasm_extern_vec_t imports_vec = {imports.size(), imports.data(),
imports.size(), sizeof(wasm_extern_t)};
|
^~~~~~~~~~~~~~~~~~~~~
This is currently not seen because we don't currently have wasm plugin cmake
build support. A future commit will add this, but we have to fix this error
first.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]