-
Notifications
You must be signed in to change notification settings - Fork 732
Closed
Description
Hi, I follow the tutorial build-wamrc-aot-compiler to build a wamrc, and compile the hello_world.wasm to hello_world.aot
./wamrc --target=x86_64 -o hello_world.aot hello_world.wasm
above command outputs:
Create AoT compiler with:
target: x86_64
target cpu:
cpu features:
opt level: 3
size level: 3
output format: AoT file
Compile success, file hello_world.aot was generated.
Finally I am trying to execute aot file on iwasm, but got following error:
./iwasm ../../../../wamr-compiler/build/hello_world.aot
ASSERTION FAILED: (uintptr_t)aot_text < INT32_MAX, at file wasm-micro-runtime/core/iwasm/aot/aot_loader.c, line 1896
[1] 92519 abort ./iwasm ../../../../wamr-compiler/build/hello_world.aot
informations
- arch: mac RELEASE_X86_64 x86_64
- wasm and aot files:
hello-world-wasm-and-aot-files.zip - commits: 35acc7f
Metadata
Metadata
Assignees
Labels
No labels