-
Notifications
You must be signed in to change notification settings - Fork 704
Open
Labels
Description
Hi, I followed https://github.com/bytecodealliance/wasm-micro-runtime/blob/main/doc/source_debugging_aot.md
and built wamrc
. But it fails with coredump(which isn't configured on this ec2) when I try to build AOT files
ubuntu@ip-172-31-42-211:~/wasm-micro-runtime$ ./wamr-compiler/build/wamrc --disable-simd --size-level=1 -o helloworld.aot helloworld/target/wasm32-wasi/debug/helloworld.wasm
Create AoT compiler with:
target: x86_64
target cpu: cascadelake
target triple: x86_64-unknown-linux-gnu
cpu features:
opt level: 3
size level: 1
output format: AoT file
wamrc: /home/ubuntu/wasm-micro-runtime/core/deps/llvm/build/include/llvm/Support/Casting.h:109: static bool llvm::isa_impl_cl<To, const From*>::doit(const From*) [with To = llvm::DIType; From = llvm::Metadata]: Assertion `Val && "isa<> used on a null pointer"' failed.
Aborted (core dumped)
If I build wamrc
without passing -DWAMR_BUILD_DEBUG_AOT=1
everything works