-
Notifications
You must be signed in to change notification settings - Fork 747
Open
Labels
bugSomething isn't workingSomething isn't working
Description
The compilation for RISC-V with wamrc
wamrc --target=riscv64 \
--target-abi=lp64 \
--cpu=generic-rv64 \
--cpu-features='+i,+m,+a' \
--opt-level=1 \
--size-level=1 \
--bounds-checks=1 \
-o program.riscv64.wamr program.wasm
runs through. But during runtime I get:
[00:00:00:000 - 0]: Warning: loader mmap memory address is not in the first 2 Gigabytes of the process address space.
[00:00:00:000 - 0]: Warning: loader mmap memory address is not in the first 2 Gigabytes of the process address space.
[00:00:00:000 - 0]: Warning: loader mmap memory address is not in the first 2 Gigabytes of the process address space.
runtime load module failed: AOT module load failed: relocation truncated to fit R_RISCV_PCREL_LO12_I failed.
--opt-level=0 works though
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working