[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:26:16 PST 2026
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `polly-x86_64-linux-shared-plugin` 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/118/builds/11290
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 5 (build) failure: 'ninja' (failure)
...
[4267/4636] Building CXX object tools/llvm-profgen/CMakeFiles/llvm-profgen.dir/PerfReader.cpp.o
[4268/4636] Building CXX object tools/llvm-profgen/CMakeFiles/llvm-profgen.dir/CSPreInliner.cpp.o
[4269/4636] Building CXX object tools/llvm-profgen/CMakeFiles/llvm-profgen.dir/ProfiledBinary.cpp.o
[4270/4636] Building CXX object tools/llvm-profgen/CMakeFiles/llvm-profgen.dir/ProfileGenerator.cpp.o
[4271/4636] Building CXX object tools/llvm-profgen/CMakeFiles/llvm-profgen.dir/MissingFrameInferrer.cpp.o
[4272/4636] Linking CXX executable bin/llvm-profgen
[4273/4636] Building Opts.inc...
[4274/4636] Building WindresOpts.inc...
[4275/4636] Building CXX object tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.o
[4276/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-plugin/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-plugin/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
[4277/4636] Building CXX object tools/llvm-rc/CMakeFiles/llvm-rc.dir/llvm-rc.cpp.o
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:25:56 2026
Cacheable calls: 3322 / 3324 (99.94%)
Hits: 3318 / 3322 (99.88%)
Direct: 3317 / 3318 (99.97%)
Preprocessed: 1 / 3318 ( 0.03%)
Misses: 4 / 3322 ( 0.12%)
Uncacheable calls: 2 / 3324 ( 0.06%)
Unsupported code directive: 2 / 2 (100.0%)
Successful lookups:
Direct: 3317 / 3324 (99.79%)
Preprocessed: 1 / 5 (20.00%)
Local storage:
Cache size (GiB): 5.0 / 5.0 (100.0%)
Files: 90822
Hits: 3318 / 3322 (99.88%)
Misses: 4 / 3322 ( 0.12%)
Reads: 6646
Writes: 9
```
</details>
https://github.com/llvm/llvm-project/pull/162739
More information about the libc-commits
mailing list