wasm-micro-runtime icon indicating copy to clipboard operation
wasm-micro-runtime copied to clipboard

LLVM ERROR: IMAGE_REL_AMD64_ADDR32NB relocation requires an ordered section layout

Open abc767234318 opened this issue 1 year ago • 3 comments

I execute the following files in JIT mode. demo.zip It prints the following error.

Exception: lookup the entry point symbol (like _start, main, _main, __main_argc_argv) failed
LLVM ERROR: IMAGE_REL_AMD64_ADDR32NB relocation requires an ordered section layout

However, no LLVM errors are printed in wasmtime and wasmer. I wonder if this is WAMR's problem.

abc767234318 avatar Aug 01 '22 13:08 abc767234318

Hi, we have a test, but cannot reproduce the issue, wondering which JIT mode is used, and which platform, which arch?

wenyongh avatar Aug 04 '22 10:08 wenyongh

JIT mode: LLVM JIT Platform: Windows 11 Arch: x86 @wenyongh

abc767234318 avatar Aug 08 '22 02:08 abc767234318

@abc767234318 Thanks for reporting the issue, I submitted PR #1372 to fix it, please try again.

wenyongh avatar Aug 10 '22 06:08 wenyongh

Close this issue as it was fixed.

wenyongh avatar Sep 22 '22 05:09 wenyongh