[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:22:33 PDT 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-nvptx-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/180/builds/15070

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

```
Step 5 (build-unified-tree) failure: build (failure)
...
43.201 [349/17/2360] Creating library symlink lib/libLLVMAggressiveInstCombine.so
43.209 [349/16/2361] Creating library symlink lib/libLLVMObjCARCOpts.so
43.239 [349/15/2362] Building X86GenAsmWriter.inc...
43.273 [349/14/2363] Linking CXX shared library lib/libLLVMInstCombine.so.21.0git
43.275 [348/14/2364] Linking CXX shared library lib/libLLVMInstrumentation.so.21.0git
43.294 [347/14/2365] Creating library symlink lib/libLLVMInstCombine.so
43.295 [346/14/2366] Creating library symlink lib/libLLVMInstrumentation.so
43.371 [346/13/2367] Linking CXX shared library lib/libLLVMVectorize.so.21.0git
43.393 [345/13/2368] Creating library symlink lib/libLLVMVectorize.so
43.401 [345/12/2369] 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-nvptx-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-nvptx-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
43.415 [345/11/2370] Building X86GenAsmMatcher.inc...
43.424 [345/10/2371] Building X86GenFoldTables.inc...
43.548 [345/9/2372] Building X86GenDisassemblerTables.inc...
43.629 [345/8/2373] Linking CXX shared library lib/libLLVMScalarOpts.so.21.0git
44.619 [345/7/2374] Building X86GenFastISel.inc...
44.709 [345/6/2375] Building X86GenGlobalISel.inc...
45.442 [345/5/2376] Building X86GenSubtargetInfo.inc...
45.760 [345/4/2377] Building X86GenDAGISel.inc...
46.847 [345/3/2378] Building CXX object lib/CodeGen/AsmPrinter/CMakeFiles/LLVMAsmPrinter.dir/AsmPrinter.cpp.o
47.130 [345/2/2379] Building X86GenInstrInfo.inc...
48.591 [345/1/2380] Building CXX object lib/LTO/CMakeFiles/LLVMLTO.dir/LTO.cpp.o
ninja: build stopped: subcommand failed.

```

</details>

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


More information about the llvm-commits mailing list