[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 04:00:27 PDT 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `lld-x86_64-ubuntu-fast` running on `as-builder-4` while building `lld` at step 6 "test-build-unified-tree-check-all".

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

<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-2.s' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 4: rm -rf /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/tools/lld/test/ELF/Output/loongarch-relax-call36-2.s.tmp && split-file /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/lld/test/ELF/loongarch-relax-call36-2.s /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/tools/lld/test/ELF/Output/loongarch-relax-call36-2.s.tmp && cd /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/tools/lld/test/ELF/Output/loongarch-relax-call36-2.s.tmp
+ rm -rf /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/tools/lld/test/ELF/Output/loongarch-relax-call36-2.s.tmp
+ split-file /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/lld/test/ELF/loongarch-relax-call36-2.s /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/tools/lld/test/ELF/Output/loongarch-relax-call36-2.s.tmp
+ cd /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/tools/lld/test/ELF/Output/loongarch-relax-call36-2.s.tmp
RUN: at line 5: /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llvm-mc -filetype=obj -triple=loongarch64 -mattr=+relax a.s -o a.o
+ /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llvm-mc -filetype=obj -triple=loongarch64 -mattr=+relax a.s -o a.o
a.s:10:16: error: invalid variant 'plt'
  call36 ifunc at plt      # enable ifunc, not relaxed
               ^
a.s:11:21: error: invalid variant 'plt'
  tail36 $t0, ifunc at plt # enable ifunc, not relaxed
                    ^

--

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


```

</details>

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


More information about the llvm-commits mailing list