[llvm] Support: Add vfs::OutputBackend and OutputFile to virtualize compiler outputs (PR #113363)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 5 10:48:35 PDT 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `openmp-offload-sles-build-only` running on `rocm-worker-hw-04-sles` while building `llvm` at step 9 "Add check check-llvm".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/140/builds/30194

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 9 (Add check check-llvm) failure: test (failure)
...
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/tools/llvm-exegesis/lib/ProgressMeter.h: In instantiation of ‘void llvm::exegesis::ProgressMeter<ClockTypeTy, <template-parameter-1-2> >::step(llvm::exegesis::ProgressMeter<ClockTypeTy, <template-parameter-1-2> >::DurationType) [with ClockTypeTy = llvm::exegesis::{anonymous}::PreprogrammedClock; <template-parameter-1-2> = void; llvm::exegesis::ProgressMeter<ClockTypeTy, <template-parameter-1-2> >::DurationType = std::chrono::duration<long int>; typename ClockTypeTy::period = std::ratio<1>; typename ClockTypeTy::rep = long int]’:
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/tools/llvm-exegesis/lib/ProgressMeter.h:86:10:   required from ‘llvm::exegesis::ProgressMeter<ClockTypeTy, <template-parameter-1-2> >::ProgressMeterStep::~ProgressMeterStep() [with ClockTypeTy = llvm::exegesis::{anonymous}::PreprogrammedClock; <template-parameter-1-2> = void]’
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/unittests/tools/llvm-exegesis/ProgressMeterTest.cpp:49:40:   required from here
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/tools/llvm-exegesis/lib/ProgressMeter.h:110:30: warning: unused variable ‘OldEta’ [-Wunused-variable]
     auto [OldProgress, OldEta] = eta();
                              ^
[678/730] Building CXX object unittests/tools/llvm-exegesis/CMakeFiles/LLVMExegesisTests.dir/RegisterValueTest.cpp.o
[679/730] Building CXX object unittests/tools/llvm-exegesis/CMakeFiles/LLVMExegesisTests.dir/ResultAggregatorTest.cpp.o
[680/730] Linking CXX executable unittests/Frontend/LLVMFrontendTests
[681/730] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/VirtualOutputConfigTest.cpp.o
FAILED: unittests/Support/CMakeFiles/SupportTests.dir/VirtualOutputConfigTest.cpp.o 
ccache /usr/bin/c++ -DGTEST_HAS_RTTI=0 -DLLVM_BUILD_STATIC -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Iunittests/Support -I/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/unittests/Support -Iinclude -I/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include -I/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/third-party/unittest/googletest/include -I/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/third-party/unittest/googlemock/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG  -Wno-dangling-else -Wno-variadic-macros -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -Wno-suggest-override -std=c++1z -MD -MT unittests/Support/CMakeFiles/SupportTests.dir/VirtualOutputConfigTest.cpp.o -MF unittests/Support/CMakeFiles/SupportTests.dir/VirtualOutputConfigTest.cpp.o.d -o unittests/Support/CMakeFiles/SupportTests.dir/VirtualOutputConfigTest.cpp.o -c /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/unittests/Support/VirtualOutputConfigTest.cpp
In file included from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/third-party/unittest/googletest/include/gtest/gtest-printers.h:122:0,
                 from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/third-party/unittest/googletest/include/gtest/gtest-matchers.h:49,
                 from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/third-party/unittest/googletest/include/gtest/internal/gtest-death-test-internal.h:47,
                 from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/third-party/unittest/googletest/include/gtest/gtest-death-test.h:43,
                 from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/third-party/unittest/googletest/include/gtest/gtest.h:65,
                 from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/unittests/Support/VirtualOutputConfigTest.cpp:11:
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/unittests/Support/VirtualOutputConfigTest.cpp: In member function ‘virtual void {anonymous}::VirtualOutputConfigTest_equals_Test::TestBody()’:
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/unittests/Support/VirtualOutputConfigTest.cpp:72:3:   in constexpr expansion of ‘llvm::vfs::OutputConfig().llvm::vfs::OutputConfig::operator==(llvm::vfs::OutputConfig())’
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/third-party/unittest/googletest/include/gtest/internal/gtest-internal.h:1493:48: internal compiler error: in cxx_eval_bit_field_ref, at cp/constexpr.c:2578
           ::testing::AssertionResult(expression))                     \
                                                ^
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/third-party/unittest/googletest/include/gtest/gtest.h:1792:3: note: in expansion of macro ‘GTEST_TEST_BOOLEAN_’
   GTEST_TEST_BOOLEAN_(condition, #condition, false, true, \
   ^~~~~~~~~~~~~~~~~~~
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/third-party/unittest/googletest/include/gtest/gtest.h:1807:32: note: in expansion of macro ‘GTEST_EXPECT_TRUE’
 #define EXPECT_TRUE(condition) GTEST_EXPECT_TRUE(condition)
                                ^~~~~~~~~~~~~~~~~
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/unittests/Support/VirtualOutputConfigTest.cpp:72:3: note: in expansion of macro ‘EXPECT_TRUE’
   EXPECT_TRUE(OutputConfig() == OutputConfig());
   ^~~~~~~~~~~
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.opensuse.org/> for instructions.
[682/730] Building CXX object unittests/tools/llvm-exegesis/CMakeFiles/LLVMExegesisTests.dir/X86/BenchmarkResultTest.cpp.o
[683/730] Building CXX object unittests/tools/llvm-exegesis/CMakeFiles/LLVMExegesisTests.dir/X86/RegisterAliasingTest.cpp.o
[684/730] Linking CXX executable unittests/XRay/XRayTests
[685/730] Linking CXX executable unittests/Transforms/Vectorize/SandboxVectorizer/SandboxVectorizerTests
[686/730] Linking CXX executable unittests/Transforms/Vectorize/VectorizeTests
[687/730] Linking CXX executable unittests/Transforms/IPO/IPOTests
[688/730] Linking CXX executable unittests/tools/llvm-cfi-verify/CFIVerifyTests
[689/730] Linking CXX executable unittests/Analysis/AnalysisTests
[690/730] Linking CXX executable unittests/Transforms/Instrumentation/InstrumentationTests
[691/730] Linking CXX executable unittests/ExecutionEngine/Orc/OrcJITTests
[692/730] Linking CXX executable unittests/Transforms/Coroutines/CoroTests
[693/730] Linking CXX executable unittests/Passes/PassBuilderBindings/PassesBindingsTests
[694/730] Linking CXX executable unittests/CodeGen/GlobalISel/GlobalISelTests
[695/730] Linking CXX executable unittests/CodeGen/CodeGenTests

```

</details>

https://github.com/llvm/llvm-project/pull/113363


More information about the llvm-commits mailing list