Commit 3799b3b
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 which fail on load with
the infamous error:
"relocation truncated to fit R_X86_64_32S failed"
it seems that these relocations are often for jump tables.
this commit workarounds it with --size-level=0.
an alternative is to disable jump tables. (although it seems that
jump tables are not the only source of these relocations.)
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 99f9db2 commit 3799b3b
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