-
Notifications
You must be signed in to change notification settings - Fork 715
Closed
Description
hi,I have test WAMR on iOS platform, the result shows :
- the interpreter mode works fine on both iOS simulator and real device
- AOT mode works fine on simulator (target="x86_64") but fails on real device (target="aarch64")
My device is iPhone 8, iOS 13.3.1
The test wasm is compiled from simple C code
int test(int n) {
return n + 42;
}
imports:
exports:
[Function] i32 test(i32)
AOT compile command
./wamrc --target=aarch64 --size-level=0 --opt-level=0 -o test.aot test.wasm
Runtime error at file invokeNative_aarch64.s
thread #9, name = 'WebThread', stop reason = EXC_BAD_ACCESS (code=2, address=0x111488004)
it seems that the func_ptr is invalid
please help, thanks
Metadata
Metadata
Assignees
Labels
No labels