[libc] [llvm] [LLVM] Make the GPU loader utilities an LLVM tool (PR #132096)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 20 12:26:21 PDT 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-nvptx64-nvidia-ubuntu` running on `as-builder-7` while building `libc,llvm` at step 5 "build-unified-tree".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/160/builds/15073
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 5 (build-unified-tree) failure: build (failure)
...
46.752 [390/30/2306] Creating library symlink lib/libLLVMFrontendOffloading.so
46.755 [389/30/2307] Creating library symlink lib/libLLVMLinker.so
46.762 [389/29/2308] Linking CXX shared library lib/libLLVMHipStdPar.so.21.0git
46.762 [388/29/2309] Creating library symlink lib/libLLVMObjCARCOpts.so
46.780 [388/28/2310] Creating library symlink lib/libLLVMHipStdPar.so
46.812 [388/27/2311] Linking CXX shared library lib/libLLVMInstCombine.so.21.0git
46.827 [387/27/2312] Creating library symlink lib/libLLVMInstCombine.so
46.840 [386/27/2313] Linking CXX shared library lib/libLLVMInstrumentation.so.21.0git
46.867 [385/27/2314] Creating library symlink lib/libLLVMInstrumentation.so
46.872 [385/26/2315] Linking CXX executable bin/llvm-gpu-loader
FAILED: bin/llvm-gpu-loader
: && /usr/bin/c++ -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -fuse-ld=gold -Wl,--gc-sections tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.o tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/nvptx.cpp.o -o bin/llvm-gpu-loader -Wl,-rpath,"\$ORIGIN/../lib:/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/build/lib:" lib/libLLVMOption.so.21.0git lib/libLLVMFrontendOffloading.so.21.0git /usr/lib/x86_64-linux-gnu/libcuda.so lib/libLLVMObject.so.21.0git lib/libLLVMBinaryFormat.so.21.0git lib/libLLVMSupport.so.21.0git -Wl,-rpath-link,/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/build/lib && :
tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.o:llvm-gpu-loader.cpp:function main: error: undefined reference to 'llvm::Triple::getArchTypeName(llvm::Triple::ArchType)'
collect2: error: ld returned 1 exit status
46.895 [385/25/2316] Linking CXX shared library lib/libLLVMVectorize.so.21.0git
47.097 [385/24/2317] Linking CXX shared library lib/libLLVMScalarOpts.so.21.0git
47.222 [385/23/2318] Building NVPTXGenRegisterInfo.inc...
47.480 [385/22/2319] Building NVPTXGenSubtargetInfo.inc...
47.620 [385/21/2320] Building NVPTXGenAsmWriter.inc...
48.121 [385/20/2321] Building NVPTXGenInstrInfo.inc...
48.208 [385/19/2322] Building NVPTXGenDAGISel.inc...
48.590 [385/18/2323] Building X86GenCallingConv.inc...
49.222 [385/17/2324] Building X86GenMnemonicTables.inc...
49.433 [385/16/2325] Building X86GenAsmWriter.inc...
49.443 [385/15/2326] Building X86GenRegisterBank.inc...
49.486 [385/14/2327] Building X86GenInstrMapping.inc...
49.736 [385/13/2328] Building X86GenExegesis.inc...
49.841 [385/12/2329] Building X86GenRegisterInfo.inc...
49.875 [385/11/2330] Building X86GenAsmWriter1.inc...
50.073 [385/10/2331] Building X86GenAsmMatcher.inc...
50.463 [385/9/2332] Building X86GenFoldTables.inc...
50.944 [385/8/2333] Building X86GenDisassemblerTables.inc...
51.007 [385/7/2334] Building X86GenFastISel.inc...
51.986 [385/6/2335] Building X86GenGlobalISel.inc...
52.268 [385/5/2336] Building X86GenDAGISel.inc...
52.660 [385/4/2337] Building X86GenSubtargetInfo.inc...
53.823 [385/3/2338] Building X86GenInstrInfo.inc...
54.116 [385/2/2339] Building CXX object lib/LTO/CMakeFiles/LLVMLTO.dir/LTO.cpp.o
54.296 [385/1/2340] Building CXX object lib/CodeGen/AsmPrinter/CMakeFiles/LLVMAsmPrinter.dir/AsmPrinter.cpp.o
ninja: build stopped: subcommand failed.
```
</details>
https://github.com/llvm/llvm-project/pull/132096
More information about the llvm-commits
mailing list