bytecodealliance / wasm-micro-runtime

WebAssembly Micro Runtime (WAMR)
Apache License 2.0
4.84k stars 618 forks source link

text relocations warning compiling build aot XIP file #3575

Open HongxiaWangSSSS opened 3 months ago

HongxiaWangSSSS commented 3 months ago

Hi,

I found relocation warnings when compiling the xip file of polybench on the latest wamr, and many files have similar warnings.

./wamrc --xip -o ../../tests/benchmarks/polybench/out/2mm_xip.aot  ../../tests/benchmarks/polybench/out/2mm.wasm 
Create AoT compiler with:
  target:        x86_64
  target cpu:    broadwell
  target triple: x86_64-unknown-linux-gnu
  cpu features:  
  opt level:     3
  size level:    3
  output format: AoT file
[22:15:50:809 - 781E3E2EA780]: 11 text relocations in .rela.text section for indirect mode

BR

yamt commented 3 months ago

i suspect no one is using x86-64 xip seriously.