Skip to content

Reland check-builtins target for LLVM_ENABLE_RUNTIMES#171941

Merged
ndrewh merged 2 commits intomainfrom
revert-171940-llvm-revert-check-builtins
Jan 5, 2026
Merged

Reland check-builtins target for LLVM_ENABLE_RUNTIMES#171941
ndrewh merged 2 commits intomainfrom
revert-171940-llvm-revert-check-builtins

Conversation

@ndrewh
Copy link
Copy Markdown
Contributor

@ndrewh ndrewh commented Dec 12, 2025

Reland #166837 and #171741

(Reverts the revert in #171940)

@github-actions
Copy link
Copy Markdown

⚠️ We detected that you are using a GitHub private e-mail address to contribute to the repo.
Please turn off Keep my email addresses private setting in your account.
See LLVM Developer Policy and LLVM Discourse for more information.

@ndrewh ndrewh force-pushed the revert-171940-llvm-revert-check-builtins branch from 9d15c70 to 18ab56f Compare December 12, 2025 00:36
@ndrewh
Copy link
Copy Markdown
Contributor Author

ndrewh commented Dec 12, 2025

⚠️ We detected that you are using a GitHub private e-mail address to contribute to the repo.

fixed email + recommitted with correct email. I guess that's what I get for using the Github UI :/ I did fix my settings now

@ndrewh
Copy link
Copy Markdown
Contributor Author

ndrewh commented Dec 19, 2025

@petrhosek Have you had a chance to diagnose the armhf failures you were seeing with this change? I had a hypothesis here but I don't have a setup for building the armhf configuration so I haven't been able to test anything myself.

The output name can change depending on variables such as
LLVM_ENABLE_PER_TARGET_RUNTIME_DIR and set_output_name is used
throughout compiler-rt to correctly construct the output name.
@petrhosek
Copy link
Copy Markdown
Member

@petrhosek Have you had a chance to diagnose the armhf failures you were seeing with this change? I had a hypothesis here but I don't have a setup for building the armhf configuration so I haven't been able to test anything myself.

You're right, that logic is definitely problematic and should be fixed. The reason we haven't ran into this in the normal build though is because elsewhere we use set_output_name to correctly construct the output name. I have updated your PR to use it instead of hardcoding the name.

@ndrewh
Copy link
Copy Markdown
Contributor Author

ndrewh commented Jan 3, 2026

The last time we landed this there were also issues on the powerpc bots, which appear unrelated. I think I will have to look at how to fix these first.

LLVM Buildbot has detected a new failure on builder clang-ppc64-aix running on aix-ppc64 while building llvm at step 6 "test-build-unified-tree-check-all".

https://lab.llvm.org/buildbot/#/builders/64/builds/6777

LLVM Buildbot has detected a new failure on builder clang-ppc64le-rhel running on ppc64le-clang-rhel-test while building llvm at step 6 "test-build-unified-tree-check-all".

https://lab.llvm.org/buildbot/#/builders/145/builds/11398

If we generously assume that the builtins are not broken under the old-style build, this seems to point to another mismatch between the lib/builtins/ and test/builtins/ config causing this -- I will see if I can spot it next week.

@w2yehia
Copy link
Copy Markdown
Contributor

w2yehia commented Jan 5, 2026

Hi @ndrewh , regarding the powerpc failures on RHEL and AIX those should be gone if you rebase on 4cba804.
I tested commit 4cba804 with your changes (from this PR) on both AIX and RHEL and it was clean.

@w2yehia
Copy link
Copy Markdown
Contributor

w2yehia commented Jan 5, 2026

for reference, commit c956ac3 adds the fixup for config.compiler_rt_libdir on AIX.
Without it, you would get those failures on the AIX buildbot that you referenced above.

@ndrewh
Copy link
Copy Markdown
Contributor Author

ndrewh commented Jan 5, 2026

Oh, awesome, thanks! I'll just merge this then and watch the bots.

@ndrewh ndrewh merged commit d1aca4b into main Jan 5, 2026
10 checks passed
@ndrewh ndrewh deleted the revert-171940-llvm-revert-check-builtins branch January 5, 2026 16:01
@llvm-ci
Copy link
Copy Markdown

llvm-ci commented Jan 5, 2026

LLVM Buildbot has detected a new failure on builder clang-m68k-linux-cross running on suse-gary-m68k-cross while building compiler-rt,llvm at step 5 "ninja check 1".

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

Here is the relevant piece of the build log for the reference
Step 5 (ninja check 1) failure: stage 1 checked (failure)
...
[188/1251] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Analysis/FlowSensitive/ArenaTest.cpp.o
[189/1251] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Analysis/FlowSensitive/FormulaTest.cpp.o
[190/1251] Building CXX object tools/clang/tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/XRefsTests.cpp.o
[191/1251] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Driver/ToolChainTest.cpp.o
[192/1251] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Analysis/FlowSensitive/DataflowAnalysisContextTest.cpp.o
[193/1251] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Analysis/CloneDetectionTest.cpp.o
[194/1251] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Analysis/MacroExpansionContextTest.cpp.o
[195/1251] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/DependencyScanning/DependencyScanningWorkerTest.cpp.o
[196/1251] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Analysis/FlowSensitive/ValueTest.cpp.o
[197/1251] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Analysis/IntervalPartitionTest.cpp.o
FAILED: tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Analysis/IntervalPartitionTest.cpp.o 
/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 -I/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/tools/clang/unittests -I/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang/unittests -I/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang/include -I/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/tools/clang/include -I/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/include -I/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/llvm/include -I/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang/unittests/Tooling -I/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/third-party/unittest/googletest/include -I/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/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-class-memaccess -Wno-dangling-reference -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -O3 -DNDEBUG -std=c++17 -UNDEBUG -Wno-variadic-macros -fno-exceptions -funwind-tables -fno-rtti -Wno-suggest-override -MD -MT tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Analysis/IntervalPartitionTest.cpp.o -MF tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Analysis/IntervalPartitionTest.cpp.o.d -o tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Analysis/IntervalPartitionTest.cpp.o -c /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang/unittests/Analysis/IntervalPartitionTest.cpp
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
[198/1251] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Analysis/FlowSensitive/DataflowEnvironmentTest.cpp.o
FAILED: tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Analysis/FlowSensitive/DataflowEnvironmentTest.cpp.o 
/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 -I/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/tools/clang/unittests -I/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang/unittests -I/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang/include -I/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/tools/clang/include -I/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/include -I/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/llvm/include -I/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang/unittests/Tooling -I/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/third-party/unittest/googletest/include -I/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/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-class-memaccess -Wno-dangling-reference -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -O3 -DNDEBUG -std=c++17 -UNDEBUG -Wno-variadic-macros -fno-exceptions -funwind-tables -fno-rtti -Wno-suggest-override -MD -MT tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Analysis/FlowSensitive/DataflowEnvironmentTest.cpp.o -MF tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Analysis/FlowSensitive/DataflowEnvironmentTest.cpp.o.d -o tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Analysis/FlowSensitive/DataflowEnvironmentTest.cpp.o -c /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang/unittests/Analysis/FlowSensitive/DataflowEnvironmentTest.cpp
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
[199/1251] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Analysis/FlowSensitive/DeterminismTest.cpp.o
[200/1251] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Analysis/FlowSensitive/MatchSwitchTest.cpp.o
[201/1251] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Analysis/FlowSensitive/MapLatticeTest.cpp.o
[202/1251] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/StaticAnalyzer/AnalyzerOptionsTest.cpp.o
[203/1251] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Analysis/FlowSensitive/LoggerTest.cpp.o
[204/1251] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Analysis/FlowSensitive/DebugSupportTest.cpp.o
[205/1251] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Analysis/FlowSensitive/SmartPointerAccessorCachingTest.cpp.o
[206/1251] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/StaticAnalyzer/APSIntTypeTest.cpp.o
[207/1251] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Analysis/FlowSensitive/CachedConstAccessorsLatticeTest.cpp.o
[208/1251] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Analysis/CFGTest.cpp.o
[209/1251] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Analysis/FlowSensitive/CFGMatchSwitchTest.cpp.o
[210/1251] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/StaticAnalyzer/BlockEntranceCallbackTest.cpp.o
[211/1251] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Analysis/FlowSensitive/SimplifyConstraintsTest.cpp.o
[212/1251] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Analysis/CFGDominatorTree.cpp.o
[213/1251] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Analysis/FlowSensitive/ChromiumCheckModelTest.cpp.o
[214/1251] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Analysis/LifetimeSafetyTest.cpp.o
/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang/unittests/Analysis/LifetimeSafetyTest.cpp: In instantiation of ‘bool clang::lifetimes::internal::{anonymous}::AreLiveAtImplMatcherP2<Annotation_type, ConfFilter_type>::gmock_Impl<arg_type>::MatchAndExplain(const arg_type&, testing::MatchResultListener*) const [with arg_type = const clang::lifetimes::internal::{anonymous}::OriginsInfo&; Annotation_type = const char*; ConfFilter_type = clang::lifetimes::internal::{anonymous}::LivenessKindFilter]’:
/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang/unittests/Analysis/LifetimeSafetyTest.cpp:310:1:   required from here
  310 | MATCHER_P2(AreLiveAtImpl, Annotation, ConfFilter, "") {
/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang/unittests/Analysis/LifetimeSafetyTest.cpp:320:19: warning: loop variable ‘<structured bindings>’ creates a copy from type ‘const std::pair<clang::lifetimes::internal::utils::ID<clang::lifetimes::internal::OriginTag>, clang::lifetimes::internal::LivenessKind>’ [-Wrange-loop-construct]
  320 |   for (const auto [OID, ActualConfidence] : ActualLiveSetOpt.value()) {
      |                   ^~~~~~~~~~~~~~~~~~~~~~~
/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang/unittests/Analysis/LifetimeSafetyTest.cpp:320:19: note: use reference type to prevent copying
  320 |   for (const auto [OID, ActualConfidence] : ActualLiveSetOpt.value()) {
      |                   ^~~~~~~~~~~~~~~~~~~~~~~
      |                   &
[215/1251] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Analysis/FlowSensitive/RecordOpsTest.cpp.o
[216/1251] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Analysis/FlowSensitive/ASTOpsTest.cpp.o
[217/1251] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Analysis/FlowSensitive/TestingSupport.cpp.o
[218/1251] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Analysis/FlowSensitive/TransferBranchTest.cpp.o

@llvm-ci
Copy link
Copy Markdown

llvm-ci commented Jan 5, 2026

LLVM Buildbot has detected a new failure on builder sanitizer-x86_64-linux running on sanitizer-buildbot1 while building compiler-rt,llvm at step 2 "annotate".

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

Here is the relevant piece of the build log for the reference
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
llvm-lit: /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/lit.common.cfg.py:249: warning: COMPILER_RT_TEST_STANDALONE_BUILD_LIBS=ON, but this test suite does not support testing the just-built runtime libraries when the test compiler is configured to use different runtime libraries. Either modify this test suite to support this test configuration, or set COMPILER_RT_TEST_STANDALONE_BUILD_LIBS=OFF to test the runtime libraries included in the compiler instead.
llvm-lit: /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/lit.common.cfg.py:260: note: Testing using libraries in "/home/b/sanitizer-x86_64-linux/build/build_default/./lib/../lib/clang/22/lib/i386-unknown-linux-gnu"
llvm-lit: /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/lit.common.cfg.py:238: warning: Compiler lib dir != compiler-rt lib dir
Compiler libdir:     "/home/b/sanitizer-x86_64-linux/build/build_default/lib/clang/22/lib/i386-unknown-linux-gnu"
compiler-rt libdir:  "/home/b/sanitizer-x86_64-linux/build/build_default/lib/clang/22/lib/x86_64-unknown-linux-gnu"
llvm-lit: /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/lit.common.cfg.py:249: warning: COMPILER_RT_TEST_STANDALONE_BUILD_LIBS=ON, but this test suite does not support testing the just-built runtime libraries when the test compiler is configured to use different runtime libraries. Either modify this test suite to support this test configuration, or set COMPILER_RT_TEST_STANDALONE_BUILD_LIBS=OFF to test the runtime libraries included in the compiler instead.
llvm-lit: /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/lit.common.cfg.py:260: note: Testing using libraries in "/home/b/sanitizer-x86_64-linux/build/build_default/./lib/../lib/clang/22/lib/x86_64-unknown-linux-gnu"
llvm-lit: /home/b/sanitizer-x86_64-linux/build/llvm-project/llvm/utils/lit/lit/main.py:74: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 11135 tests, 64 workers --
Testing:  0.. 10.. 20.
FAIL: Builtins-i386-linux :: addtf3_test.c (2935 of 11135)
******************** TEST 'Builtins-i386-linux :: addtf3_test.c' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/b/sanitizer-x86_64-linux/build/build_default/./bin/clang   -gline-tables-only  -m32 -DCOMPILER_RT_HAS_FLOAT16  -fno-builtin -I /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/builtins -nodefaultlibs /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/builtins/Unit/addtf3_test.c /home/b/sanitizer-x86_64-linux/build/build_default/./lib/../lib/clang/22/lib/i386-unknown-linux-gnu/libclang_rt.builtins.a -lc -lm -o /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/builtins/Unit/I386LinuxConfig/Output/addtf3_test.c.tmp &&  /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/builtins/Unit/I386LinuxConfig/Output/addtf3_test.c.tmp
# executed command: /home/b/sanitizer-x86_64-linux/build/build_default/./bin/clang -gline-tables-only -m32 -DCOMPILER_RT_HAS_FLOAT16 -fno-builtin -I /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/builtins -nodefaultlibs /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/builtins/Unit/addtf3_test.c /home/b/sanitizer-x86_64-linux/build/build_default/./lib/../lib/clang/22/lib/i386-unknown-linux-gnu/libclang_rt.builtins.a -lc -lm -o /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/builtins/Unit/I386LinuxConfig/Output/addtf3_test.c.tmp
# .---command stderr------------
# | /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/builtins/Unit/addtf3_test.c:21:13: error: call to undeclared function 'compareResultF128'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
# |    21 |   int ret = compareResultF128(x, expectedHi, expectedLo);
# |       |             ^
# | /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/builtins/Unit/addtf3_test.c:26:21: error: call to undeclared function 'fromRep128'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
# |    26 |            a, b, x, fromRep128(expectedHi, expectedLo));
# |       |                     ^
# | /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/builtins/Unit/addtf3_test.c:39:20: error: call to undeclared function 'makeQNaN128'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
# |    39 |   if (test__addtf3(makeQNaN128(), 0x1.23456789abcdefp+5L,
# |       |                    ^
# | /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/builtins/Unit/addtf3_test.c:43:20: error: call to undeclared function 'makeNaN128'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
# |    43 |   if (test__addtf3(makeNaN128(UINT64_C(0x800030000000)),
# |       |                    ^
# | /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/builtins/Unit/addtf3_test.c:48:20: error: call to undeclared function 'makeInf128'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
# |    48 |   if (test__addtf3(makeInf128(), makeInf128(), UINT64_C(0x7fff000000000000),
# |       |                    ^
# | /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/builtins/Unit/addtf3_test.c:69:7: error: call to undeclared function 'fromRep128'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
# |    69 |       fromRep128(UINT64_C(0x4009348000000000), UINT64_C(0x0000000000000000));
# |       |       ^
# | 6 errors generated.
# `-----------------------------
# error: command failed with exit status: 1

--

********************
Testing:  0.. 10.. 20.
FAIL: Builtins-i386-linux :: divtf3_test.c (2985 of 11135)
******************** TEST 'Builtins-i386-linux :: divtf3_test.c' FAILED ********************
Exit Code: 1
Step 9 (test compiler-rt symbolizer) failure: test compiler-rt symbolizer (failure)
...
llvm-lit: /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/lit.common.cfg.py:249: warning: COMPILER_RT_TEST_STANDALONE_BUILD_LIBS=ON, but this test suite does not support testing the just-built runtime libraries when the test compiler is configured to use different runtime libraries. Either modify this test suite to support this test configuration, or set COMPILER_RT_TEST_STANDALONE_BUILD_LIBS=OFF to test the runtime libraries included in the compiler instead.
llvm-lit: /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/lit.common.cfg.py:260: note: Testing using libraries in "/home/b/sanitizer-x86_64-linux/build/build_default/./lib/../lib/clang/22/lib/i386-unknown-linux-gnu"
llvm-lit: /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/lit.common.cfg.py:238: warning: Compiler lib dir != compiler-rt lib dir
Compiler libdir:     "/home/b/sanitizer-x86_64-linux/build/build_default/lib/clang/22/lib/i386-unknown-linux-gnu"
compiler-rt libdir:  "/home/b/sanitizer-x86_64-linux/build/build_default/lib/clang/22/lib/x86_64-unknown-linux-gnu"
llvm-lit: /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/lit.common.cfg.py:249: warning: COMPILER_RT_TEST_STANDALONE_BUILD_LIBS=ON, but this test suite does not support testing the just-built runtime libraries when the test compiler is configured to use different runtime libraries. Either modify this test suite to support this test configuration, or set COMPILER_RT_TEST_STANDALONE_BUILD_LIBS=OFF to test the runtime libraries included in the compiler instead.
llvm-lit: /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/lit.common.cfg.py:260: note: Testing using libraries in "/home/b/sanitizer-x86_64-linux/build/build_default/./lib/../lib/clang/22/lib/x86_64-unknown-linux-gnu"
llvm-lit: /home/b/sanitizer-x86_64-linux/build/llvm-project/llvm/utils/lit/lit/main.py:74: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 11135 tests, 64 workers --
Testing:  0.. 10.. 20.
FAIL: Builtins-i386-linux :: addtf3_test.c (2935 of 11135)
******************** TEST 'Builtins-i386-linux :: addtf3_test.c' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/b/sanitizer-x86_64-linux/build/build_default/./bin/clang   -gline-tables-only  -m32 -DCOMPILER_RT_HAS_FLOAT16  -fno-builtin -I /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/builtins -nodefaultlibs /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/builtins/Unit/addtf3_test.c /home/b/sanitizer-x86_64-linux/build/build_default/./lib/../lib/clang/22/lib/i386-unknown-linux-gnu/libclang_rt.builtins.a -lc -lm -o /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/builtins/Unit/I386LinuxConfig/Output/addtf3_test.c.tmp &&  /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/builtins/Unit/I386LinuxConfig/Output/addtf3_test.c.tmp
# executed command: /home/b/sanitizer-x86_64-linux/build/build_default/./bin/clang -gline-tables-only -m32 -DCOMPILER_RT_HAS_FLOAT16 -fno-builtin -I /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/builtins -nodefaultlibs /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/builtins/Unit/addtf3_test.c /home/b/sanitizer-x86_64-linux/build/build_default/./lib/../lib/clang/22/lib/i386-unknown-linux-gnu/libclang_rt.builtins.a -lc -lm -o /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/builtins/Unit/I386LinuxConfig/Output/addtf3_test.c.tmp
# .---command stderr------------
# | /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/builtins/Unit/addtf3_test.c:21:13: error: call to undeclared function 'compareResultF128'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
# |    21 |   int ret = compareResultF128(x, expectedHi, expectedLo);
# |       |             ^
# | /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/builtins/Unit/addtf3_test.c:26:21: error: call to undeclared function 'fromRep128'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
# |    26 |            a, b, x, fromRep128(expectedHi, expectedLo));
# |       |                     ^
# | /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/builtins/Unit/addtf3_test.c:39:20: error: call to undeclared function 'makeQNaN128'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
# |    39 |   if (test__addtf3(makeQNaN128(), 0x1.23456789abcdefp+5L,
# |       |                    ^
# | /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/builtins/Unit/addtf3_test.c:43:20: error: call to undeclared function 'makeNaN128'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
# |    43 |   if (test__addtf3(makeNaN128(UINT64_C(0x800030000000)),
# |       |                    ^
# | /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/builtins/Unit/addtf3_test.c:48:20: error: call to undeclared function 'makeInf128'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
# |    48 |   if (test__addtf3(makeInf128(), makeInf128(), UINT64_C(0x7fff000000000000),
# |       |                    ^
# | /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/builtins/Unit/addtf3_test.c:69:7: error: call to undeclared function 'fromRep128'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
# |    69 |       fromRep128(UINT64_C(0x4009348000000000), UINT64_C(0x0000000000000000));
# |       |       ^
# | 6 errors generated.
# `-----------------------------
# error: command failed with exit status: 1

--

********************
Testing:  0.. 10.. 20.
FAIL: Builtins-i386-linux :: divtf3_test.c (2985 of 11135)
******************** TEST 'Builtins-i386-linux :: divtf3_test.c' FAILED ********************
Exit Code: 1
Step 11 (test compiler-rt debug) failure: test compiler-rt debug (failure)
...
llvm-lit: /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/lit.common.cfg.py:249: warning: COMPILER_RT_TEST_STANDALONE_BUILD_LIBS=ON, but this test suite does not support testing the just-built runtime libraries when the test compiler is configured to use different runtime libraries. Either modify this test suite to support this test configuration, or set COMPILER_RT_TEST_STANDALONE_BUILD_LIBS=OFF to test the runtime libraries included in the compiler instead.
llvm-lit: /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/lit.common.cfg.py:260: note: Testing using libraries in "/home/b/sanitizer-x86_64-linux/build/build_default/./lib/../lib/clang/22/lib/i386-unknown-linux-gnu"
llvm-lit: /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/lit.common.cfg.py:238: warning: Compiler lib dir != compiler-rt lib dir
Compiler libdir:     "/home/b/sanitizer-x86_64-linux/build/build_default/lib/clang/22/lib/i386-unknown-linux-gnu"
compiler-rt libdir:  "/home/b/sanitizer-x86_64-linux/build/build_default/lib/clang/22/lib/x86_64-unknown-linux-gnu"
llvm-lit: /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/lit.common.cfg.py:249: warning: COMPILER_RT_TEST_STANDALONE_BUILD_LIBS=ON, but this test suite does not support testing the just-built runtime libraries when the test compiler is configured to use different runtime libraries. Either modify this test suite to support this test configuration, or set COMPILER_RT_TEST_STANDALONE_BUILD_LIBS=OFF to test the runtime libraries included in the compiler instead.
llvm-lit: /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/lit.common.cfg.py:260: note: Testing using libraries in "/home/b/sanitizer-x86_64-linux/build/build_default/./lib/../lib/clang/22/lib/x86_64-unknown-linux-gnu"
llvm-lit: /home/b/sanitizer-x86_64-linux/build/llvm-project/llvm/utils/lit/lit/main.py:74: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 5123 of 11118 tests, 64 workers --
Testing: 
FAIL: Builtins-i386-linux :: addtf3_test.c (27 of 5123)
******************** TEST 'Builtins-i386-linux :: addtf3_test.c' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/b/sanitizer-x86_64-linux/build/build_default/./bin/clang   -gline-tables-only  -m32 -DCOMPILER_RT_HAS_FLOAT16  -fno-builtin -I /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/builtins -nodefaultlibs /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/builtins/Unit/addtf3_test.c /home/b/sanitizer-x86_64-linux/build/build_default/./lib/../lib/clang/22/lib/i386-unknown-linux-gnu/libclang_rt.builtins.a -lc -lm -o /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/builtins/Unit/I386LinuxConfig/Output/addtf3_test.c.tmp &&  /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/builtins/Unit/I386LinuxConfig/Output/addtf3_test.c.tmp
# executed command: /home/b/sanitizer-x86_64-linux/build/build_default/./bin/clang -gline-tables-only -m32 -DCOMPILER_RT_HAS_FLOAT16 -fno-builtin -I /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/builtins -nodefaultlibs /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/builtins/Unit/addtf3_test.c /home/b/sanitizer-x86_64-linux/build/build_default/./lib/../lib/clang/22/lib/i386-unknown-linux-gnu/libclang_rt.builtins.a -lc -lm -o /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/builtins/Unit/I386LinuxConfig/Output/addtf3_test.c.tmp
# .---command stderr------------
# | /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/builtins/Unit/addtf3_test.c:21:13: error: call to undeclared function 'compareResultF128'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
# |    21 |   int ret = compareResultF128(x, expectedHi, expectedLo);
# |       |             ^
# | /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/builtins/Unit/addtf3_test.c:26:21: error: call to undeclared function 'fromRep128'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
# |    26 |            a, b, x, fromRep128(expectedHi, expectedLo));
# |       |                     ^
# | /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/builtins/Unit/addtf3_test.c:39:20: error: call to undeclared function 'makeQNaN128'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
# |    39 |   if (test__addtf3(makeQNaN128(), 0x1.23456789abcdefp+5L,
# |       |                    ^
# | /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/builtins/Unit/addtf3_test.c:43:20: error: call to undeclared function 'makeNaN128'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
# |    43 |   if (test__addtf3(makeNaN128(UINT64_C(0x800030000000)),
# |       |                    ^
# | /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/builtins/Unit/addtf3_test.c:48:20: error: call to undeclared function 'makeInf128'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
# |    48 |   if (test__addtf3(makeInf128(), makeInf128(), UINT64_C(0x7fff000000000000),
# |       |                    ^
# | /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/builtins/Unit/addtf3_test.c:69:7: error: call to undeclared function 'fromRep128'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
# |    69 |       fromRep128(UINT64_C(0x4009348000000000), UINT64_C(0x0000000000000000));
# |       |       ^
# | 6 errors generated.
# `-----------------------------
# error: command failed with exit status: 1

--

********************
Testing: 
FAIL: Builtins-i386-linux :: divtf3_test.c (46 of 5123)
******************** TEST 'Builtins-i386-linux :: divtf3_test.c' FAILED ********************
Exit Code: 1
Step 14 (test compiler-rt default) failure: test compiler-rt default (failure)
...
llvm-lit: /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/lit.common.cfg.py:249: warning: COMPILER_RT_TEST_STANDALONE_BUILD_LIBS=ON, but this test suite does not support testing the just-built runtime libraries when the test compiler is configured to use different runtime libraries. Either modify this test suite to support this test configuration, or set COMPILER_RT_TEST_STANDALONE_BUILD_LIBS=OFF to test the runtime libraries included in the compiler instead.
llvm-lit: /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/lit.common.cfg.py:260: note: Testing using libraries in "/home/b/sanitizer-x86_64-linux/build/build_default/./lib/../lib/clang/22/lib/i386-unknown-linux-gnu"
llvm-lit: /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/lit.common.cfg.py:238: warning: Compiler lib dir != compiler-rt lib dir
Compiler libdir:     "/home/b/sanitizer-x86_64-linux/build/build_default/lib/clang/22/lib/i386-unknown-linux-gnu"
compiler-rt libdir:  "/home/b/sanitizer-x86_64-linux/build/build_default/lib/clang/22/lib/x86_64-unknown-linux-gnu"
llvm-lit: /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/lit.common.cfg.py:249: warning: COMPILER_RT_TEST_STANDALONE_BUILD_LIBS=ON, but this test suite does not support testing the just-built runtime libraries when the test compiler is configured to use different runtime libraries. Either modify this test suite to support this test configuration, or set COMPILER_RT_TEST_STANDALONE_BUILD_LIBS=OFF to test the runtime libraries included in the compiler instead.
llvm-lit: /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/lit.common.cfg.py:260: note: Testing using libraries in "/home/b/sanitizer-x86_64-linux/build/build_default/./lib/../lib/clang/22/lib/x86_64-unknown-linux-gnu"
llvm-lit: /home/b/sanitizer-x86_64-linux/build/llvm-project/llvm/utils/lit/lit/main.py:74: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 11135 tests, 64 workers --
Testing:  0.. 10.. 20.
FAIL: Builtins-i386-linux :: addtf3_test.c (2932 of 11135)
******************** TEST 'Builtins-i386-linux :: addtf3_test.c' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/b/sanitizer-x86_64-linux/build/build_default/./bin/clang   -gline-tables-only  -m32 -DCOMPILER_RT_HAS_FLOAT16  -fno-builtin -I /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/builtins -nodefaultlibs /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/builtins/Unit/addtf3_test.c /home/b/sanitizer-x86_64-linux/build/build_default/./lib/../lib/clang/22/lib/i386-unknown-linux-gnu/libclang_rt.builtins.a -lc -lm -o /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/builtins/Unit/I386LinuxConfig/Output/addtf3_test.c.tmp &&  /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/builtins/Unit/I386LinuxConfig/Output/addtf3_test.c.tmp
# executed command: /home/b/sanitizer-x86_64-linux/build/build_default/./bin/clang -gline-tables-only -m32 -DCOMPILER_RT_HAS_FLOAT16 -fno-builtin -I /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/builtins -nodefaultlibs /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/builtins/Unit/addtf3_test.c /home/b/sanitizer-x86_64-linux/build/build_default/./lib/../lib/clang/22/lib/i386-unknown-linux-gnu/libclang_rt.builtins.a -lc -lm -o /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/builtins/Unit/I386LinuxConfig/Output/addtf3_test.c.tmp
# .---command stderr------------
# | /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/builtins/Unit/addtf3_test.c:21:13: error: call to undeclared function 'compareResultF128'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
# |    21 |   int ret = compareResultF128(x, expectedHi, expectedLo);
# |       |             ^
# | /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/builtins/Unit/addtf3_test.c:26:21: error: call to undeclared function 'fromRep128'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
# |    26 |            a, b, x, fromRep128(expectedHi, expectedLo));
# |       |                     ^
# | /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/builtins/Unit/addtf3_test.c:39:20: error: call to undeclared function 'makeQNaN128'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
# |    39 |   if (test__addtf3(makeQNaN128(), 0x1.23456789abcdefp+5L,
# |       |                    ^
# | /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/builtins/Unit/addtf3_test.c:43:20: error: call to undeclared function 'makeNaN128'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
# |    43 |   if (test__addtf3(makeNaN128(UINT64_C(0x800030000000)),
# |       |                    ^
# | /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/builtins/Unit/addtf3_test.c:48:20: error: call to undeclared function 'makeInf128'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
# |    48 |   if (test__addtf3(makeInf128(), makeInf128(), UINT64_C(0x7fff000000000000),
# |       |                    ^
# | /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/builtins/Unit/addtf3_test.c:69:7: error: call to undeclared function 'fromRep128'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
# |    69 |       fromRep128(UINT64_C(0x4009348000000000), UINT64_C(0x0000000000000000));
# |       |       ^
# | 6 errors generated.
# `-----------------------------
# error: command failed with exit status: 1

--

********************
Testing:  0.. 10.. 20.
FAIL: Builtins-i386-linux :: divtf3_test.c (2981 of 11135)
******************** TEST 'Builtins-i386-linux :: divtf3_test.c' FAILED ********************
Exit Code: 1

ndrewh added a commit to ndrewh/llvm-project that referenced this pull request Jan 5, 2026
…mpiler-rt build

```
Target ${BUILTIN_LIB_TARGET_NAME} does not exist"
```

...during CMake configure. This appears to be caused by mismatch between
the builtin library's target name and the output name from set_output_name.

This makes sure that old-style builds still use the old target name
for the builtins target (Reverts the change to BUILTIN_LIB_TARGET_NAME
made by llvm#171941), but use the output name for naming the .sources.txt
file used for configuring builtins tests.
ndrewh added a commit to ndrewh/llvm-project that referenced this pull request Jan 5, 2026
…mpiler-rt build

After llvm#171941, some buildbots that use the old-style build are failing with:

```
Target ${BUILTIN_LIB_TARGET_NAME} does not exist"
```

...during CMake configure. This appears to be caused by mismatch between
the builtin library's target name and the output name from set_output_name.

This makes sure that old-style builds still use the old target name
for the builtins target (Reverts the change to BUILTIN_LIB_TARGET_NAME
made by llvm#171941), but use the output name for naming the .sources.txt
file used for configuring builtins tests.
@ndrewh
Copy link
Copy Markdown
Contributor Author

ndrewh commented Jan 5, 2026

In addition to the above two, there is also https://lab.llvm.org/buildbot/#/builders/139/builds/25097 which fails with

CMake Error at /home/b/sanitizer-x86_64-linux-qemu/build/llvm-project/compiler-rt/test/builtins/CMakeLists.txt:104 (message):
  Target clang_rt.builtins does not exist

I think #174443 is the fix for that.

@llvm-ci
Copy link
Copy Markdown

llvm-ci commented Jan 5, 2026

LLVM Buildbot has detected a new failure on builder sanitizer-x86_64-linux-fast running on sanitizer-buildbot3 while building compiler-rt,llvm at step 2 "annotate".

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

Here is the relevant piece of the build log for the reference
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:561: note: using lld-link: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:561: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:561: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:561: note: using ld.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/ld.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:561: note: using lld-link: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:561: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:561: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/main.py:74: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 94994 tests, 64 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.
FAIL: LLVM :: CodeGen/X86/basic-block-sections-clusters-bb-hash.ll (26180 of 94994)
******************** TEST 'LLVM :: CodeGen/X86/basic-block-sections-clusters-bb-hash.ll' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 11
/home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/llc /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/X86/basic-block-sections-clusters-bb-hash.ll -O0 -mtriple=x86_64-pc-linux -function-sections -filetype=obj -basic-block-address-map -emit-bb-hash -o /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/test/CodeGen/X86/Output/basic-block-sections-clusters-bb-hash.ll.tmp.o
# executed command: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/llc /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/X86/basic-block-sections-clusters-bb-hash.ll -O0 -mtriple=x86_64-pc-linux -function-sections -filetype=obj -basic-block-address-map -emit-bb-hash -o /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/test/CodeGen/X86/Output/basic-block-sections-clusters-bb-hash.ll.tmp.o
# note: command had no output on stdout or stderr
# RUN: at line 16
echo 'v1' > /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/test/CodeGen/X86/Output/basic-block-sections-clusters-bb-hash.ll.tmp1
# executed command: echo v1
# note: command had no output on stdout or stderr
# RUN: at line 17
echo 'f foo' >> /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/test/CodeGen/X86/Output/basic-block-sections-clusters-bb-hash.ll.tmp1
# executed command: echo 'f foo'
# note: command had no output on stdout or stderr
# RUN: at line 18
echo 'g 0:100,1:100,2:0 1:100,3:100 2:0,3:0 3:100' >> /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/test/CodeGen/X86/Output/basic-block-sections-clusters-bb-hash.ll.tmp1
# executed command: echo 'g 0:100,1:100,2:0 1:100,3:100 2:0,3:0 3:100'
# note: command had no output on stdout or stderr
# RUN: at line 22
/home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/llvm-readobj /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/test/CodeGen/X86/Output/basic-block-sections-clusters-bb-hash.ll.tmp.o --bb-addr-map |  awk 'BEGIN {printf "h"}      /ID: [0-9]+/ {id=$2}      /Hash: 0x[0-9A-Fa-f]+/ {gsub(/^0x/, "", $2); hash=$2; printf " %s:%s", id, hash}      END {print ""}'  >> /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/test/CodeGen/X86/Output/basic-block-sections-clusters-bb-hash.ll.tmp1
# executed command: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/llvm-readobj /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/test/CodeGen/X86/Output/basic-block-sections-clusters-bb-hash.ll.tmp.o --bb-addr-map
# note: command had no output on stdout or stderr
# executed command: awk 'BEGIN {printf "h"}      /ID: [0-9]+/ {id=$2}      /Hash: 0x[0-9A-Fa-f]+/ {gsub(/^0x/, "", $2); hash=$2; printf " %s:%s", id, hash}      END {print ""}'
# note: command had no output on stdout or stderr
# RUN: at line 29
/home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/llc < /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/X86/basic-block-sections-clusters-bb-hash.ll -O0 -mtriple=x86_64-pc-linux -function-sections -basic-block-sections=/home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/test/CodeGen/X86/Output/basic-block-sections-clusters-bb-hash.ll.tmp1 -basic-block-section-match-infer |  /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/FileCheck /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/X86/basic-block-sections-clusters-bb-hash.ll -check-prefixes=CHECK,LINUX-SECTIONS1
# executed command: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/llc -O0 -mtriple=x86_64-pc-linux -function-sections -basic-block-sections=/home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/test/CodeGen/X86/Output/basic-block-sections-clusters-bb-hash.ll.tmp1 -basic-block-section-match-infer
# note: command had no output on stdout or stderr
# executed command: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/FileCheck /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/X86/basic-block-sections-clusters-bb-hash.ll -check-prefixes=CHECK,LINUX-SECTIONS1
# .---command stderr------------
# | /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/X86/basic-block-sections-clusters-bb-hash.ll:80:26: error: LINUX-SECTIONS1-LABEL: expected string not found in input
# | ; LINUX-SECTIONS1-LABEL: # %bb.1:
# |                          ^
# | <stdin>:6:5: note: scanning from here
# | foo: # @foo
Step 14 (stage2/msan check) failure: stage2/msan check (failure)
...
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:561: note: using lld-link: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:561: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:561: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:561: note: using ld.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/ld.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:561: note: using lld-link: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:561: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:561: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/main.py:74: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 94994 tests, 64 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.
FAIL: LLVM :: CodeGen/X86/basic-block-sections-clusters-bb-hash.ll (26180 of 94994)
******************** TEST 'LLVM :: CodeGen/X86/basic-block-sections-clusters-bb-hash.ll' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 11
/home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/llc /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/X86/basic-block-sections-clusters-bb-hash.ll -O0 -mtriple=x86_64-pc-linux -function-sections -filetype=obj -basic-block-address-map -emit-bb-hash -o /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/test/CodeGen/X86/Output/basic-block-sections-clusters-bb-hash.ll.tmp.o
# executed command: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/llc /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/X86/basic-block-sections-clusters-bb-hash.ll -O0 -mtriple=x86_64-pc-linux -function-sections -filetype=obj -basic-block-address-map -emit-bb-hash -o /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/test/CodeGen/X86/Output/basic-block-sections-clusters-bb-hash.ll.tmp.o
# note: command had no output on stdout or stderr
# RUN: at line 16
echo 'v1' > /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/test/CodeGen/X86/Output/basic-block-sections-clusters-bb-hash.ll.tmp1
# executed command: echo v1
# note: command had no output on stdout or stderr
# RUN: at line 17
echo 'f foo' >> /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/test/CodeGen/X86/Output/basic-block-sections-clusters-bb-hash.ll.tmp1
# executed command: echo 'f foo'
# note: command had no output on stdout or stderr
# RUN: at line 18
echo 'g 0:100,1:100,2:0 1:100,3:100 2:0,3:0 3:100' >> /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/test/CodeGen/X86/Output/basic-block-sections-clusters-bb-hash.ll.tmp1
# executed command: echo 'g 0:100,1:100,2:0 1:100,3:100 2:0,3:0 3:100'
# note: command had no output on stdout or stderr
# RUN: at line 22
/home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/llvm-readobj /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/test/CodeGen/X86/Output/basic-block-sections-clusters-bb-hash.ll.tmp.o --bb-addr-map |  awk 'BEGIN {printf "h"}      /ID: [0-9]+/ {id=$2}      /Hash: 0x[0-9A-Fa-f]+/ {gsub(/^0x/, "", $2); hash=$2; printf " %s:%s", id, hash}      END {print ""}'  >> /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/test/CodeGen/X86/Output/basic-block-sections-clusters-bb-hash.ll.tmp1
# executed command: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/llvm-readobj /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/test/CodeGen/X86/Output/basic-block-sections-clusters-bb-hash.ll.tmp.o --bb-addr-map
# note: command had no output on stdout or stderr
# executed command: awk 'BEGIN {printf "h"}      /ID: [0-9]+/ {id=$2}      /Hash: 0x[0-9A-Fa-f]+/ {gsub(/^0x/, "", $2); hash=$2; printf " %s:%s", id, hash}      END {print ""}'
# note: command had no output on stdout or stderr
# RUN: at line 29
/home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/llc < /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/X86/basic-block-sections-clusters-bb-hash.ll -O0 -mtriple=x86_64-pc-linux -function-sections -basic-block-sections=/home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/test/CodeGen/X86/Output/basic-block-sections-clusters-bb-hash.ll.tmp1 -basic-block-section-match-infer |  /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/FileCheck /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/X86/basic-block-sections-clusters-bb-hash.ll -check-prefixes=CHECK,LINUX-SECTIONS1
# executed command: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/llc -O0 -mtriple=x86_64-pc-linux -function-sections -basic-block-sections=/home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/test/CodeGen/X86/Output/basic-block-sections-clusters-bb-hash.ll.tmp1 -basic-block-section-match-infer
# note: command had no output on stdout or stderr
# executed command: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/FileCheck /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/X86/basic-block-sections-clusters-bb-hash.ll -check-prefixes=CHECK,LINUX-SECTIONS1
# .---command stderr------------
# | /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/X86/basic-block-sections-clusters-bb-hash.ll:80:26: error: LINUX-SECTIONS1-LABEL: expected string not found in input
# | ; LINUX-SECTIONS1-LABEL: # %bb.1:
# |                          ^
# | <stdin>:6:5: note: scanning from here
# | foo: # @foo

@llvm-ci
Copy link
Copy Markdown

llvm-ci commented Jan 5, 2026

LLVM Buildbot has detected a new failure on builder sanitizer-ppc64le-linux running on ppc64le-sanitizer while building compiler-rt,llvm at step 2 "annotate".

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

Here is the relevant piece of the build log for the reference
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure) (timed out)
...
PASS: ScudoStandalone-Unit :: ./ScudoUnitTest-powerpc64le-Test/4/345 (2850 of 2879)
PASS: ScudoStandalone-Unit :: ./ScudoUnitTest-powerpc64le-Test/16/345 (2851 of 2879)
PASS: ScudoStandalone-Unit :: ./ScudoUnitTest-powerpc64le-Test/149/345 (2852 of 2879)
PASS: ScudoStandalone-Unit :: ./ScudoUnitTest-powerpc64le-Test/3/345 (2853 of 2879)
PASS: ScudoStandalone-Unit :: ./ScudoUnitTest-powerpc64le-Test/1/345 (2854 of 2879)
PASS: ScudoStandalone-Unit :: ./ScudoUnitTest-powerpc64le-Test/151/345 (2855 of 2879)
PASS: ScudoStandalone-Unit :: ./ScudoUnitTest-powerpc64le-Test/15/345 (2856 of 2879)
PASS: ScudoStandalone-Unit :: ./ScudoUnitTest-powerpc64le-Test/9/345 (2857 of 2879)
PASS: ScudoStandalone-Unit :: ./ScudoUnitTest-powerpc64le-Test/148/345 (2858 of 2879)
PASS: ScudoStandalone-Unit :: ./ScudoUnitTest-powerpc64le-Test/150/345 (2859 of 2879)
command timed out: 1800 seconds without output running [b'python', b'../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py'], attempting to kill
process killed by signal 9
program finished with exit code -1
elapsedTime=4390.355794
Step 9 (test compiler-rt debug) failure: test compiler-rt debug (failure)
...
PASS: Profile-powerpc64le :: instrprof-value-prof.test (2815 of 2879)
PASS: ScudoStandalone-Unit :: ./ScudoCUnitTest-powerpc64le-Test/3/14 (2816 of 2879)
PASS: SanitizerCommon-tsan-powerpc64le-Linux :: Linux/allow_user_segv.cpp (2817 of 2879)
PASS: ScudoStandalone-Unit :: ./ScudoUnitTest-powerpc64le-Test/0/345 (2818 of 2879)
PASS: Profile-powerpc64le :: Linux/coverage-weak-lld.cpp (2819 of 2879)
PASS: Profile-powerpc64le :: Linux/instrprof-debug-info-correlate.c (2820 of 2879)
PASS: ScudoStandalone-Unit :: ./ScudoUnitTest-powerpc64le-Test/336/345 (2821 of 2879)
PASS: Profile-powerpc64le :: instrprof-value-prof.c (2822 of 2879)
PASS: SanitizerCommon-msan-powerpc64le-Linux :: max_allocation_size.cpp (2823 of 2879)
PASS: ScudoStandalone-Unit :: ./ScudoUnitTest-powerpc64le-Test/335/345 (2824 of 2879)
PASS: SanitizerCommon-tsan-powerpc64le-Linux :: max_allocation_size.cpp (2825 of 2879)
PASS: SanitizerCommon-msan-powerpc64le-Linux :: allocator_returns_null.cpp (2826 of 2879)
PASS: MemorySanitizer-POWERPC64LE :: chained_origin_limits.cpp (2827 of 2879)
PASS: ScudoStandalone-Unit :: ./ScudoUnitTest-powerpc64le-Test/14/345 (2828 of 2879)
PASS: XRay-powerpc64le-linux :: TestCases/Posix/basic-filtering.cpp (2829 of 2879)
PASS: ScudoStandalone-Unit :: ./ScudoCUnitTest-powerpc64le-Test/1/14 (2830 of 2879)
PASS: ScudoStandalone-Unit :: ./ScudoUnitTest-powerpc64le-Test/2/345 (2831 of 2879)
PASS: ScudoStandalone-Unit :: ./ScudoUnitTest-powerpc64le-Test/6/345 (2832 of 2879)
PASS: ScudoStandalone-Unit :: ./ScudoUnitTest-powerpc64le-Test/7/345 (2833 of 2879)
PASS: ScudoStandalone-Unit :: ./ScudoUnitTest-powerpc64le-Test/8/345 (2834 of 2879)
PASS: SanitizerCommon-lsan-powerpc64le-Linux :: sanitizer_coverage_allowlist_ignorelist.cpp (2835 of 2879)
PASS: Profile-powerpc64le :: Posix/instrprof-value-prof-shared.test (2836 of 2879)
PASS: ScudoStandalone-Unit :: ./ScudoCUnitTest-powerpc64le-Test/0/14 (2837 of 2879)
PASS: SanitizerCommon-tsan-powerpc64le-Linux :: Posix/posix_spawn.c (2838 of 2879)
PASS: Profile-powerpc64le :: Posix/gcov-shared-flush.c (2839 of 2879)
PASS: ScudoStandalone-Unit :: ./ScudoUnitTest-powerpc64le-Test/17/345 (2840 of 2879)
PASS: Profile-powerpc64le :: instrprof-basic.c (2841 of 2879)
PASS: ScudoStandalone-Unit :: ./ScudoUnitTest-powerpc64le-Test/302/345 (2842 of 2879)
PASS: ScudoStandalone-Unit :: ./ScudoUnitTest-powerpc64le-Test/5/345 (2843 of 2879)
PASS: MemorySanitizer-POWERPC64LE :: allocator_padding.cpp (2844 of 2879)
PASS: Profile-powerpc64le :: Posix/instrprof-shared.test (2845 of 2879)
PASS: ThreadSanitizer-powerpc64le :: restore_stack.cpp (2846 of 2879)
PASS: SanitizerCommon-msan-powerpc64le-Linux :: sanitizer_coverage_allowlist_ignorelist.cpp (2847 of 2879)
PASS: ThreadSanitizer-powerpc64le :: deadlock_detector_stress_test.cpp (2848 of 2879)
PASS: ScudoStandalone-Unit :: ./ScudoUnitTest-powerpc64le-Test/18/345 (2849 of 2879)
PASS: ScudoStandalone-Unit :: ./ScudoUnitTest-powerpc64le-Test/4/345 (2850 of 2879)
PASS: ScudoStandalone-Unit :: ./ScudoUnitTest-powerpc64le-Test/16/345 (2851 of 2879)
PASS: ScudoStandalone-Unit :: ./ScudoUnitTest-powerpc64le-Test/149/345 (2852 of 2879)
PASS: ScudoStandalone-Unit :: ./ScudoUnitTest-powerpc64le-Test/3/345 (2853 of 2879)
PASS: ScudoStandalone-Unit :: ./ScudoUnitTest-powerpc64le-Test/1/345 (2854 of 2879)
PASS: ScudoStandalone-Unit :: ./ScudoUnitTest-powerpc64le-Test/151/345 (2855 of 2879)
PASS: ScudoStandalone-Unit :: ./ScudoUnitTest-powerpc64le-Test/15/345 (2856 of 2879)
PASS: ScudoStandalone-Unit :: ./ScudoUnitTest-powerpc64le-Test/9/345 (2857 of 2879)
PASS: ScudoStandalone-Unit :: ./ScudoUnitTest-powerpc64le-Test/148/345 (2858 of 2879)
PASS: ScudoStandalone-Unit :: ./ScudoUnitTest-powerpc64le-Test/150/345 (2859 of 2879)

command timed out: 1800 seconds without output running [b'python', b'../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py'], attempting to kill
process killed by signal 9
program finished with exit code -1
elapsedTime=4390.355794

ZequanWu added a commit that referenced this pull request Jan 5, 2026
This fixes cmake error from
#171941 in chrome's llvm build
where we have `COMPILER_RT_BUILD_BUILTINS=OFF` and have
`COMPILER_RT_TEST_BUILTINS_DIR` set. That change makes it to depend on
`crt` even if we don't have it in the prebuilt dir.

Log:
```
 CMake Error at CMakeLists.txt:349 (add_dependencies):
  The dependency target "crt" of target "runtimes-test-depends" does not
  exist.


CMake Error at /b/s/w/ir/cache/builder/src/third_party/llvm/llvm/cmake/modules/AddLLVM.cmake:2104 (add_dependencies):
  The dependency target "crt" of target "check-runtimes" does not exist.
Call Stack (most recent call first):
  /b/s/w/ir/cache/builder/src/third_party/llvm/llvm/cmake/modules/AddLLVM.cmake:2145 (add_lit_target)
  CMakeLists.txt:353 (umbrella_lit_testsuite_end)


CMake Error at /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/test/CMakeLists.txt:127 (add_dependencies):
  The dependency target "crt" of target "compiler-rt-test-depends" does not
  exist.


CMake Error at /b/s/w/ir/cache/builder/src/third_party/llvm/llvm/cmake/modules/AddLLVM.cmake:2104 (add_dependencies):
  The dependency target "crt" of target "check-compiler-rt" does not exist.
Call Stack (most recent call first):
  /b/s/w/ir/cache/builder/src/third_party/llvm/llvm/cmake/modules/AddLLVM.cmake:2145 (add_lit_target)
  /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/test/CMakeLists.txt:129 (umbrella_lit_testsuite_end)


CMake Error at /b/s/w/ir/cache/builder/src/third_party/llvm/llvm/cmake/modules/AddLLVM.cmake:2104 (add_dependencies):
  The dependency target "crt" of target "check-builtins" does not exist.
Call Stack (most recent call first):
  /b/s/w/ir/cache/builder/src/third_party/llvm/llvm/cmake/modules/AddLLVM.cmake:2171 (add_lit_target)
  /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/test/builtins/CMakeLists.txt:137 (add_lit_testsuite)
```
ndrewh added a commit that referenced this pull request Jan 5, 2026
After #171941, there are two issues:

First, some buildbots that use the old-style build are failing at:

```
Target ${BUILTIN_LIB_TARGET_NAME} does not exist"
```

Example failure:
https://lab.llvm.org/buildbot/#/builders/139/builds/25097

...during CMake configure. This appears to be caused by mismatch between
the builtin library's _target_ name and the output name from
set_output_name. This reverts the change to BUILTIN_LIB_TARGET_NAME made
by #171941, but still use the output name for naming the .sources.txt
file used for configuring builtins tests.

Second, this speculatively fixes an issue caused by two builtins
libraries that are produced with the same name in different directories
because of `LLVM_ENABLE_PER_TARGET_RUNTIME_DIR` (e.g.
`lib/clang/22/lib/i386-unknown-linux-gnu/libclang_rt.builtins.a` and
`lib/clang/22/lib/x86_64-unknown-linux-gnu/libclang_rt.builtins.a`), and
thus the `.sources.txt` paths alias. This causes us to run the wrong
tests against one of the builtins libraries. The chosen fix is to store
the .sources.txt files in `get_compiler_rt_output_dir` (which takes
`LLVM_ENABLE_PER_TARGET_RUNTIME_DIR` into account) rather than
`CMAKE_BINARY_DIR`.

As a side-effect, this allows for the replacement of
`COMPILER_RT_TEST_BUILTINS_DIR` with a simpler boolean option
`COMPILER_RT_TEST_EXTERNAL_BUILTINS`.

Example failure:
https://lab.llvm.org/buildbot/#/builders/66/builds/24433
w2yehia pushed a commit to w2yehia/llvm-project that referenced this pull request Jan 5, 2026
Reland llvm#166837 and
llvm#171741

(Reverts the revert in llvm#171940)

---------

Co-authored-by: Petr Hosek <phosek@google.com>
w2yehia pushed a commit to w2yehia/llvm-project that referenced this pull request Jan 5, 2026
…mpiler-rt build

After llvm#171941, some buildbots that use the old-style build are failing with:

```
Target ${BUILTIN_LIB_TARGET_NAME} does not exist"
```

...during CMake configure. This appears to be caused by mismatch between
the builtin library's target name and the output name from set_output_name.

This makes sure that old-style builds still use the old target name
for the builtins target (Reverts the change to BUILTIN_LIB_TARGET_NAME
made by llvm#171941), but use the output name for naming the .sources.txt
file used for configuring builtins tests.
llvm-sync bot pushed a commit to arm/arm-toolchain that referenced this pull request Jan 5, 2026
This fixes cmake error from
llvm/llvm-project#171941 in chrome's llvm build
where we have `COMPILER_RT_BUILD_BUILTINS=OFF` and have
`COMPILER_RT_TEST_BUILTINS_DIR` set. That change makes it to depend on
`crt` even if we don't have it in the prebuilt dir.

Log:
```
 CMake Error at CMakeLists.txt:349 (add_dependencies):
  The dependency target "crt" of target "runtimes-test-depends" does not
  exist.

CMake Error at /b/s/w/ir/cache/builder/src/third_party/llvm/llvm/cmake/modules/AddLLVM.cmake:2104 (add_dependencies):
  The dependency target "crt" of target "check-runtimes" does not exist.
Call Stack (most recent call first):
  /b/s/w/ir/cache/builder/src/third_party/llvm/llvm/cmake/modules/AddLLVM.cmake:2145 (add_lit_target)
  CMakeLists.txt:353 (umbrella_lit_testsuite_end)

CMake Error at /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/test/CMakeLists.txt:127 (add_dependencies):
  The dependency target "crt" of target "compiler-rt-test-depends" does not
  exist.

CMake Error at /b/s/w/ir/cache/builder/src/third_party/llvm/llvm/cmake/modules/AddLLVM.cmake:2104 (add_dependencies):
  The dependency target "crt" of target "check-compiler-rt" does not exist.
Call Stack (most recent call first):
  /b/s/w/ir/cache/builder/src/third_party/llvm/llvm/cmake/modules/AddLLVM.cmake:2145 (add_lit_target)
  /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/test/CMakeLists.txt:129 (umbrella_lit_testsuite_end)

CMake Error at /b/s/w/ir/cache/builder/src/third_party/llvm/llvm/cmake/modules/AddLLVM.cmake:2104 (add_dependencies):
  The dependency target "crt" of target "check-builtins" does not exist.
Call Stack (most recent call first):
  /b/s/w/ir/cache/builder/src/third_party/llvm/llvm/cmake/modules/AddLLVM.cmake:2171 (add_lit_target)
  /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/test/builtins/CMakeLists.txt:137 (add_lit_testsuite)
```
mahesh-attarde pushed a commit to mahesh-attarde/llvm-project that referenced this pull request Jan 6, 2026
Reland llvm#166837 and
llvm#171741

(Reverts the revert in llvm#171940)

---------

Co-authored-by: Petr Hosek <phosek@google.com>
mahesh-attarde pushed a commit to mahesh-attarde/llvm-project that referenced this pull request Jan 6, 2026
This fixes cmake error from
llvm#171941 in chrome's llvm build
where we have `COMPILER_RT_BUILD_BUILTINS=OFF` and have
`COMPILER_RT_TEST_BUILTINS_DIR` set. That change makes it to depend on
`crt` even if we don't have it in the prebuilt dir.

Log:
```
 CMake Error at CMakeLists.txt:349 (add_dependencies):
  The dependency target "crt" of target "runtimes-test-depends" does not
  exist.


CMake Error at /b/s/w/ir/cache/builder/src/third_party/llvm/llvm/cmake/modules/AddLLVM.cmake:2104 (add_dependencies):
  The dependency target "crt" of target "check-runtimes" does not exist.
Call Stack (most recent call first):
  /b/s/w/ir/cache/builder/src/third_party/llvm/llvm/cmake/modules/AddLLVM.cmake:2145 (add_lit_target)
  CMakeLists.txt:353 (umbrella_lit_testsuite_end)


CMake Error at /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/test/CMakeLists.txt:127 (add_dependencies):
  The dependency target "crt" of target "compiler-rt-test-depends" does not
  exist.


CMake Error at /b/s/w/ir/cache/builder/src/third_party/llvm/llvm/cmake/modules/AddLLVM.cmake:2104 (add_dependencies):
  The dependency target "crt" of target "check-compiler-rt" does not exist.
Call Stack (most recent call first):
  /b/s/w/ir/cache/builder/src/third_party/llvm/llvm/cmake/modules/AddLLVM.cmake:2145 (add_lit_target)
  /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/test/CMakeLists.txt:129 (umbrella_lit_testsuite_end)


CMake Error at /b/s/w/ir/cache/builder/src/third_party/llvm/llvm/cmake/modules/AddLLVM.cmake:2104 (add_dependencies):
  The dependency target "crt" of target "check-builtins" does not exist.
Call Stack (most recent call first):
  /b/s/w/ir/cache/builder/src/third_party/llvm/llvm/cmake/modules/AddLLVM.cmake:2171 (add_lit_target)
  /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/test/builtins/CMakeLists.txt:137 (add_lit_testsuite)
```
mahesh-attarde pushed a commit to mahesh-attarde/llvm-project that referenced this pull request Jan 6, 2026
After llvm#171941, there are two issues:

First, some buildbots that use the old-style build are failing at:

```
Target ${BUILTIN_LIB_TARGET_NAME} does not exist"
```

Example failure:
https://lab.llvm.org/buildbot/#/builders/139/builds/25097

...during CMake configure. This appears to be caused by mismatch between
the builtin library's _target_ name and the output name from
set_output_name. This reverts the change to BUILTIN_LIB_TARGET_NAME made
by llvm#171941, but still use the output name for naming the .sources.txt
file used for configuring builtins tests.

Second, this speculatively fixes an issue caused by two builtins
libraries that are produced with the same name in different directories
because of `LLVM_ENABLE_PER_TARGET_RUNTIME_DIR` (e.g.
`lib/clang/22/lib/i386-unknown-linux-gnu/libclang_rt.builtins.a` and
`lib/clang/22/lib/x86_64-unknown-linux-gnu/libclang_rt.builtins.a`), and
thus the `.sources.txt` paths alias. This causes us to run the wrong
tests against one of the builtins libraries. The chosen fix is to store
the .sources.txt files in `get_compiler_rt_output_dir` (which takes
`LLVM_ENABLE_PER_TARGET_RUNTIME_DIR` into account) rather than
`CMAKE_BINARY_DIR`.

As a side-effect, this allows for the replacement of
`COMPILER_RT_TEST_BUILTINS_DIR` with a simpler boolean option
`COMPILER_RT_TEST_EXTERNAL_BUILTINS`.

Example failure:
https://lab.llvm.org/buildbot/#/builders/66/builds/24433
navaneethshan pushed a commit to qualcomm/cpullvm-toolchain that referenced this pull request Jan 8, 2026
This fixes cmake error from
llvm/llvm-project#171941 in chrome's llvm build
where we have `COMPILER_RT_BUILD_BUILTINS=OFF` and have
`COMPILER_RT_TEST_BUILTINS_DIR` set. That change makes it to depend on
`crt` even if we don't have it in the prebuilt dir.

Log:
```
 CMake Error at CMakeLists.txt:349 (add_dependencies):
  The dependency target "crt" of target "runtimes-test-depends" does not
  exist.


CMake Error at /b/s/w/ir/cache/builder/src/third_party/llvm/llvm/cmake/modules/AddLLVM.cmake:2104 (add_dependencies):
  The dependency target "crt" of target "check-runtimes" does not exist.
Call Stack (most recent call first):
  /b/s/w/ir/cache/builder/src/third_party/llvm/llvm/cmake/modules/AddLLVM.cmake:2145 (add_lit_target)
  CMakeLists.txt:353 (umbrella_lit_testsuite_end)


CMake Error at /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/test/CMakeLists.txt:127 (add_dependencies):
  The dependency target "crt" of target "compiler-rt-test-depends" does not
  exist.


CMake Error at /b/s/w/ir/cache/builder/src/third_party/llvm/llvm/cmake/modules/AddLLVM.cmake:2104 (add_dependencies):
  The dependency target "crt" of target "check-compiler-rt" does not exist.
Call Stack (most recent call first):
  /b/s/w/ir/cache/builder/src/third_party/llvm/llvm/cmake/modules/AddLLVM.cmake:2145 (add_lit_target)
  /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/test/CMakeLists.txt:129 (umbrella_lit_testsuite_end)


CMake Error at /b/s/w/ir/cache/builder/src/third_party/llvm/llvm/cmake/modules/AddLLVM.cmake:2104 (add_dependencies):
  The dependency target "crt" of target "check-builtins" does not exist.
Call Stack (most recent call first):
  /b/s/w/ir/cache/builder/src/third_party/llvm/llvm/cmake/modules/AddLLVM.cmake:2171 (add_lit_target)
  /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/test/builtins/CMakeLists.txt:137 (add_lit_testsuite)
```
navaneethshan pushed a commit to qualcomm/cpullvm-toolchain that referenced this pull request Jan 9, 2026
This fixes cmake error from
llvm/llvm-project#171941 in chrome's llvm build
where we have `COMPILER_RT_BUILD_BUILTINS=OFF` and have
`COMPILER_RT_TEST_BUILTINS_DIR` set. That change makes it to depend on
`crt` even if we don't have it in the prebuilt dir.

Log:
```
 CMake Error at CMakeLists.txt:349 (add_dependencies):
  The dependency target "crt" of target "runtimes-test-depends" does not
  exist.


CMake Error at /b/s/w/ir/cache/builder/src/third_party/llvm/llvm/cmake/modules/AddLLVM.cmake:2104 (add_dependencies):
  The dependency target "crt" of target "check-runtimes" does not exist.
Call Stack (most recent call first):
  /b/s/w/ir/cache/builder/src/third_party/llvm/llvm/cmake/modules/AddLLVM.cmake:2145 (add_lit_target)
  CMakeLists.txt:353 (umbrella_lit_testsuite_end)


CMake Error at /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/test/CMakeLists.txt:127 (add_dependencies):
  The dependency target "crt" of target "compiler-rt-test-depends" does not
  exist.


CMake Error at /b/s/w/ir/cache/builder/src/third_party/llvm/llvm/cmake/modules/AddLLVM.cmake:2104 (add_dependencies):
  The dependency target "crt" of target "check-compiler-rt" does not exist.
Call Stack (most recent call first):
  /b/s/w/ir/cache/builder/src/third_party/llvm/llvm/cmake/modules/AddLLVM.cmake:2145 (add_lit_target)
  /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/test/CMakeLists.txt:129 (umbrella_lit_testsuite_end)


CMake Error at /b/s/w/ir/cache/builder/src/third_party/llvm/llvm/cmake/modules/AddLLVM.cmake:2104 (add_dependencies):
  The dependency target "crt" of target "check-builtins" does not exist.
Call Stack (most recent call first):
  /b/s/w/ir/cache/builder/src/third_party/llvm/llvm/cmake/modules/AddLLVM.cmake:2171 (add_lit_target)
  /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/test/builtins/CMakeLists.txt:137 (add_lit_testsuite)
```

(cherry picked from commit 2f06623)
jsji pushed a commit to intel/llvm that referenced this pull request Jan 20, 2026
This fixes cmake error from
llvm/llvm-project#171941 in chrome's llvm build
where we have `COMPILER_RT_BUILD_BUILTINS=OFF` and have
`COMPILER_RT_TEST_BUILTINS_DIR` set. That change makes it to depend on
`crt` even if we don't have it in the prebuilt dir.

Log:
```
 CMake Error at CMakeLists.txt:349 (add_dependencies):
  The dependency target "crt" of target "runtimes-test-depends" does not
  exist.


CMake Error at /b/s/w/ir/cache/builder/src/third_party/llvm/llvm/cmake/modules/AddLLVM.cmake:2104 (add_dependencies):
  The dependency target "crt" of target "check-runtimes" does not exist.
Call Stack (most recent call first):
  /b/s/w/ir/cache/builder/src/third_party/llvm/llvm/cmake/modules/AddLLVM.cmake:2145 (add_lit_target)
  CMakeLists.txt:353 (umbrella_lit_testsuite_end)


CMake Error at /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/test/CMakeLists.txt:127 (add_dependencies):
  The dependency target "crt" of target "compiler-rt-test-depends" does not
  exist.


CMake Error at /b/s/w/ir/cache/builder/src/third_party/llvm/llvm/cmake/modules/AddLLVM.cmake:2104 (add_dependencies):
  The dependency target "crt" of target "check-compiler-rt" does not exist.
Call Stack (most recent call first):
  /b/s/w/ir/cache/builder/src/third_party/llvm/llvm/cmake/modules/AddLLVM.cmake:2145 (add_lit_target)
  /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/test/CMakeLists.txt:129 (umbrella_lit_testsuite_end)


CMake Error at /b/s/w/ir/cache/builder/src/third_party/llvm/llvm/cmake/modules/AddLLVM.cmake:2104 (add_dependencies):
  The dependency target "crt" of target "check-builtins" does not exist.
Call Stack (most recent call first):
  /b/s/w/ir/cache/builder/src/third_party/llvm/llvm/cmake/modules/AddLLVM.cmake:2171 (add_lit_target)
  /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/test/builtins/CMakeLists.txt:137 (add_lit_testsuite)
```
ndrewh added a commit that referenced this pull request Mar 25, 2026
…LLVM_ENABLE_RUNTIMES (#187835)

#171941 got the builtins tests running under LLVM_ENABLE_RUNTIMES by
testing the builtins as part of the runtimes build.

As a consequence, CMake in `lib/builtins/` is no longer visible when
configuring the tests (but `test/builtins/` is). This means that the
`cmake_dependent_option` from `lib/builtins/` is not accounted for by
the tests, allowing COMPILER_RT_BUILD_CRT to be YES when
COMPILER_RT_HAS_CRT is NO. As a consequence, the CRT tests are running
on platforms where COMPILER_RT_HAS_CRT is false (#176892).


https://github.com/llvm/llvm-project/blob/367da15a11c52886c50e7f020cb4de59fe6d07ca/compiler-rt/lib/builtins/CMakeLists.txt#L1106-L1108

Although the long-term solution could be to split both the builtins (and
their tests) out of compiler-rt into a top-level directory with shared
options, this works around the issue for the moment by checking both
COMPILER_RT_HAS_CRT and COMPILER_RT_BUILD_CRT before enabling the "crt"
feature.

Fixes #176892
ZXShady pushed a commit to ZXShady/llvm-project that referenced this pull request Mar 26, 2026
…LLVM_ENABLE_RUNTIMES (llvm#187835)

llvm#171941 got the builtins tests running under LLVM_ENABLE_RUNTIMES by
testing the builtins as part of the runtimes build.

As a consequence, CMake in `lib/builtins/` is no longer visible when
configuring the tests (but `test/builtins/` is). This means that the
`cmake_dependent_option` from `lib/builtins/` is not accounted for by
the tests, allowing COMPILER_RT_BUILD_CRT to be YES when
COMPILER_RT_HAS_CRT is NO. As a consequence, the CRT tests are running
on platforms where COMPILER_RT_HAS_CRT is false (llvm#176892).


https://github.com/llvm/llvm-project/blob/367da15a11c52886c50e7f020cb4de59fe6d07ca/compiler-rt/lib/builtins/CMakeLists.txt#L1106-L1108

Although the long-term solution could be to split both the builtins (and
their tests) out of compiler-rt into a top-level directory with shared
options, this works around the issue for the moment by checking both
COMPILER_RT_HAS_CRT and COMPILER_RT_BUILD_CRT before enabling the "crt"
feature.

Fixes llvm#176892
ambergorzynski pushed a commit to ambergorzynski/llvm-project that referenced this pull request Mar 27, 2026
…LLVM_ENABLE_RUNTIMES (llvm#187835)

llvm#171941 got the builtins tests running under LLVM_ENABLE_RUNTIMES by
testing the builtins as part of the runtimes build.

As a consequence, CMake in `lib/builtins/` is no longer visible when
configuring the tests (but `test/builtins/` is). This means that the
`cmake_dependent_option` from `lib/builtins/` is not accounted for by
the tests, allowing COMPILER_RT_BUILD_CRT to be YES when
COMPILER_RT_HAS_CRT is NO. As a consequence, the CRT tests are running
on platforms where COMPILER_RT_HAS_CRT is false (llvm#176892).


https://github.com/llvm/llvm-project/blob/367da15a11c52886c50e7f020cb4de59fe6d07ca/compiler-rt/lib/builtins/CMakeLists.txt#L1106-L1108

Although the long-term solution could be to split both the builtins (and
their tests) out of compiler-rt into a top-level directory with shared
options, this works around the issue for the moment by checking both
COMPILER_RT_HAS_CRT and COMPILER_RT_BUILD_CRT before enabling the "crt"
feature.

Fixes llvm#176892
Aadarsh-Keshri pushed a commit to Aadarsh-Keshri/llvm-project that referenced this pull request Mar 28, 2026
…LLVM_ENABLE_RUNTIMES (llvm#187835)

llvm#171941 got the builtins tests running under LLVM_ENABLE_RUNTIMES by
testing the builtins as part of the runtimes build.

As a consequence, CMake in `lib/builtins/` is no longer visible when
configuring the tests (but `test/builtins/` is). This means that the
`cmake_dependent_option` from `lib/builtins/` is not accounted for by
the tests, allowing COMPILER_RT_BUILD_CRT to be YES when
COMPILER_RT_HAS_CRT is NO. As a consequence, the CRT tests are running
on platforms where COMPILER_RT_HAS_CRT is false (llvm#176892).


https://github.com/llvm/llvm-project/blob/367da15a11c52886c50e7f020cb4de59fe6d07ca/compiler-rt/lib/builtins/CMakeLists.txt#L1106-L1108

Although the long-term solution could be to split both the builtins (and
their tests) out of compiler-rt into a top-level directory with shared
options, this works around the issue for the moment by checking both
COMPILER_RT_HAS_CRT and COMPILER_RT_BUILD_CRT before enabling the "crt"
feature.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants