Skip to content

Conversation

@ZuseZ4
Copy link
Member

@ZuseZ4 ZuseZ4 commented Nov 7, 2025

The recommended way to build the offload project changed.
While already at it, testing how much overhead we get from building (or shipping) the two runtimes.

r? @Kobzol

@rustbot
Copy link
Collaborator

rustbot commented Nov 7, 2025

This PR changes how LLVM is built. Consider updating src/bootstrap/download-ci-llvm-stamp.

@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-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue. labels Nov 7, 2025
@ZuseZ4
Copy link
Member Author

ZuseZ4 commented Nov 7, 2025

@bors2 try @rust-timer queue

(@Kobzol feel free to change if you want to see something else).

@rust-timer

This comment has been minimized.

@rust-bors

This comment has been minimized.

rust-bors bot added a commit that referenced this pull request Nov 7, 2025
@rustbot rustbot added the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Nov 7, 2025
@rust-log-analyzer

This comment has been minimized.

@rust-bors
Copy link

rust-bors bot commented Nov 7, 2025

💔 Test for 7069335 failed: CI. Failed jobs:

@rust-log-analyzer

This comment has been minimized.

@ZuseZ4
Copy link
Member Author

ZuseZ4 commented Nov 7, 2025

@bors2 try @rust-timer queue

@rust-timer

This comment has been minimized.

rust-bors bot added a commit that referenced this pull request Nov 7, 2025
@rust-bors

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@rust-bors
Copy link

rust-bors bot commented Nov 7, 2025

💔 Test for 31000c9 failed: CI. Failed jobs:

@ZuseZ4
Copy link
Member Author

ZuseZ4 commented Nov 8, 2025

@bors2 try @rust-timer queue

@rust-timer

This comment has been minimized.

@rust-bors

This comment has been minimized.

rust-bors bot added a commit that referenced this pull request Nov 8, 2025
@rust-log-analyzer

This comment has been minimized.

@rust-bors
Copy link

rust-bors bot commented Nov 8, 2025

💔 Test for de7bdfa failed: CI. Failed jobs:

@ZuseZ4
Copy link
Member Author

ZuseZ4 commented Nov 14, 2025

@bors2 try @rust-timer queue

@rust-timer

This comment has been minimized.

@rust-bors

This comment has been minimized.

rust-bors bot added a commit that referenced this pull request Dec 15, 2025
@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@rust-bors
Copy link

rust-bors bot commented Dec 15, 2025

💔 Test for 78d23cd failed: CI. Failed jobs:

@ZuseZ4
Copy link
Member Author

ZuseZ4 commented Dec 15, 2025

@bors try

rust-bors bot added a commit that referenced this pull request Dec 15, 2025
@rust-bors

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@ZuseZ4
Copy link
Member Author

ZuseZ4 commented Dec 15, 2025

@bors try

@rust-bors

This comment has been minimized.

rust-bors bot added a commit that referenced this pull request Dec 15, 2025
@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@rust-bors
Copy link

rust-bors bot commented Dec 15, 2025

💔 Test for e7bf5de failed: CI. Failed jobs:

@ZuseZ4
Copy link
Member Author

ZuseZ4 commented Dec 15, 2025

@bors try

@rust-bors

This comment has been minimized.

rust-bors bot added a commit that referenced this pull request Dec 15, 2025
@rust-bors
Copy link

rust-bors bot commented Dec 15, 2025

💔 Test for 7545795 failed: CI. Failed jobs:

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@ZuseZ4
Copy link
Member Author

ZuseZ4 commented Dec 15, 2025

@bors try

@rust-bors

This comment has been minimized.

rust-bors bot added a commit that referenced this pull request Dec 15, 2025
@rust-log-analyzer
Copy link
Collaborator

The job pr-check-2 failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)
[RUSTC-TIMING] build_helper test:false 0.745
error: useless use of `format!`
    --> src/bootstrap/src/core/build_steps/compile.rs:2232:33
     |
2232 |                 let libenzyme = format!("libLLVMOffload");
     |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `"libLLVMOffload".to_string()`
     |
     = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format
     = note: `-D clippy::useless-format` implied by `-D warnings`
     = help: to override `-D warnings` add `#[allow(clippy::useless_format)]`

error: useless use of `format!`
    --> src/bootstrap/src/core/build_steps/compile.rs:2240:27
     |
2240 |                 let omp = format!("libomp");
     |                           ^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `"libomp".to_string()`
     |
     = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format

error: useless use of `format!`
    --> src/bootstrap/src/core/build_steps/compile.rs:2247:27
     |
2247 |                 let tgt = format!("libomptarget");
     |                           ^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `"libomptarget".to_string()`
     |
     = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format

error: useless use of `format!`
    --> src/bootstrap/src/core/build_steps/compile.rs:2258:30
     |
2258 |                 let device = format!("libompdevice.a");
     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `"libompdevice.a".to_string()`
     |
     = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format

error: the borrowed expression implements the required traits
    --> src/bootstrap/src/core/build_steps/compile.rs:2260:51
     |
2260 |                     let dst_tgt_dir = libdir.join(&tgt);
     |                                                   ^^^^ help: change this to: `tgt`
     |
     = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
     = note: `-D clippy::needless-borrows-for-generic-args` implied by `-D warnings`
     = help: to override `-D warnings` add `#[allow(clippy::needless_borrows_for_generic_args)]`

error: the borrowed expression implements the required traits
    --> src/bootstrap/src/core/build_steps/compile.rs:2261:65
     |
2261 |                     let target_tgt_dst_dir = target_libdir.join(&tgt);
     |                                                                 ^^^^ help: change this to: `tgt`
     |
     = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args

[RUSTC-TIMING] bootstrap test:false 10.744
error: could not compile `bootstrap` (lib) due to 6 previous errors

@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)
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', '--set', 'rust.remap-debuginfo', '--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', '--set', 'rust.remap-debuginfo', '--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

---
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.82s
##[endgroup]
[2025-12-15T15:58:39.134Z INFO  opt_dist::timer] Section `Stage 1 (Rustc PGO)` starts
[2025-12-15T15:58:39.134Z INFO  opt_dist::timer] Section `Stage 1 (Rustc PGO) > Build PGO instrumented rustc and LLVM` starts
[2025-12-15T15:58:39.134Z INFO  opt_dist::exec] Executing `RUST_BACKTRACE=full python3 /checkout/x.py build --target x86_64-unknown-linux-gnu --host x86_64-unknown-linux-gnu --stage 2 library/std --set rust.llvm-bitcode-linker=false --set build.extended=false --set rust.codegen-backends=['llvm'] --set rust.deny-warnings=false --rust-profile-generate /tmp/tmp-multistage/opt-artifacts/rustc-pgo --set llvm.thin-lto=false --set llvm.link-shared=true [at /checkout/obj]`
##[group]Building bootstrap
    Finished `dev` profile [unoptimized] target(s) in 0.06s
##[endgroup]
[TIMING:start] compile::Assemble { target_compiler: Compiler { stage: 2, host: x86_64-unknown-linux-gnu, forced_compiler: false } }
[TIMING:start] builder::Libdir { compiler: Compiler { stage: 2, host: x86_64-unknown-linux-gnu, forced_compiler: false }, target: x86_64-unknown-linux-gnu }
---
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/llvm/offload-outdir/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=-ffunction-sections -fdata-sections -fPIC -m64 --target=x86_64-unknown-linux-gnu -fdebug-prefix-map=/checkout=/rustc/llvm -I /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include" "-DCMAKE_CXX_FLAGS=-ffunction-sections -fdata-sections -fPIC -m64 --target=x86_64-unknown-linux-gnu -fdebug-prefix-map=/checkout=/rustc/llvm -I /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include" "-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_ENABLE_RUNTIMES=openmp;offload" "-DLLVM_INCLUDE_TESTS=OFF" "-DOFFLOAD_INCLUDE_TESTS=OFF" "-DOPENMP_STANDALONE_BUILD=ON" "-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_USE_LINKER=lld" "-DClang_DIR=/rustroot/lib/cmake/clang" "-DCMAKE_INSTALL_PREFIX=/checkout/obj/build/x86_64-unknown-linux-gnu/llvm/offload-outdir" "-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 21.1.0
-- The CXX compiler identification is Clang 21.1.0
-- The ASM compiler identification is Clang
-- Found assembler: /rustroot/bin/clang
---
  /checkout/src/llvm-project/openmp/CMakeLists.txt:96 (include)


-- Cannot find llvm-lit.
-- Please put llvm-lit in your PATH, set OPENMP_LLVM_LIT_EXECUTABLE to its full path, or point OPENMP_LLVM_TOOLS_DIR to its directory.
-- 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 - Failed
-- 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 - Failed
-- Performing Test LIBOMP_HAVE_WSTRINGOP_TRUNCATION_FLAG
-- Performing Test LIBOMP_HAVE_WSTRINGOP_TRUNCATION_FLAG - Failed
-- 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
-- LIBOMP: Operating System     -- Linux
-- LIBOMP: Target Architecture  -- x86_64
-- LIBOMP: Build Type           -- Release
-- LIBOMP: Library Kind         -- SHARED
-- LIBOMP: Library Type         -- normal
-- LIBOMP: Fortran Modules      -- FALSE
-- LIBOMP: Build                -- 20140926
-- LIBOMP: Use Stats-gathering  -- FALSE
-- LIBOMP: Use Debugger-support -- FALSE
-- LIBOMP: Use ITT notify       -- TRUE
-- LIBOMP: Use OMPT-support     -- TRUE
-- LIBOMP: Use OMPT-optional  -- TRUE
-- LIBOMP: Use OMPD-support     -- TRUE
-- LIBOMP: Use Adaptive locks   -- TRUE
-- LIBOMP: Use quad precision   -- FALSE
-- LIBOMP: Use Hwloc library    -- FALSE
-- LIBOMP: Use OMPX-taskgraph   -- FALSE
-- 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
-- check-libomp does nothing.
-- check-ompt does nothing.
-- 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
-- check-libarcher does nothing.
-- check-ompt-multiplex does nothing.
-- Could NOT find Python3 (missing: Python3_INCLUDE_DIRS Python3_LIBRARIES Development Development.Module Development.Embed) (found version "3.6.8")
-- check-openmp does nothing.
-- Using LLVM include directories: /rustroot/include;/rustroot/include
Failed to 'dlopen' libcuda.so.1
-- 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 disabled
-- OpenMP tools dir in libomptarget: 
-- Performing Test LLVM_LINKER_SUPPORTS_B_SYMBOLIC_FUNCTIONS
-- Performing Test LLVM_LINKER_SUPPORTS_B_SYMBOLIC_FUNCTIONS - Success
-- 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.
-- Configuring done
-- Generating done
-- Build files have been written to: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/offload-outdir/build
running: cd "/checkout/obj/build/x86_64-unknown-linux-gnu/llvm/offload-outdir/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/llvm/offload-outdir/build" "--target" "install" "--config" "Release" "--" "-j" "36"
[  1%] Building CXX object openmp/tools/archer/CMakeFiles/archer_static.dir/ompt-tsan.cpp.o
[  2%] Generating kmp_i18n_id.inc
[  3%] Generating kmp_i18n_default.inc
[  4%] Building CXX object offload/tools/offload-tblgen/CMakeFiles/offload-tblgen.dir/APIGen.cpp.o
[  5%] Building CXX object offload/tools/offload-tblgen/CMakeFiles/offload-tblgen.dir/DocGen.cpp.o
[  5%] Built target intrinsics_gen
[  6%] Building CXX object openmp/tools/archer/CMakeFiles/archer.dir/ompt-tsan.cpp.o
[  8%] Building CXX object offload/tools/offload-tblgen/CMakeFiles/offload-tblgen.dir/MiscGen.cpp.o
[  8%] Building CXX object offload/tools/offload-tblgen/CMakeFiles/offload-tblgen.dir/offload-tblgen.cpp.o
[  9%] Building CXX object offload/tools/offload-tblgen/CMakeFiles/offload-tblgen.dir/EntryPointGen.cpp.o
[ 10%] Building CXX object offload/tools/offload-tblgen/CMakeFiles/offload-tblgen.dir/PrintGen.cpp.o
[ 10%] Built target libomp-needed-headers
Scanning dependencies of target omp
[ 11%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/kmp_error.cpp.o
[ 15%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/kmp_io.cpp.o
[ 15%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/kmp_csupport.cpp.o
[ 15%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/kmp_alloc.cpp.o
[ 16%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/kmp_debug.cpp.o
[ 18%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/kmp_atomic.cpp.o
[ 18%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/kmp_settings.cpp.o
[ 18%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/kmp_itt.cpp.o
[ 19%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/kmp_environment.cpp.o
[ 20%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/kmp_i18n.cpp.o
[ 21%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/kmp_global.cpp.o
[ 23%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/kmp_tasking.cpp.o
[ 22%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/kmp_str.cpp.o
[ 23%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/kmp_runtime.cpp.o
[ 24%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/kmp_threadprivate.cpp.o
[ 25%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/kmp_utility.cpp.o
[ 26%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/kmp_barrier.cpp.o
[ 29%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/kmp_wait_release.cpp.o
[ 29%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/kmp_affinity.cpp.o
[ 30%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/kmp_dispatch.cpp.o
[ 31%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/kmp_lock.cpp.o
[ 32%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/kmp_sched.cpp.o
[ 33%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/kmp_collapse.cpp.o
[ 34%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/z_Linux_util.cpp.o
[ 35%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/kmp_gsupport.cpp.o
[ 36%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/kmp_taskdeps.cpp.o
[ 36%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/thirdparty/ittnotify/ittnotify_static.cpp.o
[ 37%] Linking CXX static library libarcher_static.a
[ 38%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/kmp_cancel.cpp.o
[ 39%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/kmp_ftn_cdecl.cpp.o
[ 40%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/kmp_ftn_extra.cpp.o
[ 40%] Built target archer_static
[ 41%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/kmp_version.cpp.o
[ 43%] Linking CXX shared library libarcher.so
[ 44%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/ompd-specific.cpp.o
[ 45%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/ompt-general.cpp.o
[ 46%] Linking CXX executable /rustroot/bin/offload-tblgen
[ 47%] Building ASM object openmp/runtime/src/CMakeFiles/omp.dir/z_Linux_asm.S.o
[ 47%] Built target archer
[ 47%] Built target offload-tblgen
[ 47%] Building generated/OffloadPrint.hpp.gen...
[ 47%] Building include/OffloadErrcodes.inc...
[ 48%] Building include/OffloadInfo.inc...
[ 49%] Building generated/OffloadAPI.h.gen...
[ 50%] Building generated/OffloadImplFuncDecls.inc.gen...
[ 51%] Building generated/OffloadPrint.hpp.gen...
[ 52%] Building generated/OffloadEntryPoints.inc.gen...
[ 53%] Building generated/OffloadFuncs.inc.gen...
[ 54%] Building generated/OffloadFuncs.inc.gen...
[ 55%] Building generated/OffloadImplFuncDecls.inc.gen...
[ 58%] Building generated/OffloadAPI.h.gen...
[ 58%] Building generated/OffloadEntryPoints.inc.gen...
[ 59%] Generating OffloadPrint.hpp
[ 59%] Built target PluginErrcodes
[ 60%] Generating OffloadEntryPoints.inc
[ 61%] Generating OffloadFuncs.inc
[ 62%] Generating OffloadAPI.h
[ 63%] Generating OffloadImplFuncDecls.inc
[ 63%] Built target OffloadGenerate
[ 64%] Building CXX object offload/plugins-nextgen/common/CMakeFiles/PluginCommon.dir/src/GlobalHandler.cpp.o
[ 65%] Building CXX object offload/plugins-nextgen/common/CMakeFiles/PluginCommon.dir/src/OffloadError.cpp.o
[ 66%] Building CXX object offload/plugins-nextgen/common/CMakeFiles/PluginCommon.dir/src/PluginInterface.cpp.o
[ 68%] 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/JIT.cpp.o
[ 69%] Building CXX object offload/plugins-nextgen/common/CMakeFiles/PluginCommon.dir/src/RPC.cpp.o
[ 69%] Built target OffloadAPI.OffloadFuncs.inc
[ 69%] Built target OffloadAPI.OffloadImplFuncDecls.inc
[ 69%] Built target OffloadAPI.OffloadPrint.hpp
[ 69%] Built target OffloadAPI.OffloadEntryPoints.inc
[ 69%] Built target OffloadAPI.OffloadAPI.h
[ 69%] Built target OffloadAPI
[ 70%] Linking C shared library libomp.so
clang: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[ 70%] Built target omp
[ 72%] Building CXX object openmp/libompd/src/CMakeFiles/ompd.dir/TargetValue.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-debug.cpp.o
[ 74%] Building CXX object openmp/libompd/src/CMakeFiles/ompd.dir/omp-icv.cpp.o
[ 74%] Built target PluginCommon
[ 75%] Building CXX object offload/plugins-nextgen/host/CMakeFiles/omptarget.rtl.host.dir/src/rtl.cpp.o
[ 77%] Linking CXX shared library libompd.so
[ 77%] Building CXX object offload/plugins-nextgen/host/CMakeFiles/omptarget.rtl.host.dir/dynamic_ffi/ffi.cpp.o
[ 78%] Building CXX object offload/plugins-nextgen/amdgpu/CMakeFiles/omptarget.rtl.amdgpu.dir/src/rtl.cpp.o
[ 80%] Building CXX object offload/plugins-nextgen/cuda/CMakeFiles/omptarget.rtl.cuda.dir/src/rtl.cpp.o
[ 80%] Building CXX object offload/plugins-nextgen/amdgpu/CMakeFiles/omptarget.rtl.amdgpu.dir/dynamic_hsa/hsa.cpp.o
[ 81%] Building CXX object offload/plugins-nextgen/cuda/CMakeFiles/omptarget.rtl.cuda.dir/dynamic_cuda/cuda.cpp.o
[ 81%] Built target ompd
[ 82%] Linking CXX static library /rustroot/lib/libomptarget.rtl.host.a
[ 82%] Built target omptarget.rtl.host
/checkout/src/llvm-project/offload/plugins-nextgen/amdgpu/src/rtl.cpp:2594:7: warning: default label in switch which covers all enumeration values [-Wcovered-switch-default]
 2594 |       default:
      |       ^
1 warning generated.
[ 83%] Linking CXX static library /rustroot/lib/libomptarget.rtl.amdgpu.a
[ 84%] Linking CXX static library /rustroot/lib/libomptarget.rtl.cuda.a
[ 84%] Built target omptarget.rtl.amdgpu
[ 84%] Built target omptarget.rtl.cuda
[ 84%] Building CXX object offload/liboffload/CMakeFiles/LLVMOffload.dir/src/OffloadLib.cpp.o
[ 86%] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/interface.cpp.o
[ 88%] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/device.cpp.o
[ 88%] Building CXX object offload/liboffload/CMakeFiles/LLVMOffload.dir/src/OffloadImpl.cpp.o
[ 89%] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/omptarget.cpp.o
[ 90%] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/LegacyAPI.cpp.o
[ 92%] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/OpenMP/API.cpp.o
[ 93%] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/OpenMP/Mapping.cpp.o
[ 93%] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/PluginManager.cpp.o
[ 93%] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/OpenMP/InteropAPI.cpp.o
[ 94%] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/OffloadRTL.cpp.o
[ 95%] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/KernelLanguage/API.cpp.o
[ 97%] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/DeviceImage.cpp.o
[ 97%] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/OpenMP/OMPT/Callback.cpp.o
[ 98%] Linking CXX shared library /rustroot/lib/libLLVMOffload.so
[100%] Linking CXX shared library /rustroot/lib/libomptarget.so
[100%] Built target LLVMOffload
[100%] Built target omptarget
Install the project...
-- Install configuration: "Release"
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/offload-outdir/lib/libomp.so
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/offload-outdir/include/omp.h
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/offload-outdir/include/ompx.h
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/offload-outdir/include/omp-tools.h
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/offload-outdir/include/ompt.h
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/offload-outdir/lib/cmake/openmp/FindOpenMPTarget.cmake
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/offload-outdir/lib/libarcher.so
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/offload-outdir/lib/libarcher_static.a
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/offload-outdir/include/ompt-multiplex.h
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/offload-outdir/lib/libompd.so
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/offload-outdir/lib/libomptarget.so.21.1-rc2
-- Set runtime path of "/checkout/obj/build/x86_64-unknown-linux-gnu/llvm/offload-outdir/lib/libomptarget.so.21.1-rc2" to "$ORIGIN"
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/offload-outdir/lib/libomptarget.so
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/offload-outdir/lib/libLLVMOffload.so.21.1-rc2
-- Set runtime path of "/checkout/obj/build/x86_64-unknown-linux-gnu/llvm/offload-outdir/lib/libLLVMOffload.so.21.1-rc2" to "$ORIGIN"
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/offload-outdir/lib/libLLVMOffload.so
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/offload-outdir/include/offload/OffloadAPI.h
-- Installing: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/offload-outdir/include/offload/OffloadPrint.hpp
cargo:root=/checkout/obj/build/x86_64-unknown-linux-gnu/llvm/offload-outdir
 finished in 9.269 seconds
[TIMING:end] llvm::OmpOffload { target: x86_64-unknown-linux-gnu } -- 14.258
[TIMING:start] builder::Libdir { compiler: Compiler { stage: 0, host: x86_64-unknown-linux-gnu, forced_compiler: false }, target: x86_64-unknown-linux-gnu }
[TIMING:start] compile::Sysroot { compiler: Compiler { stage: 0, host: x86_64-unknown-linux-gnu, forced_compiler: false }, force_recompile: false }
[TIMING:end] compile::Sysroot { compiler: Compiler { stage: 0, host: x86_64-unknown-linux-gnu, forced_compiler: false }, force_recompile: false } -- 0.003
---
[2025-12-15T16:25:35.179Z INFO  opt_dist::utils::io] Deleting directory `/tmp/tmp-multistage/opt-artifacts/rustc-pgo`
[2025-12-15T16:25:38.678Z INFO  opt_dist::timer] Section `Stage 1 (Rustc PGO) > Gather profiles` ended: OK (600.28s)`
[2025-12-15T16:25:38.679Z INFO  opt_dist::utils] Free disk space: 1.23 TiB out of total 2.18 TiB (43.35% used)
[2025-12-15T16:25:38.679Z INFO  opt_dist::timer] Section `Stage 1 (Rustc PGO) > Build PGO optimized rustc` starts
[2025-12-15T16:25:38.679Z INFO  opt_dist::exec] Executing `RUST_BACKTRACE=full python3 /checkout/x.py build --target x86_64-unknown-linux-gnu --host x86_64-unknown-linux-gnu --stage 2 library/std --set rust.llvm-bitcode-linker=false --set build.extended=false --set rust.codegen-backends=['llvm'] --set rust.deny-warnings=false --rust-profile-use /tmp/tmp-multistage/opt-artifacts/rustc-pgo.profdata --enable-bolt-settings [at /checkout/obj]`
##[group]Building bootstrap
    Finished `dev` profile [unoptimized] target(s) in 0.25s
##[endgroup]
[TIMING:start] compile::Assemble { target_compiler: Compiler { stage: 2, host: x86_64-unknown-linux-gnu, forced_compiler: false } }
[TIMING:start] builder::Libdir { compiler: Compiler { stage: 2, host: x86_64-unknown-linux-gnu, forced_compiler: false }, target: x86_64-unknown-linux-gnu }
---
[2025-12-15T16:31:16.964Z INFO  opt_dist::utils] Clearing LLVM build files
[2025-12-15T16:31:16.964Z INFO  opt_dist::utils::io] Deleting directory `/checkout/obj/build/x86_64-unknown-linux-gnu/llvm`
[2025-12-15T16:31:17.509Z INFO  opt_dist::utils::io] Deleting directory `/checkout/obj/build/x86_64-unknown-linux-gnu/lld`
[2025-12-15T16:31:17.521Z INFO  opt_dist::timer] Section `Stage 2 (LLVM PGO) > Build PGO instrumented LLVM` starts
[2025-12-15T16:31:17.521Z INFO  opt_dist::exec] Executing `LLVM_PROFILE_DIR=/tmp/tmp-multistage/opt-artifacts/llvm-pgo/prof-%p RUST_BACKTRACE=full python3 /checkout/x.py build --target x86_64-unknown-linux-gnu --host x86_64-unknown-linux-gnu --stage 2 library/std --set rust.llvm-bitcode-linker=false --set build.extended=false --set rust.codegen-backends=['llvm'] --set rust.deny-warnings=false --llvm-profile-generate --keep-stage 0 --keep-stage 1 [at /checkout/obj]`
##[group]Building bootstrap
    Finished `dev` profile [unoptimized] target(s) in 0.08s
##[endgroup]
[TIMING:start] compile::Assemble { target_compiler: Compiler { stage: 2, host: x86_64-unknown-linux-gnu, forced_compiler: false } }
[TIMING:start] builder::Libdir { compiler: Compiler { stage: 2, host: x86_64-unknown-linux-gnu, forced_compiler: false }, target: x86_64-unknown-linux-gnu }
---
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/llvm/offload-outdir/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=-ffunction-sections -fdata-sections -fPIC -m64 --target=x86_64-unknown-linux-gnu -fdebug-prefix-map=/checkout=/rustc/llvm -I /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include" "-DCMAKE_CXX_FLAGS=-ffunction-sections -fdata-sections -fPIC -m64 --target=x86_64-unknown-linux-gnu -fdebug-prefix-map=/checkout=/rustc/llvm -I /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/include" "-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_ENABLE_RUNTIMES=openmp;offload" "-DLLVM_INCLUDE_TESTS=OFF" "-DOFFLOAD_INCLUDE_TESTS=OFF" "-DOPENMP_STANDALONE_BUILD=ON" "-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_USE_LINKER=lld" "-DClang_DIR=/rustroot/lib/cmake/clang" "-DCMAKE_INSTALL_PREFIX=/checkout/obj/build/x86_64-unknown-linux-gnu/llvm/offload-outdir" "-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 21.1.0
-- The CXX compiler identification is Clang 21.1.0
-- The ASM compiler identification is Clang
-- Found assembler: /rustroot/bin/clang
---
-- Performing Test OPENMP_HAVE_FUNCTION_SECTIONS - Failed
-- Performing Test OPENMP_HAVE_DATA_SECTIONS
-- Performing Test OPENMP_HAVE_DATA_SECTIONS - Success
-- Cannot find llvm-lit.
-- Please put llvm-lit in your PATH, set OPENMP_LLVM_LIT_EXECUTABLE to its full path, or point OPENMP_LLVM_TOOLS_DIR to its directory.
CMake Warning at /checkout/src/llvm-project/openmp/cmake/OpenMPTesting.cmake:24 (message):
  The check targets will not be available!
Call Stack (most recent call first):
  /checkout/src/llvm-project/openmp/cmake/OpenMPTesting.cmake:53 (find_standalone_test_dependencies)
  /checkout/src/llvm-project/openmp/CMakeLists.txt:96 (include)


-- 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 - Failed
-- 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 - Failed
-- Performing Test LIBOMP_HAVE_WSTRINGOP_TRUNCATION_FLAG
-- Performing Test LIBOMP_HAVE_WSTRINGOP_TRUNCATION_FLAG - Failed
-- 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
-- LIBOMP: Operating System     -- Linux
-- LIBOMP: Target Architecture  -- x86_64
-- LIBOMP: Build Type           -- Release
-- LIBOMP: Library Kind         -- SHARED
-- LIBOMP: Library Type         -- normal
-- LIBOMP: Fortran Modules      -- FALSE
-- LIBOMP: Build                -- 20140926
-- LIBOMP: Use Stats-gathering  -- FALSE
-- LIBOMP: Use Debugger-support -- FALSE
-- LIBOMP: Use ITT notify       -- TRUE
-- LIBOMP: Use OMPT-support     -- TRUE
-- LIBOMP: Use OMPT-optional  -- TRUE
-- LIBOMP: Use OMPD-support     -- TRUE
-- LIBOMP: Use Adaptive locks   -- TRUE
-- LIBOMP: Use quad precision   -- FALSE
-- LIBOMP: Use Hwloc library    -- FALSE
-- LIBOMP: Use OMPX-taskgraph   -- FALSE
-- 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
-- check-libomp does nothing.
-- check-ompt does nothing.
-- 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
-- check-libarcher does nothing.
-- check-ompt-multiplex does nothing.
-- Could NOT find Python3 (missing: Python3_INCLUDE_DIRS Python3_LIBRARIES Development Development.Module Development.Embed) (found version "3.6.8")
-- check-openmp does nothing.
-- Using LLVM include directories: /rustroot/include;/rustroot/include
Failed to 'dlopen' libcuda.so.1
-- 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 disabled
-- OpenMP tools dir in libomptarget: 
-- Performing Test LLVM_LINKER_SUPPORTS_B_SYMBOLIC_FUNCTIONS
-- Performing Test LLVM_LINKER_SUPPORTS_B_SYMBOLIC_FUNCTIONS - Success
-- 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.
-- Configuring done
-- Generating done
-- Build files have been written to: /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/offload-outdir/build
running: cd "/checkout/obj/build/x86_64-unknown-linux-gnu/llvm/offload-outdir/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/llvm/offload-outdir/build" "--target" "install" "--config" "Release" "--" "-j" "36"
[  1%] Generating kmp_i18n_default.inc
[  2%] Generating kmp_i18n_id.inc
[  2%] Built target intrinsics_gen
[  3%] Building CXX object openmp/tools/archer/CMakeFiles/archer_static.dir/ompt-tsan.cpp.o
[  4%] Building CXX object offload/tools/offload-tblgen/CMakeFiles/offload-tblgen.dir/APIGen.cpp.o
[  5%] Building CXX object offload/tools/offload-tblgen/CMakeFiles/offload-tblgen.dir/MiscGen.cpp.o
[  6%] Building CXX object offload/tools/offload-tblgen/CMakeFiles/offload-tblgen.dir/DocGen.cpp.o
[  7%] Building CXX object offload/tools/offload-tblgen/CMakeFiles/offload-tblgen.dir/offload-tblgen.cpp.o
[  8%] Building CXX object offload/tools/offload-tblgen/CMakeFiles/offload-tblgen.dir/EntryPointGen.cpp.o
[  9%] Building CXX object openmp/tools/archer/CMakeFiles/archer.dir/ompt-tsan.cpp.o
[ 10%] Building CXX object offload/tools/offload-tblgen/CMakeFiles/offload-tblgen.dir/PrintGen.cpp.o
[ 10%] Built target libomp-needed-headers
Scanning dependencies of target omp
[ 11%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/kmp_csupport.cpp.o
[ 13%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/kmp_debug.cpp.o
[ 13%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/kmp_alloc.cpp.o
[ 15%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/kmp_environment.cpp.o
[ 15%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/kmp_atomic.cpp.o
[ 16%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/kmp_itt.cpp.o
[ 17%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/kmp_error.cpp.o
[ 18%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/kmp_global.cpp.o
[ 19%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/kmp_i18n.cpp.o
[ 20%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/kmp_runtime.cpp.o
[ 21%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/kmp_io.cpp.o
[ 22%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/kmp_settings.cpp.o
[ 23%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/kmp_threadprivate.cpp.o
[ 23%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/kmp_tasking.cpp.o
[ 24%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/kmp_str.cpp.o
[ 25%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/kmp_utility.cpp.o
[ 26%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/kmp_barrier.cpp.o
[ 27%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/kmp_affinity.cpp.o
[ 29%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/kmp_wait_release.cpp.o
[ 30%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/kmp_dispatch.cpp.o
[ 31%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/kmp_sched.cpp.o
[ 32%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/kmp_lock.cpp.o
[ 33%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/kmp_collapse.cpp.o
[ 33%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/thirdparty/ittnotify/ittnotify_static.cpp.o
[ 35%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/kmp_taskdeps.cpp.o
[ 35%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/z_Linux_util.cpp.o
[ 36%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/kmp_cancel.cpp.o
[ 37%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/kmp_gsupport.cpp.o
[ 38%] Linking CXX static library libarcher_static.a
[ 39%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/kmp_ftn_cdecl.cpp.o
[ 39%] Built target archer_static
[ 40%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/kmp_ftn_extra.cpp.o
[ 41%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/kmp_version.cpp.o
[ 43%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/ompt-general.cpp.o
[ 44%] Linking CXX shared library libarcher.so
[ 45%] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/ompd-specific.cpp.o
[ 46%] Building ASM object openmp/runtime/src/CMakeFiles/omp.dir/z_Linux_asm.S.o
[ 47%] Linking CXX executable /rustroot/bin/offload-tblgen
[ 47%] Built target archer
[ 48%] Linking C shared library libomp.so
clang: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[ 48%] Built target omp
[ 49%] Building CXX object openmp/libompd/src/CMakeFiles/ompd.dir/TargetValue.cpp.o
[ 50%] Building CXX object openmp/libompd/src/CMakeFiles/ompd.dir/omp-icv.cpp.o
[ 51%] Building CXX object openmp/libompd/src/CMakeFiles/ompd.dir/omp-debug.cpp.o
[ 51%] Building CXX object openmp/libompd/src/CMakeFiles/ompd.dir/omp-state.cpp.o
[ 52%] Linking CXX shared library libompd.so
[ 52%] Built target ompd
ld.lld: error: undefined symbol: __llvm_profile_instrument_target
>>> referenced by CommandLine.cpp
>>>               /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/lib/offload-tblgen.lto.libLLVMSupport.a(CommandLine.cpp.o at 2844656).o:(llvm::cl::basic_parser_impl::getOptionWidth(llvm::cl::Option const&) const)
>>> referenced by CommandLine.cpp
>>>               /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/lib/offload-tblgen.lto.libLLVMSupport.a(CommandLine.cpp.o at 2844656).o:(llvm::cl::basic_parser_impl::printOptionInfo(llvm::cl::Option const&, unsigned long) const)
>>> referenced by CommandLine.cpp
>>>               /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/lib/offload-tblgen.lto.libLLVMSupport.a(CommandLine.cpp.o at 2844656).o:(llvm::cl::basic_parser_impl::printOptionInfo(llvm::cl::Option const&, unsigned long) const)
>>> referenced 888 more times

ld.lld: error: undefined symbol: __llvm_profile_instrument_memop
>>> referenced by ConvertUTFWrapper.cpp
>>>               /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/lib/offload-tblgen.lto.libLLVMSupport.a(ConvertUTFWrapper.cpp.o at 3528972).o:(void std::vector<unsigned short, std::allocator<unsigned short>>::_M_range_insert<unsigned short const*>(__gnu_cxx::__normal_iterator<unsigned short*, std::vector<unsigned short, std::allocator<unsigned short>>>, unsigned short const*, unsigned short const*, std::forward_iterator_tag))
>>> referenced by ConvertUTFWrapper.cpp
>>>               /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/lib/offload-tblgen.lto.libLLVMSupport.a(ConvertUTFWrapper.cpp.o at 3528972).o:(void std::vector<unsigned short, std::allocator<unsigned short>>::_M_range_insert<unsigned short const*>(__gnu_cxx::__normal_iterator<unsigned short*, std::vector<unsigned short, std::allocator<unsigned short>>>, unsigned short const*, unsigned short const*, std::forward_iterator_tag))
>>> referenced by ConvertUTFWrapper.cpp
>>>               /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/lib/offload-tblgen.lto.libLLVMSupport.a(ConvertUTFWrapper.cpp.o at 3528972).o:(void std::vector<unsigned short, std::allocator<unsigned short>>::_M_range_insert<unsigned short const*>(__gnu_cxx::__normal_iterator<unsigned short*, std::vector<unsigned short, std::allocator<unsigned short>>>, unsigned short const*, unsigned short const*, std::forward_iterator_tag))
>>> referenced 998 more times
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[2]: *** [/rustroot/bin/offload-tblgen] Error 1
gmake[1]: *** [offload/tools/offload-tblgen/CMakeFiles/offload-tblgen.dir/all] Error 2
gmake: *** [all] Error 2

thread 'main' (9026) 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

---
                               at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:834:13
  12:     0x559be0e4712a - std::panicking::panic_handler::{{closure}}::hddd6216c3fddee3b
                               at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:707:13
  13:     0x559be0e41189 - std::sys::backtrace::__rust_end_short_backtrace::h5e7a56f283378525
                               at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/backtrace.rs:174:18
  14:     0x559be0e256dd - __rustc[256c90bb7e548b45]::rust_begin_unwind
                               at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:698:5
  15:     0x559be004d140 - core::panicking::panic_fmt::hf19c198748ef6a95
                               at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/panicking.rs:80:14
  16:     0x559be09468eb - cmake::fail::h5ffd31797e7666dd
  17:     0x559be0946572 - cmake::run::h9db521ef9ab4f16f
  18:     0x559be094c8e4 - cmake::Config::build::he94401e27a424454
  19:     0x559be028d6da - <bootstrap::core::build_steps::llvm::OmpOffload as bootstrap::core::builder::Step>::run::hda21e39e262f2e2d
                               at /checkout/src/bootstrap/src/core/build_steps/llvm.rs:1026:13
  20:     0x559be0530281 - bootstrap::core::builder::Builder::ensure::h08176a23d73e64c6
                               at /checkout/src/bootstrap/src/core/builder/mod.rs:1593:36
  21:     0x559be070e4a9 - <bootstrap::core::build_steps::compile::Assemble as bootstrap::core::builder::Step>::run::ha16f431399267035
                               at /checkout/src/bootstrap/src/core/build_steps/compile.rs:2224:43
---
  35:     0x559be004e676 - std::sys::backtrace::__rust_begin_short_backtrace::h27046ffc55333d92
                               at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/backtrace.rs:158:18
  36:     0x559be004e659 - std::rt::lang_start::{{closure}}::h987ce18149d64279
                               at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/rt.rs:206:18
  37:     0x559be0e34710 - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::hdf957eac011d0136
                               at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/ops/function.rs:287:21
  38:     0x559be0e34710 - std::panicking::catch_unwind::do_call::h9ff550f7799115e1
                               at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:590:40
  39:     0x559be0e34710 - std::panicking::catch_unwind::ha7ce46787bb12905
                               at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:553:19
---
[2025-12-15T16:36:27.423Z INFO  opt_dist::utils] Free disk space: 1.21 TiB out of total 2.18 TiB (44.38% used)
Error: Optimized build pipeline has failed

Caused by:
    Command LLVM_PROFILE_DIR=/tmp/tmp-multistage/opt-artifacts/llvm-pgo/prof-%p RUST_BACKTRACE=full python3 /checkout/x.py build --target x86_64-unknown-linux-gnu --host x86_64-unknown-linux-gnu --stage 2 library/std --set rust.llvm-bitcode-linker=false --set build.extended=false --set rust.codegen-backends=['llvm'] --set rust.deny-warnings=false --llvm-profile-generate --keep-stage 0 --keep-stage 1 [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/3af16aa82944ecf22a1d9cf8f37e6b3f8c01b6a0/src/tools/opt-dist/src/exec.rs:80:17
   2: <opt_dist::exec::Bootstrap>::run
             at /rustc/3af16aa82944ecf22a1d9cf8f37e6b3f8c01b6a0/src/tools/opt-dist/src/exec.rs:199:18
   3: opt_dist::execute_pipeline::{closure#2}::{closure#0}
             at /rustc/3af16aa82944ecf22a1d9cf8f37e6b3f8c01b6a0/src/tools/opt-dist/src/main.rs:289:22
   4: <opt_dist::timer::TimerSection>::section::<opt_dist::execute_pipeline::{closure#2}::{closure#0}, ()>
             at /rustc/3af16aa82944ecf22a1d9cf8f37e6b3f8c01b6a0/src/tools/opt-dist/src/timer.rs:111:22
   5: opt_dist::execute_pipeline::{closure#2}
             at /rustc/3af16aa82944ecf22a1d9cf8f37e6b3f8c01b6a0/src/tools/opt-dist/src/main.rs:285:19
   6: <opt_dist::timer::TimerSection>::section::<opt_dist::execute_pipeline::{closure#2}, core::option::Option<opt_dist::training::LlvmPGOProfile>>
             at /rustc/3af16aa82944ecf22a1d9cf8f37e6b3f8c01b6a0/src/tools/opt-dist/src/timer.rs:111:22
   7: opt_dist::execute_pipeline
             at /rustc/3af16aa82944ecf22a1d9cf8f37e6b3f8c01b6a0/src/tools/opt-dist/src/main.rs:279:15
   8: opt_dist::main
             at /rustc/3af16aa82944ecf22a1d9cf8f37e6b3f8c01b6a0/src/tools/opt-dist/src/main.rs:467:18
   9: <fn() -> core::result::Result<(), anyhow::Error> as core::ops::function::FnOnce<()>>::call_once
             at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/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/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/backtrace.rs:158:18
  11: std::rt::lang_start::<core::result::Result<(), anyhow::Error>>::{closure#0}
             at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/rt.rs:206:18
  12: core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once
             at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/ops/function.rs:287:21
  13: std::panicking::catch_unwind::do_call
             at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:590:40
  14: std::panicking::catch_unwind
             at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:553:19

@rust-bors
Copy link

rust-bors bot commented Dec 15, 2025

💔 Test for 3af16aa failed: CI. Failed jobs:

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-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) 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.

6 participants