Commit 20be39b
committed
spec-test-script/runtest.py: --size-level=0 for x86-64
with the recent version of LLVM, wamrc --size-level=1 often
generates R_X86_64_32S relocations, often for jump tables.
those relocations often fail on load with the infamous error:
"relocation truncated to fit R_X86_64_32S failed"
this commit workarounds it with --size-level=0.
an alternative is to disable jump tables.
cf. #3035
it might be better to do this in wamrc itself. however, currently
target info is not available there in case of native compilation.
related: #33561 parent 6e3f340 commit 20be39b
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
| 50 | + | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
| |||
0 commit comments