Stream: wamr

Topic: JIT session error?


view this post on Zulip Mats Brorsson (Nov 22 2023 at 16:46):

Can someone here help me interpret this error message when running iwasm with llvm-jit:

JIT session error: Symbols not found: [ ceilf ]
JIT session error: Failed to materialize symbols: { (main.impl, { aot_func#242, aot_func#80, aot_func#87, aot_func#88, aot_func#254, aot_func#83, aot_func#242_wrapper, aot_func#92, aot_func#91, aot_func#250, aot_func#80_wrapper, aot_func#95, aot_func#84, aot_func#83_wrapper, aot_func#246 }) }
JIT session error: Failed to materialize symbols: { (main.impl, Segmentation fault (core dumped)

I have some other programs in which floor is the symbol not found.

How do I go about and debug this?

I should mention that this happens on a RISCV64 machine. The other machines I have tried it on (ARM64 and x86_64) works fine.

Also, it seems as the --interp flag does not completely disable the JIT as the same program starts executing correctly, but eventually fails with the same error. If I compile a version of iwasm with only the interpreter mode, it works fine.


Last updated: Oct 23 2024 at 20:03 UTC