wasm-micro-runtime
wasm-micro-runtime copied to clipboard
AOT compiler `wamrc` doesn't support compiling to arm64 bit
penner@xxx build % ./wamrc --target=aarch64 -o wasm.aot wasm.wasm
[18:08:57:013 - 1DEF6D000]: warning: a module with WASI apis should be either a command or a reactor
Create AoT compiler with:
target: aarch64v8
target cpu:
target triple: aarch64v8-pc-linux-gnu
cpu features:
opt level: 3
size level: 1
output format: AoT file
LLVM ERROR: Only small, tiny and large code models are allowed on AArch64
zsh: abort ./wamrc --target=aarch64 -o wasm.aot wasm.wasm
Can I modify the source code in aot_llvm_extra2.cpp