Open
Description
with the recent version of LLVM, wamrc --size-level=1 often generates R_X86_64_32S relocations.
it's bad because we suggest --size-level=1 to avoid that kind of relocations.
wasm-micro-runtime/core/iwasm/aot/arch/aot_reloc_x86_64.c
Lines 196 to 201 in bb053e3
it seems the relocation is for jump tables.
a workaround: disable jump tables
another workaround: use large model (but it's broken for other reasons: #3034)
Metadata
Metadata
Assignees
Labels
No labels