[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 01:38:39 PST 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-gcc-ubuntu` running on `sie-linux-worker3` while building `lld` at step 6 "test-build-unified-tree-check-all".

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

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

```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'lld :: ELF/loongarch-relax-call36.s' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 4: rm -rf /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/tools/lld/test/ELF/Output/loongarch-relax-call36.s.tmp && split-file /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/lld/test/ELF/loongarch-relax-call36.s /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/tools/lld/test/ELF/Output/loongarch-relax-call36.s.tmp && cd /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/tools/lld/test/ELF/Output/loongarch-relax-call36.s.tmp
+ rm -rf /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/tools/lld/test/ELF/Output/loongarch-relax-call36.s.tmp
+ split-file /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/lld/test/ELF/loongarch-relax-call36.s /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/tools/lld/test/ELF/Output/loongarch-relax-call36.s.tmp
+ cd /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/tools/lld/test/ELF/Output/loongarch-relax-call36.s.tmp
RUN: at line 6: /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/llvm-mc -filetype=obj -triple=loongarch64 -mattr=+relax a.s -o a.64.o
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/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