[libc-commits] [libc] [llvm] [LLVM] Port 'llvm-gpu-loader' to use LLVMOffload (PR #162739)
LLVM Continuous Integration via libc-commits
libc-commits at lists.llvm.org
Tue Feb 24 06:51:01 PST 2026
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `amdgpu-offload-rhel-8-cmake-build-only` running on `rocm-docker-rhel-8` while building `libc,llvm` at step 4 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/204/builds/37141
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 4 (annotate) failure: '../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py --jobs=32' (failure)
...
[7472/8507] Linking CXX executable bin/f18-parse-demo
[7473/8507] Linking CXX executable bin/clang-installapi
[7474/8507] Linking CXX shared library lib/libclangTransformer.so.23.0git
[7475/8507] Creating library symlink lib/libclangTransformer.so
[7476/8507] Linking CXX shared library lib/libclangStaticAnalyzerCore.so.23.0git
[7477/8507] Creating library symlink lib/libclangStaticAnalyzerCore.so
[7478/8507] Linking CXX shared library lib/libclangCodeGen.so.23.0git
[7479/8507] Creating library symlink lib/libclangCodeGen.so
[7480/8507] Building CXX object tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.o
[7481/8507] 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-array-bounds -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -Wl,-rpath-link,/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/build/./lib -Wl,--gc-sections tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.o -o bin/llvm-gpu-loader -Wl,-rpath,"\$ORIGIN/../lib:/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/build/lib:" lib/libLLVMOption.so.23.0git lib/libLLVMObject.so.23.0git -lpthread lib/libLLVMTargetParser.so.23.0git lib/libLLVMSupport.so.23.0git -Wl,-rpath-link,/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/build/lib && :
/usr/bin/ld: tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.o: undefined reference to symbol '_ZN4llvm3ELF25convertEMachineToArchNameEt'
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/build/./lib/libLLVMBinaryFormat.so.23.0git: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
[7482/8507] Linking CXX executable bin/clang-import-test
[7483/8507] Linking CXX shared library lib/libclangStaticAnalyzerCheckers.so.23.0git
[7484/8507] Building AMDGPUGenAsmMatcher.inc...
[7485/8507] Linking CXX shared library lib/libFortranEvaluate.so.23.0git
[7486/8507] Building AMDGPUGenRegisterInfo.inc...
[7487/8507] Building AMDGPUGenRegisterBank.inc...
ninja: build stopped: subcommand failed.
['ninja'] exited with return code 1.
The build step threw an exception...
Traceback (most recent call last):
File "../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py", line 62, in step
yield
File "../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py", line 53, in main
run_command(["ninja"])
File "../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py", line 75, in run_command
util.report_run_cmd(cmd, cwd=directory)
File "/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-zorg/zorg/buildbot/builders/annotated/util.py", line 49, in report_run_cmd
subprocess.check_call(cmd, shell=shell, *args, **kwargs)
File "/usr/lib64/python3.8/subprocess.py", line 364, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['ninja']' returned non-zero exit status 1.
@@@STEP_FAILURE@@@
Step 7 (build cmake config) failure: build cmake config (failure)
...
[7472/8507] Linking CXX executable bin/f18-parse-demo
[7473/8507] Linking CXX executable bin/clang-installapi
[7474/8507] Linking CXX shared library lib/libclangTransformer.so.23.0git
[7475/8507] Creating library symlink lib/libclangTransformer.so
[7476/8507] Linking CXX shared library lib/libclangStaticAnalyzerCore.so.23.0git
[7477/8507] Creating library symlink lib/libclangStaticAnalyzerCore.so
[7478/8507] Linking CXX shared library lib/libclangCodeGen.so.23.0git
[7479/8507] Creating library symlink lib/libclangCodeGen.so
[7480/8507] Building CXX object tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.o
[7481/8507] 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-array-bounds -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -Wl,-rpath-link,/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/build/./lib -Wl,--gc-sections tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.o -o bin/llvm-gpu-loader -Wl,-rpath,"\$ORIGIN/../lib:/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/build/lib:" lib/libLLVMOption.so.23.0git lib/libLLVMObject.so.23.0git -lpthread lib/libLLVMTargetParser.so.23.0git lib/libLLVMSupport.so.23.0git -Wl,-rpath-link,/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/build/lib && :
/usr/bin/ld: tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.o: undefined reference to symbol '_ZN4llvm3ELF25convertEMachineToArchNameEt'
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/build/./lib/libLLVMBinaryFormat.so.23.0git: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
[7482/8507] Linking CXX executable bin/clang-import-test
[7483/8507] Linking CXX shared library lib/libclangStaticAnalyzerCheckers.so.23.0git
[7484/8507] Building AMDGPUGenAsmMatcher.inc...
[7485/8507] Linking CXX shared library lib/libFortranEvaluate.so.23.0git
[7486/8507] Building AMDGPUGenRegisterInfo.inc...
[7487/8507] Building AMDGPUGenRegisterBank.inc...
ninja: build stopped: subcommand failed.
['ninja'] exited with return code 1.
The build step threw an exception...
Traceback (most recent call last):
File "../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py", line 62, in step
yield
File "../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py", line 53, in main
run_command(["ninja"])
File "../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py", line 75, in run_command
util.report_run_cmd(cmd, cwd=directory)
File "/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-zorg/zorg/buildbot/builders/annotated/util.py", line 49, in report_run_cmd
subprocess.check_call(cmd, shell=shell, *args, **kwargs)
File "/usr/lib64/python3.8/subprocess.py", line 364, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['ninja']' returned non-zero exit status 1.
program finished with exit code 0
elapsedTime=62.572617
```
</details>
https://github.com/llvm/llvm-project/pull/162739
More information about the libc-commits
mailing list