[llvm] [ORC] Add LazyObjectLinkingLayer, add lazy-linking support to llvm-ji… (PR #116002)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 17 16:55:56 PST 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `ppc64le-lld-multistage-test` running on `ppc64le-lld-multistage-test` while building `llvm` at step 7 "test-build-stage1-unified-tree-check-all".

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

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

```
Step 7 (test-build-stage1-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: ExecutionEngine/JITLink/Generic/lazy-link.ll' FAILED ********************
Exit Code: 2

Command Output (stderr):
--
RUN: at line 6: rm -rf /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/test/ExecutionEngine/JITLink/Generic/Output/lazy-link.ll.tmp && mkdir -p /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/test/ExecutionEngine/JITLink/Generic/Output/lazy-link.ll.tmp
+ rm -rf /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/test/ExecutionEngine/JITLink/Generic/Output/lazy-link.ll.tmp
+ mkdir -p /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/test/ExecutionEngine/JITLink/Generic/Output/lazy-link.ll.tmp
RUN: at line 7: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/llc -filetype=obj -o /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/test/ExecutionEngine/JITLink/Generic/Output/lazy-link.ll.tmp/foo.o /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/ExecutionEngine/JITLink/Generic/Inputs/foo-ret-42.ll
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/llc -filetype=obj -o /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/test/ExecutionEngine/JITLink/Generic/Output/lazy-link.ll.tmp/foo.o /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/ExecutionEngine/JITLink/Generic/Inputs/foo-ret-42.ll
RUN: at line 8: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/llc -filetype=obj -o /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/test/ExecutionEngine/JITLink/Generic/Output/lazy-link.ll.tmp/x.o /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/ExecutionEngine/JITLink/Generic/Inputs/var-x-42.ll
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/llc -filetype=obj -o /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/test/ExecutionEngine/JITLink/Generic/Output/lazy-link.ll.tmp/x.o /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/ExecutionEngine/JITLink/Generic/Inputs/var-x-42.ll
RUN: at line 9: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/llc -filetype=obj -o /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/test/ExecutionEngine/JITLink/Generic/Output/lazy-link.ll.tmp/main.o /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/ExecutionEngine/JITLink/Generic/lazy-link.ll
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/llc -filetype=obj -o /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/test/ExecutionEngine/JITLink/Generic/Output/lazy-link.ll.tmp/main.o /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/ExecutionEngine/JITLink/Generic/lazy-link.ll
RUN: at line 10: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/llvm-jitlink -noexec -show-linked-files /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/test/ExecutionEngine/JITLink/Generic/Output/lazy-link.ll.tmp/main.o -lazy /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/test/ExecutionEngine/JITLink/Generic/Output/lazy-link.ll.tmp/foo.o      -lazy /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/test/ExecutionEngine/JITLink/Generic/Output/lazy-link.ll.tmp/x.o | /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/ExecutionEngine/JITLink/Generic/lazy-link.ll
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/llvm-jitlink -noexec -show-linked-files /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/test/ExecutionEngine/JITLink/Generic/Output/lazy-link.ll.tmp/main.o -lazy /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/test/ExecutionEngine/JITLink/Generic/Output/lazy-link.ll.tmp/foo.o -lazy /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/test/ExecutionEngine/JITLink/Generic/Output/lazy-link.ll.tmp/x.o
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/ExecutionEngine/JITLink/Generic/lazy-link.ll
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/llvm-jitlink: No EPCIndirectionUtils available for powerpc64le--
FileCheck error: '<stdin>' is empty.
FileCheck command line:  /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/ExecutionEngine/JITLink/Generic/lazy-link.ll

--

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

Step 13 (test-build-stage2-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: ExecutionEngine/JITLink/Generic/lazy-link.ll' FAILED ********************
Exit Code: 2

Command Output (stderr):
--
RUN: at line 6: rm -rf /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/test/ExecutionEngine/JITLink/Generic/Output/lazy-link.ll.tmp && mkdir -p /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/test/ExecutionEngine/JITLink/Generic/Output/lazy-link.ll.tmp
+ rm -rf /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/test/ExecutionEngine/JITLink/Generic/Output/lazy-link.ll.tmp
+ mkdir -p /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/test/ExecutionEngine/JITLink/Generic/Output/lazy-link.ll.tmp
RUN: at line 7: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/llc -filetype=obj -o /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/test/ExecutionEngine/JITLink/Generic/Output/lazy-link.ll.tmp/foo.o /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/ExecutionEngine/JITLink/Generic/Inputs/foo-ret-42.ll
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/llc -filetype=obj -o /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/test/ExecutionEngine/JITLink/Generic/Output/lazy-link.ll.tmp/foo.o /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/ExecutionEngine/JITLink/Generic/Inputs/foo-ret-42.ll
RUN: at line 8: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/llc -filetype=obj -o /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/test/ExecutionEngine/JITLink/Generic/Output/lazy-link.ll.tmp/x.o /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/ExecutionEngine/JITLink/Generic/Inputs/var-x-42.ll
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/llc -filetype=obj -o /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/test/ExecutionEngine/JITLink/Generic/Output/lazy-link.ll.tmp/x.o /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/ExecutionEngine/JITLink/Generic/Inputs/var-x-42.ll
RUN: at line 9: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/llc -filetype=obj -o /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/test/ExecutionEngine/JITLink/Generic/Output/lazy-link.ll.tmp/main.o /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/ExecutionEngine/JITLink/Generic/lazy-link.ll
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/llc -filetype=obj -o /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/test/ExecutionEngine/JITLink/Generic/Output/lazy-link.ll.tmp/main.o /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/ExecutionEngine/JITLink/Generic/lazy-link.ll
RUN: at line 10: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/llvm-jitlink -noexec -show-linked-files /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/test/ExecutionEngine/JITLink/Generic/Output/lazy-link.ll.tmp/main.o -lazy /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/test/ExecutionEngine/JITLink/Generic/Output/lazy-link.ll.tmp/foo.o      -lazy /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/test/ExecutionEngine/JITLink/Generic/Output/lazy-link.ll.tmp/x.o | /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/ExecutionEngine/JITLink/Generic/lazy-link.ll
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/llvm-jitlink -noexec -show-linked-files /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/test/ExecutionEngine/JITLink/Generic/Output/lazy-link.ll.tmp/main.o -lazy /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/test/ExecutionEngine/JITLink/Generic/Output/lazy-link.ll.tmp/foo.o -lazy /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/test/ExecutionEngine/JITLink/Generic/Output/lazy-link.ll.tmp/x.o
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/ExecutionEngine/JITLink/Generic/lazy-link.ll
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/llvm-jitlink: No EPCIndirectionUtils available for powerpc64le--
FileCheck error: '<stdin>' is empty.
FileCheck command line:  /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/ExecutionEngine/JITLink/Generic/lazy-link.ll

--

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


```

</details>

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


More information about the llvm-commits mailing list