You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi all. I am using emsdk version 3.1.45 to build a C++ project and consume it in our javascript project. The C++ project inturn uses openssl library. Whenever I try to generate the wasm files, I get the following warning.
wasm-ld: warning: function signature mismatch: time
>>> defined as (i32) -> i32 in {ROOTDIR}\/openssl-3-wasm/libdtlschromeos.a(libdtlschromeos-lib-sslsdk_trace.o)
>>> defined as (i32) -> i64 in {ROOTDIR}\emsdk\upstream\emscripten\cache\sysroot\lib\wasm32-emscripten\libc-mt-debug.a(emscripten_time.o)
I am new to emscripten. So, wanted to know how I can resolve this issue.
This seems to be causing an issue in our main project which is consuming the generated wasm files. Whenever we are tring to initialize DTLS, we are getting signature mismatch: time in the logs and it looks like emscripten is adding unreachable in this code path.
The text was updated successfully, but these errors were encountered:
It looks like libdtlschromeos.a needs to be rebuilt as the type of time_t changed in recent versions of emscripten. I recommend rebuilding all your libraries every time you update emscripten/emsdk.
Hi all. I am using emsdk version 3.1.45 to build a C++ project and consume it in our javascript project. The C++ project inturn uses openssl library. Whenever I try to generate the wasm files, I get the following warning.
I am new to emscripten. So, wanted to know how I can resolve this issue.
This seems to be causing an issue in our main project which is consuming the generated wasm files. Whenever we are tring to initialize DTLS, we are getting signature mismatch: time in the logs and it looks like emscripten is adding unreachable in this code path.
The text was updated successfully, but these errors were encountered: