Skip to content

try building offload in ci#153203

Open
ZuseZ4 wants to merge 1 commit intorust-lang:mainfrom
ZuseZ4:offload-ci-try
Open

try building offload in ci#153203
ZuseZ4 wants to merge 1 commit intorust-lang:mainfrom
ZuseZ4:offload-ci-try

Conversation

@ZuseZ4
Copy link
Member

@ZuseZ4 ZuseZ4 commented Feb 27, 2026

Link to a previously working build (on llvm-21): #148671 (comment)

r? @jieyouxu (for now just testing, but once working I'll want to merge it with or without libc-for-gpu based on how the other pr goes)

@rustbot rustbot added A-CI Area: Our Github Actions CI A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue. labels Feb 27, 2026
@ZuseZ4
Copy link
Member Author

ZuseZ4 commented Feb 27, 2026

@bors try jobs=dist-x86_64-linux

@rust-bors

This comment has been minimized.

rust-bors bot pushed a commit that referenced this pull request Feb 27, 2026
try building offload in ci


try-job: dist-x86_64-linux
@rust-log-analyzer
Copy link
Collaborator

The job dist-x86_64-linux failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)
/dev/nvme0n1p1  372G  138G  235G  38% /etc/hosts
shm             512M     0  512M   0% /dev/shm
================================================================================

Sufficient disk space available (245382040KB >= 52428800KB). Skipping cleanup.
##[group]Run src/ci/scripts/setup-environment.sh
src/ci/scripts/setup-environment.sh
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
---
sccache: Listening on address 127.0.0.1:4226
##[group]Configure the build
configure: processing command line
configure: 
configure: build.configure-args := ['--enable-full-tools', '--enable-sanitizers', '--enable-profiler', '--enable-compiler-docs', '--set', 'target.x86_64-unknown-linux-gnu.linker=clang', '--set', 'target.x86_64-unknown-linux-gnu.ar=/rustroot/bin/llvm-ar', '--set', 'target.x86_64-unknown-linux-gnu.ranlib=/rustroot/bin/llvm-ranlib', '--set', 'llvm.thin-lto=true', '--set', 'llvm.ninja=false', '--set', 'llvm.offload=true', '--set', 'llvm.offload-clang-dir=/rustroot/lib/cmake/clang', '--set', 'llvm.libzstd=true', '--set', 'rust.jemalloc', '--set', 'rust.bootstrap-override-lld=true', '--set', 'rust.lto=thin', '--set', 'rust.codegen-units=1', '--set', 'build.print-step-timings', '--enable-verbose-tests', '--set', 'build.metrics', '--enable-verbose-configure', '--enable-sccache', '--disable-manage-submodules', '--enable-locked-deps', '--enable-cargo-native-static', '--set', 'rust.codegen-units-std=1', '--set', 'dist.compression-profile=balanced', '--dist-compression-formats=xz', '--set', 'rust.lld=true', '--set', 'build.optimized-compiler-builtins', '--release-channel=nightly', '--enable-llvm-static-stdcpp', '--debuginfo-level-std=1', '--set', 'rust.codegen-backends=llvm,cranelift']
configure: rust.codegen-backends := ['llvm']
configure: rust.lld             := True
configure: rust.llvm-tools      := True
configure: rust.llvm-bitcode-linker := True
configure: build.extended       := True
---

# Arguments passed to the `./configure` script, used during distcheck. You
# probably won't fill this in but rather it's filled in by the `./configure`
# script. Useful for debugging.
configure-args = ['--enable-full-tools', '--enable-sanitizers', '--enable-profiler', '--enable-compiler-docs', '--set', 'target.x86_64-unknown-linux-gnu.linker=clang', '--set', 'target.x86_64-unknown-linux-gnu.ar=/rustroot/bin/llvm-ar', '--set', 'target.x86_64-unknown-linux-gnu.ranlib=/rustroot/bin/llvm-ranlib', '--set', 'llvm.thin-lto=true', '--set', 'llvm.ninja=false', '--set', 'llvm.offload=true', '--set', 'llvm.offload-clang-dir=/rustroot/lib/cmake/clang', '--set', 'llvm.libzstd=true', '--set', 'rust.jemalloc', '--set', 'rust.bootstrap-override-lld=true', '--set', 'rust.lto=thin', '--set', 'rust.codegen-units=1', '--set', 'build.print-step-timings', '--enable-verbose-tests', '--set', 'build.metrics', '--enable-verbose-configure', '--enable-sccache', '--disable-manage-submodules', '--enable-locked-deps', '--enable-cargo-native-static', '--set', 'rust.codegen-units-std=1', '--set', 'dist.compression-profile=balanced', '--dist-compression-formats=xz', '--set', 'rust.lld=true', '--set', 'build.optimized-compiler-builtins', '--release-channel=nightly', '--enable-llvm-static-stdcpp', '--debuginfo-level-std=1', '--set', 'rust.codegen-backends=llvm,cranelift']

# Print out how long each bootstrap step took (mostly intended for CI and
# tracking over time)
print-step-timings = true

---
[  7%] Linking CXX static library ../libLLVMSupport.a
[  7%] Built target LLVMSupport
[  7%] Building CXX object lib/FileCheck/CMakeFiles/LLVMFileCheck.dir/FileCheck.cpp.o
[  7%] Building CXX object lib/Bitstream/Reader/CMakeFiles/LLVMBitstreamReader.dir/BitstreamReader.cpp.o
[  7%] Building CXX object lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/Transport.cpp.o
[  7%] Building CXX object lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/Protocol.cpp.o
[  7%] Building CXX object lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/Logging.cpp.o
[  8%] Building CXX object lib/TableGen/CMakeFiles/LLVMTableGen.dir/JSONBackend.cpp.o
[  8%] Building CXX object lib/TableGen/CMakeFiles/LLVMTableGen.dir/Error.cpp.o
[  8%] Building CXX object lib/TableGen/CMakeFiles/LLVMTableGen.dir/DetailedRecordsBackend.cpp.o
[  8%] Building CXX object lib/TableGen/CMakeFiles/LLVMTableGen.dir/Main.cpp.o
[  8%] Building CXX object lib/Extensions/CMakeFiles/LLVMExtensions.dir/Extensions.cpp.o
---
[  8%] Building CXX object lib/Frontend/Directive/CMakeFiles/LLVMFrontendDirective.dir/Spelling.cpp.o
[  8%] Building CXX object lib/Plugins/CMakeFiles/LLVMPlugins.dir/PassPlugin.cpp.o
[  8%] Building CXX object lib/LineEditor/CMakeFiles/LLVMLineEditor.dir/LineEditor.cpp.o
[  8%] Building CXX object lib/WindowsManifest/CMakeFiles/LLVMWindowsManifest.dir/WindowsManifestMerger.cpp.o
[  8%] Building CXX object lib/CAS/CMakeFiles/LLVMCAS.dir/BuiltinUnifiedCASDatabases.cpp.o
[  8%] Building CXX object lib/Option/CMakeFiles/LLVMOption.dir/Arg.cpp.o
[  8%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/CodeViewError.cpp.o
[  8%] Building CXX object lib/Telemetry/CMakeFiles/LLVMTelemetry.dir/Telemetry.cpp.o
[  8%] Building CXX object lib/TableGen/CMakeFiles/LLVMTableGen.dir/SetTheory.cpp.o
[  8%] Building C object utils/count/CMakeFiles/count.dir/count.c.o
---
[  8%] Linking CXX static library ../libLLVMPlugins.a
[  8%] Building CXX object lib/CAS/CMakeFiles/LLVMCAS.dir/MappedFileRegionArena.cpp.o
[  8%] Linking CXX static library ../libLLVMWindowsManifest.a
[  8%] Built target count
[  8%] Building CXX object lib/CAS/CMakeFiles/LLVMCAS.dir/ObjectStore.cpp.o
[  8%] Building CXX object lib/CAS/CMakeFiles/LLVMCAS.dir/OnDiskCAS.cpp.o
[  8%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/CodeViewRecordIO.cpp.o
[  8%] Linking CXX static library ../../libLLVMBitstreamReader.a
[  8%] Linking CXX static library ../libLLVMTelemetry.a
[  8%] Built target LLVMPlugins
[  8%] Built target LLVMFrontendDirective
[  8%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/ContinuationRecordBuilder.cpp.o
[  8%] Built target LLVMWindowsManifest
[  8%] Linking CXX static library ../../libLLVMDebugInfoMSF.a
[  8%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/CVSymbolVisitor.cpp.o
[  8%] Building CXX object lib/CAS/CMakeFiles/LLVMCAS.dir/OnDiskCommon.cpp.o
[  8%] Building CXX object lib/Option/CMakeFiles/LLVMOption.dir/ArgList.cpp.o
[  8%] Linking CXX executable ../../bin/not
[  8%] Built target LLVMBitstreamReader
[  8%] Building CXX object lib/Option/CMakeFiles/LLVMOption.dir/Option.cpp.o
[  8%] Building CXX object lib/Option/CMakeFiles/LLVMOption.dir/OptTable.cpp.o
---
[  8%] Linking CXX static library ../libLLVMFileCheck.a
[  8%] Linking CXX executable ../../bin/UnicodeNameMappingGenerator
[  8%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/DebugCrossExSubsection.cpp.o
[  8%] Building CXX object lib/TableGen/CMakeFiles/LLVMTableGen.dir/TGLexer.cpp.o
[  8%] Building CXX object lib/CAS/CMakeFiles/LLVMCAS.dir/OnDiskGraphDB.cpp.o
[  8%] Building CXX object lib/CAS/CMakeFiles/LLVMCAS.dir/OnDiskDataAllocator.cpp.o
[  8%] Linking CXX static library ../libLLVMLineEditor.a
[  8%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/DebugFrameDataSubsection.cpp.o
[  8%] Building CXX object lib/TableGen/CMakeFiles/LLVMTableGen.dir/TGParser.cpp.o
[  8%] Building CXX object lib/TableGen/CMakeFiles/LLVMTableGen.dir/TGTimer.cpp.o
[  8%] Building CXX object lib/CAS/CMakeFiles/LLVMCAS.dir/OnDiskKeyValueDB.cpp.o
[  8%] Building CXX object lib/CAS/CMakeFiles/LLVMCAS.dir/OnDiskTrieRawHashMap.cpp.o
[  8%] Linking CXX executable ../../bin/split-file
[  8%] Linking CXX executable ../../bin/yaml-bench
[  8%] Linking CXX static library ../../libLLVMSupportLSP.a
[  8%] Built target LLVMFileCheck
[  8%] Built target LLVMLineEditor
[  8%] Building CXX object lib/CAS/CMakeFiles/LLVMCAS.dir/UnifiedOnDiskCache.cpp.o
[  8%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/DebugLinesSubsection.cpp.o
[  8%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/DebugInlineeLinesSubsection.cpp.o
[  8%] Built target not
[  8%] Built target LLVMSupportLSP
[  8%] Building CXX object utils/FileCheck/CMakeFiles/FileCheck.dir/FileCheck.cpp.o
---
[ 79%] Building CXX object lib/Target/AArch64/CMakeFiles/LLVMAArch64CodeGen.dir/GISel/AArch64PostLegalizerCombiner.cpp.o
[ 79%] Building CXX object lib/Target/AArch64/CMakeFiles/LLVMAArch64CodeGen.dir/GISel/AArch64PostLegalizerLowering.cpp.o
[ 80%] Building CXX object lib/ExecutionEngine/Orc/CMakeFiles/LLVMOrcJIT.dir/EPCGenericRTDyldMemoryManager.cpp.o
[ 80%] Building CXX object lib/Target/X86/CMakeFiles/LLVMX86CodeGen.dir/X86FastISel.cpp.o
[ 80%] Building CXX object lib/DTLTO/CMakeFiles/LLVMDTLTO.dir/DTLTO.cpp.o
[ 80%] Building CXX object lib/ExecutionEngine/Orc/CMakeFiles/LLVMOrcJIT.dir/ExecutionUtils.cpp.o
[ 80%] Building CXX object lib/ExecutionEngine/Orc/CMakeFiles/LLVMOrcJIT.dir/EPCIndirectionUtils.cpp.o
[ 80%] Building CXX object lib/ExecutionEngine/Orc/CMakeFiles/LLVMOrcJIT.dir/ExecutorResolutionGenerator.cpp.o
[ 80%] Building CXX object lib/ExecutionEngine/Orc/CMakeFiles/LLVMOrcJIT.dir/ObjectFileInterface.cpp.o
[ 80%] Building CXX object lib/ExecutionEngine/Orc/CMakeFiles/LLVMOrcJIT.dir/IndirectionUtils.cpp.o
---
[ 82%] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVVectorPeephole.cpp.o
[ 82%] Building CXX object lib/ExecutionEngine/Orc/CMakeFiles/LLVMOrcJIT.dir/ReOptimizeLayer.cpp.o
[ 82%] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVVLOptimizer.cpp.o
[ 82%] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVVMV0Elimination.cpp.o
[ 82%] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVVSETVLIInfoAnalysis.cpp.o
[ 82%] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVZacasABIFix.cpp.o
[ 82%] Building CXX object lib/Target/X86/CMakeFiles/LLVMX86CodeGen.dir/X86MacroFusion.cpp.o
[ 82%] Building CXX object lib/Target/X86/CMakeFiles/LLVMX86CodeGen.dir/X86OptimizeLEAs.cpp.o
[ 82%] Building CXX object lib/Target/X86/CMakeFiles/LLVMX86CodeGen.dir/X86PadShortFunction.cpp.o
[ 82%] Building CXX object lib/Target/AArch64/CMakeFiles/LLVMAArch64CodeGen.dir/AArch64CompressJumpTables.cpp.o
[ 82%] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVZilsdOptimizer.cpp.o
[ 82%] Building CXX object lib/Target/AArch64/CMakeFiles/LLVMAArch64CodeGen.dir/AArch64ConditionOptimizer.cpp.o
[ 83%] Building CXX object lib/Target/AArch64/CMakeFiles/LLVMAArch64CodeGen.dir/AArch64RedundantCopyElimination.cpp.o
[ 83%] Building CXX object lib/Target/X86/CMakeFiles/LLVMX86CodeGen.dir/X86PartialReduction.cpp.o
[ 83%] Building CXX object lib/Target/X86/CMakeFiles/LLVMX86CodeGen.dir/X86RegisterInfo.cpp.o
[ 83%] Building CXX object lib/Target/X86/CMakeFiles/LLVMX86CodeGen.dir/X86ReturnThunks.cpp.o
---
[ 87%] Linking CXX static library ../../../libLLVMAMDGPUTargetMCA.a
[ 87%] Building CXX object lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/AMDGPUMemoryUtils.cpp.o
[ 87%] Built target LLVMAMDGPUTargetMCA
[ 87%] Building CXX object lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/AMDGPUIGroupLP.cpp.o
[ 87%] Building CXX object lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/AMDGPULowerVGPREncoding.cpp.o
[ 87%] Building CXX object lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/AMDGPUMCResourceInfo.cpp.o
[ 87%] Building CXX object lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/AMDGPUMarkLastScratchLoad.cpp.o
[ 87%] Building CXX object lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/AMDGPUMIRFormatter.cpp.o
[ 87%] Building CXX object lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/AMDGPUPerfHintAnalysis.cpp.o
[ 87%] Building CXX object lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/AMDGPUPostLegalizerCombiner.cpp.o
---
[ 92%] Linking CXX static library ../../../lib/libLLVMCFIVerify.a
[ 92%] Building CXX object tools/llvm-dwarfutil/CMakeFiles/llvm-dwarfutil.dir/DebugInfoLinker.cpp.o
[ 92%] Built target llvm-cas
[ 92%] Linking CXX executable ../../bin/dsymutil
[ 92%] Building CXX object tools/llvm-ir2vec/CMakeFiles/llvm-ir2vec.dir/llvm-ir2vec.cpp.o
[ 92%] Built target llvm-bcanalyzer
[ 92%] Building CXX object tools/llvm-isel-fuzzer/CMakeFiles/llvm-isel-fuzzer.dir/DummyISelFuzzer.cpp.o
[ 92%] Built target LLVMCFIVerify
[ 92%] Building CXX object tools/llvm-isel-fuzzer/CMakeFiles/llvm-isel-fuzzer.dir/llvm-isel-fuzzer.cpp.o
[ 92%] Building CXX object tools/llvm-itanium-demangle-fuzzer/CMakeFiles/llvm-itanium-demangle-fuzzer.dir/DummyDemanglerFuzzer.cpp.o
---
[100%] Linking CXX executable ../../bin/llvm-profdata
[100%] Linking CXX executable ../../bin/opt
[100%] Building CXX object tools/llvm-reduce/CMakeFiles/llvm-reduce.dir/deltas/ReduceRegisterDefs.cpp.o
[100%] Building CXX object tools/llvm-reduce/CMakeFiles/llvm-reduce.dir/deltas/ReduceRegisterUses.cpp.o
[100%] Building CXX object tools/llvm-reduce/CMakeFiles/llvm-reduce.dir/deltas/ReduceSinkDefsToUses.cpp.o
[100%] Building CXX object tools/llvm-reduce/CMakeFiles/llvm-reduce.dir/deltas/ReduceTargetFeaturesAttr.cpp.o
[100%] Building CXX object tools/llvm-reduce/CMakeFiles/llvm-reduce.dir/deltas/ReduceUsingSimplifyCFG.cpp.o
[100%] Building CXX object tools/llvm-reduce/CMakeFiles/llvm-reduce.dir/deltas/RunIRPasses.cpp.o
[100%] Building CXX object tools/llvm-reduce/CMakeFiles/llvm-reduce.dir/deltas/SimplifyInstructions.cpp.o
[100%] Built target verify-uselistorder
---
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/Bitstream/BitCodes.h
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/Bitstream/BitstreamReader.h
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/Bitstream/BitstreamWriter.h
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/CAS
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/CAS/ActionCache.h
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/CAS/BuiltinCASContext.h
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/CAS/BuiltinObjectHasher.h
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/CAS/BuiltinUnifiedCASDatabases.h
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/CAS/CASID.h
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/CAS/CASReference.h
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/CAS/FileOffset.h
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/CAS/MappedFileRegionArena.h
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/CAS/ObjectStore.h
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/CAS/OnDiskDataAllocator.h
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/CAS/OnDiskGraphDB.h
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/CAS/OnDiskKeyValueDB.h
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/CAS/OnDiskTrieRawHashMap.h
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/CAS/UnifiedOnDiskCache.h
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/CGData
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/CGData/CGDataPatchItem.h
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/CGData/CodeGenData.h
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/CGData/CodeGenData.inc
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/CGData/CodeGenDataReader.h
---
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/CodeGenTypes
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/CodeGenTypes/LowLevelType.h
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/CodeGenTypes/MachineValueType.h
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/Config
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/DTLTO
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/DTLTO/DTLTO.h
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/DWARFCFIChecker
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/DWARFCFIChecker/DWARFCFIAnalysis.h
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/DWARFCFIChecker/DWARFCFIFunctionFrameAnalyzer.h
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/DWARFCFIChecker/DWARFCFIFunctionFrameReceiver.h
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include/llvm/DWARFCFIChecker/DWARFCFIFunctionFrameStreamer.h
---
CMAKE_x86_64-unknown-linux-gnu = None
CMAKE_x86_64_unknown_linux_gnu = None
HOST_CMAKE = None
CMAKE = None
running: cd "/checkout/obj/build/x86_64-unknown-linux-gnu/offload/build" && CMAKE_PREFIX_PATH="" DESTDIR="" LC_ALL="C" LLVM_CONFIG_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/llvm/bin/llvm-config" "cmake" "/checkout/src/llvm-project/runtimes/" "-DCMAKE_INSTALL_MESSAGE=LAZY" "-DCMAKE_C_COMPILER_LAUNCHER=sccache" "-DCMAKE_CXX_COMPILER_LAUNCHER=sccache" "-DCMAKE_C_COMPILER=clang" "-DCMAKE_CXX_COMPILER=clang++" "-DCMAKE_ASM_COMPILER=clang" "-DCMAKE_C_FLAGS=  -I /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include -ffunction-sections -fdata-sections -fPIC -m64 --target=x86_64-unknown-linux-gnu -fdebug-prefix-map=/checkout=/rustc/llvm" "-DCMAKE_CXX_FLAGS=  -I /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include -ffunction-sections -fdata-sections -fPIC -m64 --target=x86_64-unknown-linux-gnu -fdebug-prefix-map=/checkout=/rustc/llvm" "-DCMAKE_AR=/rustroot/bin/llvm-ar" "-DCMAKE_RANLIB=/rustroot/bin/llvm-ranlib" "-DCMAKE_SHARED_LINKER_FLAGS= -Wl,-Bsymbolic -static-libstdc++" "-DCMAKE_MODULE_LINKER_FLAGS= -Wl,-Bsymbolic -static-libstdc++" "-DCMAKE_EXE_LINKER_FLAGS= -Wl,-Bsymbolic -static-libstdc++" "-DLLVM_ENABLE_ASSERTIONS=ON" "-DLLVM_INCLUDE_TESTS=OFF" "-DOFFLOAD_INCLUDE_TESTS=OFF" "-DLLVM_ROOT=/checkout/obj/build/x86_64-unknown-linux-gnu/llvm/build" "-DLLVM_DIR=/checkout/obj/build/x86_64-unknown-linux-gnu/llvm/lib/cmake/llvm" "-DLLVM_DEFAULT_TARGET_TRIPLE=x86_64-unknown-linux-gnu" "-DClang_DIR=/rustroot/lib/cmake/clang" "-DLLVM_ENABLE_RUNTIMES=openmp;offload" "-DCMAKE_INSTALL_PREFIX=/checkout/obj/build/x86_64-unknown-linux-gnu/offload" "-DCMAKE_ASM_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64 --target=x86_64-unknown-linux-gnu" "-DCMAKE_BUILD_TYPE=Release"
-- Performing standalone runtimes build.
-- The C compiler identification is Clang 22.1.0
-- The CXX compiler identification is Clang 22.1.0
-- The ASM compiler identification is Clang
-- Found assembler: /rustroot/bin/clang
---
-- Looking for flock - found
-- Found Python3: /usr/bin/python3.6 (found version "3.6.8") found components: Interpreter 
-- LLVM host triple: x86_64-unknown-linux-gnu
-- LLVM default target triple: x86_64-unknown-linux-gnu
-- Performing Test OPENMP_HAVE_ONEAPI_COMPILER
-- Performing Test OPENMP_HAVE_ONEAPI_COMPILER - Failed
-- Performing Test OPENMP_HAVE_WALL_FLAG
-- Performing Test OPENMP_HAVE_WALL_FLAG - Success
-- Performing Test OPENMP_HAVE_WERROR_FLAG
-- Performing Test OPENMP_HAVE_WERROR_FLAG - Success
-- Performing Test OPENMP_HAVE_COLOR_DIAGNOSTICS
-- Performing Test OPENMP_HAVE_COLOR_DIAGNOSTICS - Success
-- Performing Test OPENMP_HAVE_WCAST_QUAL_FLAG
-- Performing Test OPENMP_HAVE_WCAST_QUAL_FLAG - Success
-- Performing Test OPENMP_HAVE_WFORMAT_PEDANTIC_FLAG
-- Performing Test OPENMP_HAVE_WFORMAT_PEDANTIC_FLAG - Success
-- Performing Test OPENMP_HAVE_WIMPLICIT_FALLTHROUGH_FLAG
-- Performing Test OPENMP_HAVE_WIMPLICIT_FALLTHROUGH_FLAG - Success
-- Performing Test OPENMP_HAVE_WSIGN_COMPARE_FLAG
-- Performing Test OPENMP_HAVE_WSIGN_COMPARE_FLAG - Success
-- Performing Test OPENMP_HAVE_WEXTRA_FLAG
-- Performing Test OPENMP_HAVE_WEXTRA_FLAG - Success
-- Performing Test OPENMP_HAVE_WPEDANTIC_FLAG
-- Performing Test OPENMP_HAVE_WPEDANTIC_FLAG - Success
-- Performing Test OPENMP_HAVE_WMAYBE_UNINITIALIZED_FLAG
-- Performing Test OPENMP_HAVE_WMAYBE_UNINITIALIZED_FLAG - Success
-- Performing Test OPENMP_HAVE_NO_SEMANTIC_INTERPOSITION
-- Performing Test OPENMP_HAVE_NO_SEMANTIC_INTERPOSITION - Success
-- Performing Test OPENMP_HAVE_FUNCTION_SECTIONS
-- Performing Test OPENMP_HAVE_FUNCTION_SECTIONS - Failed
-- Performing Test OPENMP_HAVE_DATA_SECTIONS
-- Performing Test OPENMP_HAVE_DATA_SECTIONS - Success
-- Performing Test LIBOMP_HAVE_FNO_EXCEPTIONS_FLAG
-- Performing Test LIBOMP_HAVE_FNO_EXCEPTIONS_FLAG - Success
-- Performing Test LIBOMP_HAVE_FNO_RTTI_FLAG
-- Performing Test LIBOMP_HAVE_FNO_RTTI_FLAG - Success
-- Performing Test LIBOMP_HAVE_WCLASS_MEMACCESS_FLAG
-- Performing Test LIBOMP_HAVE_WCLASS_MEMACCESS_FLAG - Success
-- Performing Test LIBOMP_HAVE_WCOVERED_SWITCH_DEFAULT_FLAG
-- Performing Test LIBOMP_HAVE_WCOVERED_SWITCH_DEFAULT_FLAG - Success
-- Performing Test LIBOMP_HAVE_WFRAME_ADDRESS_FLAG
-- Performing Test LIBOMP_HAVE_WFRAME_ADDRESS_FLAG - Success
-- Performing Test LIBOMP_HAVE_WSTRICT_ALIASING_FLAG
-- Performing Test LIBOMP_HAVE_WSTRICT_ALIASING_FLAG - Success
-- Performing Test LIBOMP_HAVE_WSTRINGOP_OVERFLOW_FLAG
-- Performing Test LIBOMP_HAVE_WSTRINGOP_OVERFLOW_FLAG - Success
-- Performing Test LIBOMP_HAVE_WSTRINGOP_TRUNCATION_FLAG
-- Performing Test LIBOMP_HAVE_WSTRINGOP_TRUNCATION_FLAG - Success
-- Performing Test LIBOMP_HAVE_WSWITCH_FLAG
-- Performing Test LIBOMP_HAVE_WSWITCH_FLAG - Success
-- Performing Test LIBOMP_HAVE_WUNINITIALIZED_FLAG
-- Performing Test LIBOMP_HAVE_WUNINITIALIZED_FLAG - Success
-- Performing Test LIBOMP_HAVE_WRETURN_TYPE_C_LINKAGE_FLAG
-- Performing Test LIBOMP_HAVE_WRETURN_TYPE_C_LINKAGE_FLAG - Success
-- Performing Test LIBOMP_HAVE_WCAST_QUAL_FLAG
-- Performing Test LIBOMP_HAVE_WCAST_QUAL_FLAG - Success
-- Performing Test LIBOMP_HAVE_WINT_TO_VOID_POINTER_CAST_FLAG
-- Performing Test LIBOMP_HAVE_WINT_TO_VOID_POINTER_CAST_FLAG - Success
-- Performing Test LIBOMP_HAVE_MSSE2_FLAG
-- Performing Test LIBOMP_HAVE_MSSE2_FLAG - Success
-- Performing Test LIBOMP_HAVE_FTLS_MODEL_FLAG
-- Performing Test LIBOMP_HAVE_FTLS_MODEL_FLAG - Success
-- Performing Test LIBOMP_HAVE_MMIC_FLAG
-- Performing Test LIBOMP_HAVE_MMIC_FLAG - Failed
-- Performing Test LIBOMP_HAVE_M32_FLAG
-- Performing Test LIBOMP_HAVE_M32_FLAG - Failed
-- Looking for pthread_setname_np
-- Looking for pthread_setname_np - not found
-- Looking for pthread_set_name_np
-- Looking for pthread_set_name_np - not found
-- Looking for shm_open
-- Looking for shm_open - not found
-- Looking for shm_open
-- Looking for shm_open - found
-- Looking for xmmintrin.h
-- Looking for xmmintrin.h - found
-- Performing Test LIBOMP_HAVE__MM_MALLOC
-- Performing Test LIBOMP_HAVE__MM_MALLOC - Success
-- Looking for aligned_alloc
-- Looking for aligned_alloc - found
-- Looking for posix_memalign
-- Looking for posix_memalign - found
-- Looking for _aligned_malloc
-- Looking for _aligned_malloc - not found
-- Performing Test LIBOMP_HAVE_X_FLAG
-- Performing Test LIBOMP_HAVE_X_FLAG - Success
-- Performing Test LIBOMP_HAVE_AS_NEEDED_FLAG
-- Performing Test LIBOMP_HAVE_AS_NEEDED_FLAG - Success
-- Performing Test LIBOMP_HAVE_VERSION_SCRIPT_FLAG
-- Performing Test LIBOMP_HAVE_VERSION_SCRIPT_FLAG - Success
-- Performing Test LIBOMP_HAVE_STATIC_LIBGCC_FLAG
-- Performing Test LIBOMP_HAVE_STATIC_LIBGCC_FLAG - Success
-- Performing Test LIBOMP_HAVE_Z_NOEXECSTACK_FLAG
-- Performing Test LIBOMP_HAVE_Z_NOEXECSTACK_FLAG - Success
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Looking for immintrin.h
-- Looking for immintrin.h - found
-- Performing Test LIBOMP_HAVE_ATTRIBUTE_RTM
-- Performing Test LIBOMP_HAVE_ATTRIBUTE_RTM - Success
-- Performing Test LIBOMP_HAVE_ATTRIBUTE_WAITPKG
-- Performing Test LIBOMP_HAVE_ATTRIBUTE_WAITPKG - Success
-- Performing Test LIBOMP_HAVE_WAITPKG_INTRINSICS
-- Performing Test LIBOMP_HAVE_WAITPKG_INTRINSICS - Success
-- Performing Test LIBOMP_HAVE_RTM_INTRINSICS
-- Performing Test LIBOMP_HAVE_RTM_INTRINSICS - Success
-- Performing Test LIBOMP_HAVE_VERSION_SYMBOLS
-- Performing Test LIBOMP_HAVE_VERSION_SYMBOLS - Success
-- Performing Test LIBOMP_HAVE___BUILTIN_FRAME_ADDRESS
-- Performing Test LIBOMP_HAVE___BUILTIN_FRAME_ADDRESS - Success
-- Performing Test LIBOMP_HAVE_WEAK_ATTRIBUTE
-- Performing Test LIBOMP_HAVE_WEAK_ATTRIBUTE - Success
-- Performing Test LIBOMP_HAVE_PSAPI
-- Performing Test LIBOMP_HAVE_PSAPI - Failed
-- Looking for sqrt in m
-- Looking for sqrt in m - found
-- Looking for __atomic_load_1
-- Looking for __atomic_load_1 - not found
-- Looking for __atomic_load_1 in atomic
-- Looking for __atomic_load_1 in atomic - found
CMake Warning at /checkout/src/llvm-project/llvm/cmake/modules/AddLLVM.cmake:2048 (message):
---
-- Looking for __atomic_load_1
-- Looking for __atomic_load_1 - not found
-- Looking for __atomic_load_1 in atomic
-- Looking for __atomic_load_1 in atomic - found
-- Could NOT find Python3 (missing: Python3_INCLUDE_DIRS Python3_LIBRARIES Development Development.Module Development.Embed) (found version "3.6.8")
-- Using LLVM include directories: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include;/checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include
-- Performing Test OFFLOAD_HAVE_WERROR_CTOR
-- Performing Test OFFLOAD_HAVE_WERROR_CTOR - Success
-- Building the offload library with support for the "amdgpu;cuda;host" plugins
-- OMPT target enabled
-- OpenMP tools dir in libomptarget: /checkout/obj/build/x86_64-unknown-linux-gnu/offload/build/openmp/runtime/src
-- Building AMDGPU plugin for dlopened libhsa
-- Not generating AMDGPU tests, no supported devices detected. Use 'LIBOMPTARGET_FORCE_AMDGPU_TESTS' to override.
-- Building CUDA plugin for dlopened libcuda
-- Not generating NVIDIA tests, no supported devices detected. Use 'LIBOMPTARGET_FORCE_NVIDIA_TESTS' to override.
-- Building x86_64 plugin for dlopened libffi
-- Not generating x86_64 tests. LibFFI not found.
-- Building the llvm-offload-device-info tool
-- Building the llvm-omp-kernel-replay tool
-- Building offloading runtime library libomptarget.
CMake Warning at /checkout/src/llvm-project/offload/liboffload/API/CMakeLists.txt:39 (message):
  clang-format not found, the generated Offload API headers will not be
  formatted


-- Configuring done
-- Generating done
-- Build files have been written to: /checkout/obj/build/x86_64-unknown-linux-gnu/offload/build
running: cd "/checkout/obj/build/x86_64-unknown-linux-gnu/offload/build" && DESTDIR="" LC_ALL="C" LLVM_CONFIG_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/llvm/bin/llvm-config" "cmake" "--build" "/checkout/obj/build/x86_64-unknown-linux-gnu/offload/build" "--target" "install" "--config" "Release" "--" "-j" "36"
[  1%] Building CXX object openmp/tools/archer/CMakeFiles/archer.dir/ompt-tsan.cpp.o
[  1%] Built target intrinsics_gen
[  3%] Building CXX object offload/tools/offload-tblgen/CMakeFiles/offload-tblgen.dir/APIGen.cpp.o
[  3%] Building CXX object openmp/tools/archer/CMakeFiles/archer_static.dir/ompt-tsan.cpp.o
[  4%] Generating kmp_i18n_id.inc
[  5%] Building CXX object offload/tools/offload-tblgen/CMakeFiles/offload-tblgen.dir/offload-tblgen.cpp.o
[  7%] Building CXX object third-party/runtimes_gtest/CMakeFiles/runtimes_gtest.dir/googlemock/src/gmock-all.cc.o
[  7%] Building CXX object third-party/runtimes_gtest/CMakeFiles/runtimes_gtest.dir/googletest/src/gtest-all.cc.o
[ 10%] Building CXX object offload/tools/offload-tblgen/CMakeFiles/offload-tblgen.dir/DocGen.cpp.o
[  9%] Building CXX object offload/tools/offload-tblgen/CMakeFiles/offload-tblgen.dir/MiscGen.cpp.o
[ 10%] Building CXX object offload/tools/offload-tblgen/CMakeFiles/offload-tblgen.dir/EntryPointGen.cpp.o
[ 12%] Generating kmp_i18n_default.inc
[ 12%] Building CXX object offload/tools/offload-tblgen/CMakeFiles/offload-tblgen.dir/PrintGen.cpp.o
[ 12%] Built target libomp-needed-headers
Scanning dependencies of target obj.omp
[ 12%] Building CXX object openmp/runtime/src/CMakeFiles/obj.omp.dir/kmp_alloc.cpp.o
[ 13%] Building CXX object openmp/runtime/src/CMakeFiles/obj.omp.dir/kmp_atomic.cpp.o
[ 13%] Building CXX object openmp/runtime/src/CMakeFiles/obj.omp.dir/kmp_environment.cpp.o
[ 14%] Building CXX object openmp/runtime/src/CMakeFiles/obj.omp.dir/kmp_global.cpp.o
[ 15%] Building CXX object openmp/runtime/src/CMakeFiles/obj.omp.dir/kmp_io.cpp.o
[ 15%] Building CXX object openmp/runtime/src/CMakeFiles/obj.omp.dir/kmp_runtime.cpp.o
[ 18%] Building CXX object openmp/runtime/src/CMakeFiles/obj.omp.dir/kmp_csupport.cpp.o
[ 18%] Building CXX object openmp/runtime/src/CMakeFiles/obj.omp.dir/kmp_i18n.cpp.o
[ 19%] Building CXX object openmp/runtime/src/CMakeFiles/obj.omp.dir/kmp_debug.cpp.o
[ 20%] Building CXX object openmp/runtime/src/CMakeFiles/obj.omp.dir/kmp_itt.cpp.o
[ 21%] Building CXX object openmp/runtime/src/CMakeFiles/obj.omp.dir/kmp_error.cpp.o
[ 22%] Building CXX object openmp/runtime/src/CMakeFiles/obj.omp.dir/kmp_str.cpp.o
[ 23%] Building CXX object openmp/runtime/src/CMakeFiles/obj.omp.dir/kmp_settings.cpp.o
[ 25%] Building CXX object openmp/runtime/src/CMakeFiles/obj.omp.dir/kmp_threadprivate.cpp.o
[ 26%] Building CXX object openmp/runtime/src/CMakeFiles/obj.omp.dir/kmp_tasking.cpp.o
[ 27%] Building CXX object openmp/runtime/src/CMakeFiles/obj.omp.dir/kmp_utility.cpp.o
[ 27%] Building CXX object openmp/runtime/src/CMakeFiles/obj.omp.dir/kmp_barrier.cpp.o
[ 28%] Building CXX object openmp/runtime/src/CMakeFiles/obj.omp.dir/kmp_wait_release.cpp.o
[ 29%] Building CXX object openmp/runtime/src/CMakeFiles/obj.omp.dir/kmp_affinity.cpp.o
[ 30%] Building CXX object openmp/runtime/src/CMakeFiles/obj.omp.dir/kmp_dispatch.cpp.o
[ 31%] Building CXX object openmp/runtime/src/CMakeFiles/obj.omp.dir/kmp_lock.cpp.o
[ 31%] Building CXX object openmp/runtime/src/CMakeFiles/obj.omp.dir/kmp_sched.cpp.o
[ 32%] Building CXX object openmp/runtime/src/CMakeFiles/obj.omp.dir/kmp_collapse.cpp.o
[ 34%] Building CXX object openmp/runtime/src/CMakeFiles/obj.omp.dir/z_Linux_util.cpp.o
[ 35%] Building CXX object openmp/runtime/src/CMakeFiles/obj.omp.dir/kmp_gsupport.cpp.o
[ 36%] Building CXX object openmp/runtime/src/CMakeFiles/obj.omp.dir/thirdparty/ittnotify/ittnotify_static.cpp.o
[ 36%] Building CXX object openmp/runtime/src/CMakeFiles/obj.omp.dir/kmp_taskdeps.cpp.o
[ 37%] Building CXX object openmp/runtime/src/CMakeFiles/obj.omp.dir/kmp_cancel.cpp.o
[ 38%] Building CXX object openmp/runtime/src/CMakeFiles/obj.omp.dir/kmp_ftn_cdecl.cpp.o
[ 39%] Building CXX object openmp/runtime/src/CMakeFiles/obj.omp.dir/kmp_ftn_extra.cpp.o
[ 40%] Building CXX object openmp/runtime/src/CMakeFiles/obj.omp.dir/kmp_version.cpp.o
[ 42%] Building CXX object openmp/runtime/src/CMakeFiles/obj.omp.dir/ompt-general.cpp.o
[ 43%] Building ASM object openmp/runtime/src/CMakeFiles/obj.omp.dir/z_Linux_asm.S.o
[ 43%] Building CXX object openmp/runtime/src/CMakeFiles/obj.omp.dir/ompd-specific.cpp.o
[ 44%] Linking CXX shared library libarcher.so
[ 45%] Linking CXX static library libarcher_static.a
[ 45%] Built target archer_static
[ 45%] Built target archer
[ 46%] Linking CXX executable ../../../bin/offload-tblgen
[ 46%] Built target offload-tblgen
[ 47%] Building generated/OffloadPrint.hpp.gen...
[ 48%] Building generated/OffloadFuncs.inc.gen...
[ 50%] Building include/OffloadErrcodes.inc...
[ 51%] Building generated/OffloadAPI.h.gen...
[ 53%] Building generated/OffloadEntryPoints.inc.gen...
[ 53%] Building include/OffloadInfo.inc...
[ 53%] Building generated/OffloadImplFuncDecls.inc.gen...
[ 54%] Building generated/OffloadPrint.hpp.gen...
[ 54%] Building generated/OffloadImplFuncDecls.inc.gen...
[ 57%] Building generated/OffloadAPI.h.gen...
[ 57%] Building generated/OffloadEntryPoints.inc.gen...
[ 57%] Building generated/OffloadFuncs.inc.gen...
[ 59%] Generating OffloadFuncs.inc
[ 60%] Generating OffloadPrint.hpp
[ 60%] Built target PluginErrcodes
[ 61%] Generating OffloadImplFuncDecls.inc
[ 61%] Generating OffloadEntryPoints.inc
[ 62%] Generating OffloadAPI.h
[ 62%] Built target OffloadAPI.OffloadFuncs.inc
[ 62%] Built target OffloadGenerate
[ 62%] Built target OffloadAPI.OffloadPrint.hpp
[ 62%] Built target OffloadAPI.OffloadEntryPoints.inc
[ 62%] Built target OffloadAPI.OffloadImplFuncDecls.inc
[ 63%] Building CXX object offload/plugins-nextgen/common/CMakeFiles/PluginCommon.dir/src/PluginInterface.cpp.o
[ 63%] Built target OffloadAPI.OffloadAPI.h
[ 63%] Building CXX object offload/plugins-nextgen/common/CMakeFiles/PluginCommon.dir/src/RPC.cpp.o
[ 65%] Building CXX object offload/plugins-nextgen/common/CMakeFiles/PluginCommon.dir/src/OffloadError.cpp.o
[ 65%] Building CXX object offload/plugins-nextgen/common/CMakeFiles/PluginCommon.dir/src/Utils/ELF.cpp.o
[ 68%] Building CXX object offload/plugins-nextgen/common/CMakeFiles/PluginCommon.dir/src/GlobalHandler.cpp.o
[ 68%] Building CXX object offload/plugins-nextgen/common/CMakeFiles/PluginCommon.dir/src/JIT.cpp.o
[ 68%] Built target OffloadAPI
[ 68%] Built target obj.omp
[ 69%] Linking C shared library libomp.so
[ 69%] Built target omp
[ 70%] Building CXX object openmp/libompd/src/CMakeFiles/ompd.dir/TargetValue.cpp.o
[ 71%] Building CXX object openmp/libompd/src/CMakeFiles/ompd.dir/omp-debug.cpp.o
[ 72%] Building CXX object openmp/libompd/src/CMakeFiles/ompd.dir/omp-state.cpp.o
[ 73%] Building CXX object openmp/libompd/src/CMakeFiles/ompd.dir/omp-icv.cpp.o
[ 75%] Linking CXX shared library libompd.so
[ 75%] Built target ompd
[ 76%] Linking CXX static library ../../lib/libruntimes_gtest.a
[ 76%] Built target runtimes_gtest
[ 77%] Building CXX object third-party/runtimes_gtest/CMakeFiles/runtimes_gtest_main.dir/googletest/src/gtest_main.cc.o
[ 78%] Linking CXX static library ../../lib/libruntimes_gtest_main.a
[ 78%] Built target runtimes_gtest_main
[ 78%] Built target PluginCommon
[ 79%] Building CXX object offload/plugins-nextgen/amdgpu/CMakeFiles/omptarget.rtl.amdgpu.dir/dynamic_hsa/hsa.cpp.o
[ 79%] Building CXX object offload/plugins-nextgen/cuda/CMakeFiles/omptarget.rtl.cuda.dir/src/rtl.cpp.o
[ 80%] Building CXX object offload/plugins-nextgen/host/CMakeFiles/omptarget.rtl.host.dir/dynamic_ffi/ffi.cpp.o
[ 81%] Building CXX object offload/plugins-nextgen/cuda/CMakeFiles/omptarget.rtl.cuda.dir/dynamic_cuda/cuda.cpp.o
[ 82%] Building CXX object offload/plugins-nextgen/amdgpu/CMakeFiles/omptarget.rtl.amdgpu.dir/src/rtl.cpp.o
[ 84%] Building CXX object offload/plugins-nextgen/host/CMakeFiles/omptarget.rtl.host.dir/src/rtl.cpp.o
[ 84%] Linking CXX static library ../../../lib/libomptarget.rtl.host.a
[ 84%] Built target omptarget.rtl.host
[ 85%] Linking CXX static library ../../../lib/libomptarget.rtl.cuda.a
[ 85%] Built target omptarget.rtl.cuda
[ 86%] Linking CXX static library ../../../lib/libomptarget.rtl.amdgpu.a
[ 86%] Built target omptarget.rtl.amdgpu
[ 86%] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/device.cpp.o
[ 88%] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/interface.cpp.o
[ 88%] Building CXX object offload/liboffload/CMakeFiles/LLVMOffload.dir/src/OffloadLib.cpp.o
[ 89%] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/omptarget.cpp.o
[ 89%] Building CXX object offload/liboffload/CMakeFiles/LLVMOffload.dir/src/OffloadImpl.cpp.o
[ 90%] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/OffloadRTL.cpp.o
[ 92%] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/LegacyAPI.cpp.o
[ 93%] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/DeviceImage.cpp.o
[ 94%] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/OpenMP/API.cpp.o
[ 94%] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/PluginManager.cpp.o
[ 95%] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/OpenMP/InteropAPI.cpp.o
[ 96%] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/OpenMP/Mapping.cpp.o
[ 96%] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/OpenMP/OMPT/Callback.cpp.o
[ 97%] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/KernelLanguage/API.cpp.o
[ 98%] Linking CXX shared library ../../lib/libLLVMOffload.so
[ 98%] Built target LLVMOffload
[100%] Linking CXX shared library ../../lib/libomptarget.so
[100%] Built target omptarget
Install the project...
-- Install configuration: "Release"
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/offload/lib/libomp.so
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/offload/include/omp.h
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/offload/include/ompx.h
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/offload/include/omp-tools.h
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/offload/include/ompt.h
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/offload/lib/libarcher.so
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/offload/lib/libarcher_static.a
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/offload/lib/cmake/openmp/FindOpenMPTarget.cmake
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/offload/include/ompt-multiplex.h
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/offload/lib/libompd.so
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/offload/lib/libomptarget.so.22.1-rust-1.95.0-nightly
-- Set runtime path of "/checkout/obj/build/x86_64-unknown-linux-gnu/offload/lib/libomptarget.so.22.1-rust-1.95.0-nightly" to "$ORIGIN"
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/offload/lib/libomptarget.so
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/offload/lib/libLLVMOffload.so.22.1-rust-1.95.0-nightly
-- Set runtime path of "/checkout/obj/build/x86_64-unknown-linux-gnu/offload/lib/libLLVMOffload.so.22.1-rust-1.95.0-nightly" to "$ORIGIN"
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/offload/lib/libLLVMOffload.so
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/offload/include/offload/OffloadAPI.h
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/offload/include/offload/OffloadPrint.hpp
cargo:root=/checkout/obj/build/x86_64-unknown-linux-gnu/offload
CMAKE_TOOLCHAIN_FILE_x86_64-unknown-linux-gnu = None
CMAKE_TOOLCHAIN_FILE_x86_64_unknown_linux_gnu = None
HOST_CMAKE_TOOLCHAIN_FILE = None
CMAKE_TOOLCHAIN_FILE = None
CMAKE_GENERATOR_x86_64-unknown-linux-gnu = None
---
CMAKE_x86_64-unknown-linux-gnu = None
CMAKE_x86_64_unknown_linux_gnu = None
HOST_CMAKE = None
CMAKE = None
running: cd "/checkout/obj/build/x86_64-unknown-linux-gnu/offload/build" && CMAKE_PREFIX_PATH="" DESTDIR="" LC_ALL="C" LLVM_CONFIG_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/llvm/bin/llvm-config" "cmake" "/checkout/src/llvm-project/runtimes/" "-DCMAKE_INSTALL_MESSAGE=LAZY" "-DCMAKE_C_COMPILER_LAUNCHER=sccache" "-DCMAKE_CXX_COMPILER_LAUNCHER=sccache" "-DCMAKE_C_COMPILER=clang" "-DCMAKE_CXX_COMPILER=clang++" "-DCMAKE_ASM_COMPILER=clang" "-DCMAKE_C_FLAGS=  -I /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include -ffunction-sections -fdata-sections -fPIC -m64 --target=x86_64-unknown-linux-gnu -fdebug-prefix-map=/checkout=/rustc/llvm" "-DCMAKE_CXX_FLAGS=  -I /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include -ffunction-sections -fdata-sections -fPIC -m64 --target=x86_64-unknown-linux-gnu -fdebug-prefix-map=/checkout=/rustc/llvm" "-DCMAKE_AR=/rustroot/bin/llvm-ar" "-DCMAKE_RANLIB=/rustroot/bin/llvm-ranlib" "-DCMAKE_SHARED_LINKER_FLAGS= -Wl,-Bsymbolic -static-libstdc++" "-DCMAKE_MODULE_LINKER_FLAGS= -Wl,-Bsymbolic -static-libstdc++" "-DCMAKE_EXE_LINKER_FLAGS= -Wl,-Bsymbolic -static-libstdc++" "-DLLVM_ENABLE_ASSERTIONS=ON" "-DLLVM_INCLUDE_TESTS=OFF" "-DOFFLOAD_INCLUDE_TESTS=OFF" "-DLLVM_ROOT=/checkout/obj/build/x86_64-unknown-linux-gnu/llvm/build" "-DLLVM_DIR=/checkout/obj/build/x86_64-unknown-linux-gnu/llvm/lib/cmake/llvm" "-DLLVM_DEFAULT_TARGET_TRIPLE=amdgcn-amd-amdhsa" "-DClang_DIR=/rustroot/lib/cmake/clang" "-DLLVM_USE_LINKER=lld" "-DLLVM_ENABLE_RUNTIMES=openmp" "-DCMAKE_C_COMPILER_TARGET=amdgcn-amd-amdhsa" "-DCMAKE_CXX_COMPILER_TARGET=amdgcn-amd-amdhsa" "-DCMAKE_INSTALL_PREFIX=/checkout/obj/build/x86_64-unknown-linux-gnu/offload" "-DCMAKE_ASM_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64 --target=x86_64-unknown-linux-gnu" "-DCMAKE_BUILD_TYPE=Release"
-- Performing standalone runtimes build.
-- Performing Test CXX_SUPPORTS_CUSTOM_LINKER
-- Performing Test CXX_SUPPORTS_CUSTOM_LINKER - Success
-- Building with -fPIC
-- LLVM host triple: x86_64-unknown-linux-gnu
-- LLVM default target triple: amdgcn-amd-amdhsa
-- Configuring done
-- Generating done
-- Build files have been written to: /checkout/obj/build/x86_64-unknown-linux-gnu/offload/build
running: cd "/checkout/obj/build/x86_64-unknown-linux-gnu/offload/build" && DESTDIR="" LC_ALL="C" LLVM_CONFIG_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/llvm/bin/llvm-config" "cmake" "--build" "/checkout/obj/build/x86_64-unknown-linux-gnu/offload/build" "--target" "install" "--config" "Release" "--" "-j" "36"
[  5%] Building CXX object openmp/device/CMakeFiles/libompdevice.dir/src/Allocator.cpp.o
[ 17%] Building CXX object openmp/device/CMakeFiles/libompdevice.dir/src/Debug.cpp.o
[ 17%] Building CXX object openmp/device/CMakeFiles/libompdevice.dir/src/Configuration.cpp.o
[ 23%] Building CXX object openmp/device/CMakeFiles/libompdevice.dir/src/Kernel.cpp.o
[ 29%] Building CXX object openmp/device/CMakeFiles/libompdevice.dir/src/LibC.cpp.o
[ 35%] Building CXX object openmp/device/CMakeFiles/libompdevice.dir/src/Mapping.cpp.o
[ 41%] Building CXX object openmp/device/CMakeFiles/libompdevice.dir/src/Misc.cpp.o
[ 52%] Building CXX object openmp/device/CMakeFiles/libompdevice.dir/src/Reduction.cpp.o
[ 52%] Building CXX object openmp/device/CMakeFiles/libompdevice.dir/src/Parallelism.cpp.o
[ 58%] Building CXX object openmp/device/CMakeFiles/libompdevice.dir/src/Profiling.cpp.o
[ 64%] Building CXX object openmp/device/CMakeFiles/libompdevice.dir/src/State.cpp.o
[ 70%] Building CXX object openmp/device/CMakeFiles/libompdevice.dir/src/Synchronization.cpp.o
[ 76%] Building CXX object openmp/device/CMakeFiles/libompdevice.dir/src/Tasking.cpp.o
[ 82%] Building CXX object openmp/device/CMakeFiles/libompdevice.dir/src/DeviceUtils.cpp.o
[ 88%] Building CXX object openmp/device/CMakeFiles/libompdevice.dir/src/Workshare.cpp.o
[ 94%] Linking CXX executable ../../lib/amdgcn-amd-amdhsa/libomptarget-amdgpu.bc
ld.lld: error: No available targets are compatible with triple "amdgcn-amd-amdhsa"
clang++: error: ld.lld command failed with exit code 1 (use -v to see invocation)
gmake[2]: *** [lib/amdgcn-amd-amdhsa/libomptarget-amdgpu.bc] Error 1
gmake[1]: *** [openmp/device/CMakeFiles/libompdevice.dir/all] Error 2
gmake: *** [all] Error 2

thread 'main' (13758) panicked at /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cmake-0.1.54/src/lib.rs:1119:5:

command did not execute successfully, got: exit status: 2

---
  11:     0x555b9e4972ab - std::panicking::panic_with_hook::h8119b6db1fef734f
                               at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/std/src/panicking.rs:825:13
  12:     0x555b9e497128 - std::panicking::panic_handler::{{closure}}::h24f5360b91482c0e
                               at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/std/src/panicking.rs:698:13
  13:     0x555b9e491369 - std::sys::backtrace::__rust_end_short_backtrace::h4e60c5cbd1bd0108
                               at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/std/src/sys/backtrace.rs:182:18
  14:     0x555b9e475eed - __rustc[e4c6931bd8050421]::rust_begin_unwind
                               at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/std/src/panicking.rs:689:5
  15:     0x555b9d67f5dc - core::panicking::panic_fmt::hb1614a3ff6840071
                               at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/core/src/panicking.rs:80:14
  16:     0x555b9dfacf67 - cmake[33f4fcda87f03e1]::fail
  17:     0x555b9dfacbf3 - cmake[33f4fcda87f03e1]::run
  18:     0x555b9dfb2c73 - <cmake[33f4fcda87f03e1]::Config>::build
  19:     0x555b9d7209c0 - <bootstrap[ad89f169bdfbe7c4]::core::build_steps::llvm::OmpOffload as bootstrap[ad89f169bdfbe7c4]::core::builder::Step>::run
                               at /checkout/src/bootstrap/src/core/build_steps/llvm.rs:1088:17
  20:     0x555b9dcb9511 - <bootstrap[ad89f169bdfbe7c4]::core::builder::Builder>::ensure::<bootstrap[ad89f169bdfbe7c4]::core::build_steps::llvm::OmpOffload>
                               at /checkout/src/bootstrap/src/core/builder/mod.rs:1579:36
  21:     0x555b9df72923 - <bootstrap[ad89f169bdfbe7c4]::core::build_steps::compile::Assemble as bootstrap[ad89f169bdfbe7c4]::core::builder::Step>::run
                               at /checkout/src/bootstrap/src/core/build_steps/compile.rs:2294:43
  22:     0x555b9dd74bd7 - <bootstrap[ad89f169bdfbe7c4]::core::builder::Builder>::ensure::<bootstrap[ad89f169bdfbe7c4]::core::build_steps::compile::Assemble>
                               at /checkout/src/bootstrap/src/core/builder/mod.rs:1579:36
  23:     0x555b9ddfed86 - <bootstrap[ad89f169bdfbe7c4]::core::builder::Builder>::compiler
                               at /checkout/src/bootstrap/src/core/builder/mod.rs:1149:14
  24:     0x555b9df7247f - <bootstrap[ad89f169bdfbe7c4]::core::build_steps::compile::Assemble as bootstrap[ad89f169bdfbe7c4]::core::builder::Step>::run
                               at /checkout/src/bootstrap/src/core/build_steps/compile.rs:2280:21
  25:     0x555b9dd74bd7 - <bootstrap[ad89f169bdfbe7c4]::core::builder::Builder>::ensure::<bootstrap[ad89f169bdfbe7c4]::core::build_steps::compile::Assemble>
                               at /checkout/src/bootstrap/src/core/builder/mod.rs:1579:36
  26:     0x555b9ddfed86 - <bootstrap[ad89f169bdfbe7c4]::core::builder::Builder>::compiler
                               at /checkout/src/bootstrap/src/core/builder/mod.rs:1149:14
  27:     0x555b9df6c20e - <bootstrap[ad89f169bdfbe7c4]::core::build_steps::compile::Std as bootstrap[ad89f169bdfbe7c4]::core::builder::Step>::make_run
                               at /checkout/src/bootstrap/src/core/build_steps/compile.rs:142:41
  28:     0x555b9ddf4e1a - <bootstrap[ad89f169bdfbe7c4]::core::builder::StepDescription>::maybe_run
                               at /checkout/src/bootstrap/src/core/builder/mod.rs:476:13
  29:     0x555b9d6f2a03 - bootstrap[ad89f169bdfbe7c4]::core::builder::cli_paths::match_paths_to_steps_and_run
                               at /checkout/src/bootstrap/src/core/builder/cli_paths.rs:232:18
  30:     0x555b9ddfdd86 - <bootstrap[ad89f169bdfbe7c4]::core::builder::Builder>::run_step_descriptions
                               at /checkout/src/bootstrap/src/core/builder/mod.rs:1122:9
  31:     0x555b9ddf7eb2 - <bootstrap[ad89f169bdfbe7c4]::core::builder::Builder>::execute_cli
                               at /checkout/src/bootstrap/src/core/builder/mod.rs:1101:14
  32:     0x555b9da717bc - <bootstrap[ad89f169bdfbe7c4]::Build>::build
                               at /checkout/src/bootstrap/src/lib.rs:791:25
  33:     0x555b9d683bb3 - bootstrap[c46f1fbebb548c83]::main
                               at /checkout/src/bootstrap/src/bin/main.rs:130:11
  34:     0x555b9d6866b3 - <fn() as core[8f63ddeb68e21f74]::ops::function::FnOnce<()>>::call_once
                               at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/core/src/ops/function.rs:250:5
  35:     0x555b9d6808b6 - std[a6ffc322ab77e72b]::sys::backtrace::__rust_begin_short_backtrace::<fn(), ()>
                               at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/std/src/sys/backtrace.rs:166:18
  36:     0x555b9d681499 - std[a6ffc322ab77e72b]::rt::lang_start::<()>::{closure#0}
                               at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/std/src/rt.rs:206:18
  37:     0x555b9e484d26 - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::hd1cc8864ab2ce613
                               at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/core/src/ops/function.rs:287:21
  38:     0x555b9e484d26 - std::panicking::catch_unwind::do_call::h761b8a8d54647a61
                               at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/std/src/panicking.rs:581:40
  39:     0x555b9e484d26 - std::panicking::catch_unwind::hb78a0edcad597ebc
                               at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/std/src/panicking.rs:544:19
---
Caused by:
    Command RUST_BACKTRACE=full python3 /checkout/x.py build --target x86_64-unknown-linux-gnu --host x86_64-unknown-linux-gnu --stage 2 library/std --rust-profile-generate /tmp/tmp-multistage/opt-artifacts/rustc-pgo --set llvm.thin-lto=false --set llvm.link-shared=true [at /checkout/obj] has failed with exit code Some(1)

Stack backtrace:
   0: <anyhow::Error>::msg::<alloc::string::String>
             at /rust/deps/anyhow-1.0.100/src/backtrace.rs:27:14
   1: <opt_dist::exec::CmdBuilder>::run
             at /rustc/9bae4da5356824ab9174a395971c5be3bd7e753e/src/tools/opt-dist/src/exec.rs:80:17
   2: <opt_dist::exec::Bootstrap>::run
             at /rustc/9bae4da5356824ab9174a395971c5be3bd7e753e/src/tools/opt-dist/src/exec.rs:199:18
   3: opt_dist::execute_pipeline::{closure#1}::{closure#0}
             at /rustc/9bae4da5356824ab9174a395971c5be3bd7e753e/src/tools/opt-dist/src/main.rs:256:21
   4: <opt_dist::timer::TimerSection>::section::<opt_dist::execute_pipeline::{closure#1}::{closure#0}, ()>
             at /rustc/9bae4da5356824ab9174a395971c5be3bd7e753e/src/tools/opt-dist/src/timer.rs:111:22
   5: opt_dist::execute_pipeline::{closure#1}
             at /rustc/9bae4da5356824ab9174a395971c5be3bd7e753e/src/tools/opt-dist/src/main.rs:245:15
   6: <opt_dist::timer::TimerSection>::section::<opt_dist::execute_pipeline::{closure#1}, opt_dist::training::RustcPGOProfile>
             at /rustc/9bae4da5356824ab9174a395971c5be3bd7e753e/src/tools/opt-dist/src/timer.rs:111:22
   7: opt_dist::execute_pipeline
             at /rustc/9bae4da5356824ab9174a395971c5be3bd7e753e/src/tools/opt-dist/src/main.rs:242:35
   8: opt_dist::main
             at /rustc/9bae4da5356824ab9174a395971c5be3bd7e753e/src/tools/opt-dist/src/main.rs:469:18
   9: <fn() -> core::result::Result<(), anyhow::Error> as core::ops::function::FnOnce<()>>::call_once
             at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/core/src/ops/function.rs:250:5
  10: std::sys::backtrace::__rust_begin_short_backtrace::<fn() -> core::result::Result<(), anyhow::Error>, core::result::Result<(), anyhow::Error>>
             at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/std/src/sys/backtrace.rs:166:18
  11: std::rt::lang_start::<core::result::Result<(), anyhow::Error>>::{closure#0}
             at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/std/src/rt.rs:206:18
  12: core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once
             at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/core/src/ops/function.rs:287:21
  13: std::panicking::catch_unwind::do_call
             at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/std/src/panicking.rs:581:40
  14: std::panicking::catch_unwind
             at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/std/src/panicking.rs:544:19

@rust-bors rust-bors bot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Feb 28, 2026
@rust-bors
Copy link
Contributor

rust-bors bot commented Feb 28, 2026

💔 Test for 9bae4da failed: CI. Failed job:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-CI Area: Our Github Actions CI A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants