[lld] [lld][LoongArch] Relax call36/tail36: R_LARCH_CALL36 (PR #123576)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 9 03:15:34 PDT 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-aarch64-sve2-vla` running on `linaro-g4-02` while building `lld` at step 7 "ninja check 1".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/198/builds/2672

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 7 (ninja check 1) failure: stage 1 checked (failure)
******************** TEST 'lld :: ELF/loongarch-relax-call36.s' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 4: rm -rf /home/tcwg-buildbot/worker/clang-aarch64-sve2-vla/stage1/tools/lld/test/ELF/Output/loongarch-relax-call36.s.tmp && split-file /home/tcwg-buildbot/worker/clang-aarch64-sve2-vla/llvm/lld/test/ELF/loongarch-relax-call36.s /home/tcwg-buildbot/worker/clang-aarch64-sve2-vla/stage1/tools/lld/test/ELF/Output/loongarch-relax-call36.s.tmp && cd /home/tcwg-buildbot/worker/clang-aarch64-sve2-vla/stage1/tools/lld/test/ELF/Output/loongarch-relax-call36.s.tmp
+ rm -rf /home/tcwg-buildbot/worker/clang-aarch64-sve2-vla/stage1/tools/lld/test/ELF/Output/loongarch-relax-call36.s.tmp
+ split-file /home/tcwg-buildbot/worker/clang-aarch64-sve2-vla/llvm/lld/test/ELF/loongarch-relax-call36.s /home/tcwg-buildbot/worker/clang-aarch64-sve2-vla/stage1/tools/lld/test/ELF/Output/loongarch-relax-call36.s.tmp
+ cd /home/tcwg-buildbot/worker/clang-aarch64-sve2-vla/stage1/tools/lld/test/ELF/Output/loongarch-relax-call36.s.tmp
RUN: at line 6: /home/tcwg-buildbot/worker/clang-aarch64-sve2-vla/stage1/bin/llvm-mc -filetype=obj -triple=loongarch64 -mattr=+relax a.s -o a.64.o
+ /home/tcwg-buildbot/worker/clang-aarch64-sve2-vla/stage1/bin/llvm-mc -filetype=obj -triple=loongarch64 -mattr=+relax a.s -o a.64.o
a.s:4:17: error: invalid variant 'plt'
  tail36 $t0, a at plt # relaxed. la64: b
                ^
a.s:15:17: error: invalid variant 'plt'
  call36 _start at plt         # relaxed. la64: bl
                ^
a.s:16:22: error: invalid variant 'plt'
  tail36 $t0, _start at plt    # relaxed. la64: b
                     ^
a.s:19:17: error: invalid variant 'plt'
  call36 _start at plt         # relaxed. la64: bl
                ^
a.s:20:22: error: invalid variant 'plt'
  tail36 $t0, _start at plt    # relaxed. la64: b
                     ^
a.s:23:17: error: invalid variant 'plt'
  call36 _start at plt         # exceed range, not relaxed
                ^
a.s:24:21: error: invalid variant 'plt'
  tail36 $t0,_start at plt     # exceed range, not relaxed
                    ^

--

********************


```

</details>

https://github.com/llvm/llvm-project/pull/123576


More information about the llvm-commits mailing list