[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 07:28:48 PST 2026
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `polly-x86_64-linux-shared` running on `polly-x86_64-gce2` while building `libc,llvm` at step 5 "build".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/97/builds/11519
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 5 (build) failure: 'ninja' (failure)
...
[4094/4636] Linking CXX static library lib/libLLVMExegesis_static.a
[4095/4636] Building CXX object tools/llvm-exegesis/lib/X86/CMakeFiles/obj.LLVMExegesisX86.dir/X86Counter.cpp.o
[4096/4636] Building CXX object tools/llvm-extract/CMakeFiles/llvm-extract.dir/llvm-extract.cpp.o
[4097/4636] Linking CXX shared library lib/libLLVMExegesis.so.23.0git
[4098/4636] Creating library symlink lib/libLLVMExegesis.so
[4099/4636] Linking CXX executable bin/llvm-extract
[4100/4636] Linking CXX static library lib/libLLVMExegesisX86_static.a
[4101/4636] Building CXX object tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.o
[4102/4636] Linking CXX shared library lib/libLLVMExegesisX86.so.23.0git
[4103/4636] 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-dangling-reference -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -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=lld -Wl,--color-diagnostics -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/worker/workers/polly-x86_64-gce2/polly-x86_64-linux-shared/llvm.obj/lib:" lib/libLLVMOption.so.23.0git lib/libLLVMObject.so.23.0git lib/libLLVMTargetParser.so.23.0git lib/libLLVMSupport.so.23.0git -Wl,-rpath-link,/home/worker/workers/polly-x86_64-gce2/polly-x86_64-linux-shared/llvm.obj/lib && :
ld.lld: error: undefined symbol: llvm::identify_magic(llvm::StringRef)
>>> referenced by llvm-gpu-loader.cpp
>>> tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.o:(main)
ld.lld: error: undefined symbol: llvm::ELF::convertEMachineToArchName(unsigned short)
>>> referenced by llvm-gpu-loader.cpp
>>> tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.o:(main)
collect2: error: ld returned 1 exit status
[4104/4636] Creating library symlink lib/libLLVMExegesisX86.so
ninja: build stopped: subcommand failed.
Cache directory: /home/worker/.cache/ccache
Config file: /home/worker/.config/ccache/ccache.conf
System config file: /etc/ccache.conf
Stats updated: Tue Feb 24 15:28:29 2026
Cacheable calls: 3227 / 3229 (99.94%)
Hits: 3227 / 3227 (100.0%)
Direct: 3227 / 3227 (100.0%)
Preprocessed: 0 / 3227 ( 0.00%)
Misses: 0 / 3227 ( 0.00%)
Uncacheable calls: 2 / 3229 ( 0.06%)
Unsupported code directive: 2 / 2 (100.0%)
Successful lookups:
Direct: 3227 / 3229 (99.94%)
Preprocessed: 0
Local storage:
Cache size (GiB): 5.0 / 5.0 (100.0%)
Files: 90822
Hits: 3227 / 3227 (100.0%)
Misses: 0 / 3227 ( 0.00%)
Reads: 6456
Writes: 0
```
</details>
https://github.com/llvm/llvm-project/pull/162739
More information about the libc-commits
mailing list