Wenyong Huang

Results 323 comments of Wenyong Huang
trafficstars

Hi, > 2 problems: > > 1. wamrc support mips and mipseb, but mips==mipseb in wamrc. change source code to "mipsel" solved this problem #887 adds "mipsel" to wamrc's target...

Hi, it mentions that "You need add the user id to group sgx_prv or run the app as root.", could you please try adding you user id the the sgx_prv...

Not known what the root cause is, may be you can get help from below: https://github.com/intel/linux-sgx

> I had seen the issue #547 And I tried to use wasm_runtime_init_thread_env() and wasm_runtime_destroy_thread_env(). My code is like this: 1- call wasm_runtime_init_thread_env() 2- call wasm_runtime_call_wasm() and in wasm app...

> @wenyongh Thanks for your reply. Did you mean that the thead my wasm app run in and call pthread_create must be one kind of these threads: > > 1....

@xingkaiyu Have you applied the patch #923? When aot is enabled, wasm_runtime_init_thread_env() calls aot_signal_init() also, and aot_signal_init does two things: 1. os_thread_signal_init, which calls SetThreadStackGuarantee with 16KB for stack overflow...

Hi, currently invokeNative_general.c is just for experiment purpose, normally it only works in some 32-bit target, e.g. x86-32: https://github.com/bytecodealliance/wasm-micro-runtime/blob/main/core/iwasm/common/iwasm_common.cmake#L17-L27 please use the assembly version instead.

Hi, the main reason to use the assembly code to call the native function pointer (includes AOT func ptr) is to improve the user experience, by this way, we can...

Close this issue as it was fixed.

> Added use_wrapper to structure NativeSymbol and corresponding methods to enable linking to pure C functions, without prepending wasm_exec_env_t as first argument > > example: > > ``` > int...