[llvm] [AMDGPU][SplitModule] Allow non-kernels to be treated as roots (PR #95902)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 23 23:56:22 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-cuda-p4` running on `cuda-p4-0` while building `llvm` at step 3 "annotate".

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

Here is the relevant piece of the build log for the reference:
```
Step 3 (annotate) failure: '/buildbot/cuda-build --jobs=' (failure)
...
[ RUN      ] LlvmLibcBlockStoreTest.BackReverse
[       OK ] LlvmLibcBlockStoreTest.BackReverse (67 us)
[ RUN      ] LlvmLibcBlockStoreTest.Empty
[       OK ] LlvmLibcBlockStoreTest.Empty (69 us)
Ran 9 tests.  PASS: 9  FAIL: 0
[639/1022] Linking CXX executable libc/test/src/stdlib/libc.test.src.stdlib.labs_test.__hermetic__.__build__
[640/1022] Linking CXX executable libc/test/src/stdlib/libc.test.src.stdlib.llabs_test.__hermetic__.__build__
[641/1022] Linking CXX executable libc/test/src/stdlib/libc.test.src.stdlib.div_test.__hermetic__.__build__
[642/1022] Building CXX object libc/test/src/stdlib/CMakeFiles/libc.test.src.stdlib.ldiv_test.__hermetic__.__build__.dir/ldiv_test.cpp.o
[643/1022] Running hermetic test libc.test.src.__support.freelist_test.__hermetic__
FAILED: libc/test/src/__support/CMakeFiles/libc.test.src.__support.freelist_test.__hermetic__ /buildbot/cuda-p4-0/work/clang-cuda-p4/build-libc/libc/test/src/__support/CMakeFiles/libc.test.src.__support.freelist_test.__hermetic__ 
cd /buildbot/cuda-p4-0/work/clang-cuda-p4/build-libc/libc/test/src/__support && /buildbot/cuda-p4-0/work/clang-cuda-p4/clang/bin/nvptx-loader /buildbot/cuda-p4-0/work/clang-cuda-p4/build-libc/libc/test/src/__support/libc.test.src.__support.freelist_test.__hermetic__.__build__
[==========] Running 9 tests from 1 test suite.
[ RUN      ] LlvmLibcFreeList.EmptyListHasNoMembers
[       OK ] LlvmLibcFreeList.EmptyListHasNoMembers (8 us)
[ RUN      ] LlvmLibcFreeList.CanRetrieveAddedMember
[       OK ] LlvmLibcFreeList.CanRetrieveAddedMember (15 us)
[ RUN      ] LlvmLibcFreeList.CanRetrieveAddedMemberForSmallerSize
[       OK ] LlvmLibcFreeList.CanRetrieveAddedMemberForSmallerSize (14 us)
[ RUN      ] LlvmLibcFreeList.CanRemoveItem
[       OK ] LlvmLibcFreeList.CanRemoveItem (15 us)
[ RUN      ] LlvmLibcFreeList.FindReturnsSmallestChunk
[       OK ] LlvmLibcFreeList.FindReturnsSmallestChunk (39 us)
[ RUN      ] LlvmLibcFreeList.FindReturnsCorrectChunkInSameBucket
[       OK ] LlvmLibcFreeList.FindReturnsCorrectChunkInSameBucket (17 us)
[ RUN      ] LlvmLibcFreeList.FindCanMoveUpThroughBuckets
/ssd/cuda-builder/work/llvm-project/libc/utils/gpu/loader/nvptx/Loader.cpp:339:0: Error: misaligned address
[644/1022] Linking CXX executable libc/test/src/stdlib/libc.test.src.stdlib.ldiv_test.__hermetic__.__build__
[645/1022] Building CXX object libc/test/src/stdlib/CMakeFiles/libc.test.src.stdlib.strtoint32_test.__hermetic__.__build__.dir/strtoint32_test.cpp.o
[646/1022] Building CXX object libc/test/src/stdlib/CMakeFiles/libc.test.src.stdlib.lldiv_test.__hermetic__.__build__.dir/lldiv_test.cpp.o
[647/1022] Building CXX object libc/test/src/stdlib/CMakeFiles/libc.test.src.stdlib.bsearch_test.__hermetic__.__build__.dir/bsearch_test.cpp.o
[648/1022] Building CXX object libc/test/src/stdlib/CMakeFiles/libc.test.src.stdlib.strtold_test.__hermetic__.__build__.dir/strtold_test.cpp.o
[649/1022] Building CXX object libc/test/src/stdlib/CMakeFiles/libc.test.src.stdlib.strtoul_test.__hermetic__.__build__.dir/strtoul_test.cpp.o
[650/1022] Building CXX object libc/test/src/stdlib/CMakeFiles/libc.test.src.stdlib.strtoll_test.__hermetic__.__build__.dir/strtoll_test.cpp.o
[651/1022] Building CXX object libc/test/src/stdlib/CMakeFiles/libc.test.src.stdlib.strtoull_test.__hermetic__.__build__.dir/strtoull_test.cpp.o
[652/1022] Building CXX object libc/test/src/stdlib/CMakeFiles/libc.test.src.stdlib.qsort_test.__hermetic__.__build__.dir/qsort_test.cpp.o
ninja: build stopped: subcommand failed.
++ err=1
++ echo PID 249623: subprocess exited with error 1
++ exit 1
PID 249623: subprocess exited with error 1
+ step_failure
+ echo @@@STEP_FAILURE@@@
@@@STEP_FAILURE@@@
Step 12 (Testing GPU libc) failure:  (failure)
...
[ RUN      ] LlvmLibcBlockStoreTest.BackReverse
[       OK ] LlvmLibcBlockStoreTest.BackReverse (67 us)
[ RUN      ] LlvmLibcBlockStoreTest.Empty
[       OK ] LlvmLibcBlockStoreTest.Empty (69 us)
Ran 9 tests.  PASS: 9  FAIL: 0
[639/1022] Linking CXX executable libc/test/src/stdlib/libc.test.src.stdlib.labs_test.__hermetic__.__build__
[640/1022] Linking CXX executable libc/test/src/stdlib/libc.test.src.stdlib.llabs_test.__hermetic__.__build__
[641/1022] Linking CXX executable libc/test/src/stdlib/libc.test.src.stdlib.div_test.__hermetic__.__build__
[642/1022] Building CXX object libc/test/src/stdlib/CMakeFiles/libc.test.src.stdlib.ldiv_test.__hermetic__.__build__.dir/ldiv_test.cpp.o
[643/1022] Running hermetic test libc.test.src.__support.freelist_test.__hermetic__
FAILED: libc/test/src/__support/CMakeFiles/libc.test.src.__support.freelist_test.__hermetic__ /buildbot/cuda-p4-0/work/clang-cuda-p4/build-libc/libc/test/src/__support/CMakeFiles/libc.test.src.__support.freelist_test.__hermetic__ 
cd /buildbot/cuda-p4-0/work/clang-cuda-p4/build-libc/libc/test/src/__support && /buildbot/cuda-p4-0/work/clang-cuda-p4/clang/bin/nvptx-loader /buildbot/cuda-p4-0/work/clang-cuda-p4/build-libc/libc/test/src/__support/libc.test.src.__support.freelist_test.__hermetic__.__build__
[==========] Running 9 tests from 1 test suite.
[ RUN      ] LlvmLibcFreeList.EmptyListHasNoMembers
[       OK ] LlvmLibcFreeList.EmptyListHasNoMembers (8 us)
[ RUN      ] LlvmLibcFreeList.CanRetrieveAddedMember
[       OK ] LlvmLibcFreeList.CanRetrieveAddedMember (15 us)
[ RUN      ] LlvmLibcFreeList.CanRetrieveAddedMemberForSmallerSize
[       OK ] LlvmLibcFreeList.CanRetrieveAddedMemberForSmallerSize (14 us)
[ RUN      ] LlvmLibcFreeList.CanRemoveItem
[       OK ] LlvmLibcFreeList.CanRemoveItem (15 us)
[ RUN      ] LlvmLibcFreeList.FindReturnsSmallestChunk
[       OK ] LlvmLibcFreeList.FindReturnsSmallestChunk (39 us)
[ RUN      ] LlvmLibcFreeList.FindReturnsCorrectChunkInSameBucket
[       OK ] LlvmLibcFreeList.FindReturnsCorrectChunkInSameBucket (17 us)
[ RUN      ] LlvmLibcFreeList.FindCanMoveUpThroughBuckets
/ssd/cuda-builder/work/llvm-project/libc/utils/gpu/loader/nvptx/Loader.cpp:339:0: Error: misaligned address
[644/1022] Linking CXX executable libc/test/src/stdlib/libc.test.src.stdlib.ldiv_test.__hermetic__.__build__
[645/1022] Building CXX object libc/test/src/stdlib/CMakeFiles/libc.test.src.stdlib.strtoint32_test.__hermetic__.__build__.dir/strtoint32_test.cpp.o
[646/1022] Building CXX object libc/test/src/stdlib/CMakeFiles/libc.test.src.stdlib.lldiv_test.__hermetic__.__build__.dir/lldiv_test.cpp.o
[647/1022] Building CXX object libc/test/src/stdlib/CMakeFiles/libc.test.src.stdlib.bsearch_test.__hermetic__.__build__.dir/bsearch_test.cpp.o
[648/1022] Building CXX object libc/test/src/stdlib/CMakeFiles/libc.test.src.stdlib.strtold_test.__hermetic__.__build__.dir/strtold_test.cpp.o
[649/1022] Building CXX object libc/test/src/stdlib/CMakeFiles/libc.test.src.stdlib.strtoul_test.__hermetic__.__build__.dir/strtoul_test.cpp.o
[650/1022] Building CXX object libc/test/src/stdlib/CMakeFiles/libc.test.src.stdlib.strtoll_test.__hermetic__.__build__.dir/strtoll_test.cpp.o
[651/1022] Building CXX object libc/test/src/stdlib/CMakeFiles/libc.test.src.stdlib.strtoull_test.__hermetic__.__build__.dir/strtoull_test.cpp.o
[652/1022] Building CXX object libc/test/src/stdlib/CMakeFiles/libc.test.src.stdlib.qsort_test.__hermetic__.__build__.dir/qsort_test.cpp.o
ninja: build stopped: subcommand failed.
++ err=1
++ echo PID 249623: subprocess exited with error 1
++ exit 1
PID 249623: subprocess exited with error 1
+ step_failure
+ echo @@@STEP_FAILURE@@@
program finished with exit code 0
elapsedTime=498.192285

```

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


More information about the llvm-commits mailing list