Open
Description
Checklist
- Checked the issue tracker for similar issues to ensure this is not a duplicate
- Read the documentation to confirm the issue is not addressed there and your configuration is set correctly
- Tested with the latest version to ensure the issue hasn't been fixed
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