Checklist
How often does this bug occurs?
always
Expected behavior
no errors
Actual behavior (suspected bug)
while i'm upgrading llvm version for wamr, (bytecodealliance/wasm-micro-runtime#4213)
i observed errors like:
spacetanuki% ./wamrc --target=xtensa --mllvm=-mtext-section-literals --disable
-llvm-lto --bounds-checks=1 -o a ~/git/toywasm/.wasm-spec-test/test/core/address
.3.wasm
Create AoT compiler with:
target: xtensa
target cpu:
target triple: xtensa-pc-linux-gnu
cpu features:
opt level: 3
size level: 3
output format: AoT file
error: <unknown>:0: symbol '.LCPI0_0' is already defined
Error logs or terminal output
Steps to reproduce the behavior
a.ll.zip
unzip the attached file.
llc -mtext-section-literals -o a.s a.ll
llvm-mc --filetype=obj -o a.o a.s
Project release version
xtensa_release_19.1.2
System architecture
Intel/AMD 64-bit (modern PC, older Mac)
Operating system
MacOS
Operating system version
15.4.1
Shell
ZSH
Additional context
No response
Checklist
How often does this bug occurs?
always
Expected behavior
no errors
Actual behavior (suspected bug)
while i'm upgrading llvm version for wamr, (bytecodealliance/wasm-micro-runtime#4213)
i observed errors like:
Error logs or terminal output
Steps to reproduce the behavior
a.ll.zip
unzip the attached file.
llc -mtext-section-literals -o a.s a.ll
llvm-mc --filetype=obj -o a.o a.s
Project release version
xtensa_release_19.1.2
System architecture
Intel/AMD 64-bit (modern PC, older Mac)
Operating system
MacOS
Operating system version
15.4.1
Shell
ZSH
Additional context
No response