[clang] [llvm] [UnitTests] Enable PCH (PR #191402)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 13 12:55:57 PDT 2026
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-sparc64-linux` running on `debian-stadler-sparc64` while building `clang,llvm` at step 6 "build stage 1".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/114/builds/396
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 6 (build stage 1) failure: 'ninja' (failure)
...
[3853/4282] Linking CXX static library lib/libLLVMDiff.a
[3854/4282] Building CXX object tools/llvm-cov/CMakeFiles/llvm-cov.dir/CoverageExporterLcov.cpp.o
[3855/4282] Linking CXX executable bin/llvm-dwarfdump
[3856/4282] Building CXX object tools/llvm-debuginfod-find/CMakeFiles/llvm-debuginfod-find.dir/llvm-debuginfod-find-driver.cpp.o
[3857/4282] Building CXX object tools/llvm-dlang-demangle-fuzzer/CMakeFiles/llvm-dlang-demangle-fuzzer.dir/llvm-dlang-demangle-fuzzer.cpp.o
[3858/4282] Building CXX object tools/clang/tools/clang-linker-wrapper/CMakeFiles/clang-linker-wrapper.dir/ClangLinkerWrapper.cpp.o
[3859/4282] Building CXX object tools/llvm-cov/CMakeFiles/llvm-cov.dir/TestingSupport.cpp.o
[3860/4282] Building CXX object tools/llvm-cxxfilt/CMakeFiles/llvm-cxxfilt.dir/llvm-cxxfilt.cpp.o
[3861/4282] Linking CXX static library lib/libLLVMExegesis.a
[3862/4282] Building CXX object tools/llvm-debuginfod-find/CMakeFiles/llvm-debuginfod-find.dir/llvm-debuginfod-find.cpp.o
FAILED: [code=1] tools/llvm-debuginfod-find/CMakeFiles/llvm-debuginfod-find.dir/llvm-debuginfod-find.cpp.o
/usr/bin/c++ -DLLVM_BUILD_STATIC -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/stage1/tools/llvm-debuginfod-find -I/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/llvm/llvm/tools/llvm-debuginfod-find -I/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/stage1/include -I/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/llvm/llvm/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-maybe-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-dangling-reference -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-dangling-pointer -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT tools/llvm-debuginfod-find/CMakeFiles/llvm-debuginfod-find.dir/llvm-debuginfod-find.cpp.o -MF tools/llvm-debuginfod-find/CMakeFiles/llvm-debuginfod-find.dir/llvm-debuginfod-find.cpp.o.d -o tools/llvm-debuginfod-find/CMakeFiles/llvm-debuginfod-find.dir/llvm-debuginfod-find.cpp.o -c /var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/llvm/llvm/tools/llvm-debuginfod-find/llvm-debuginfod-find.cpp
In member function ‘void std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::_M_rehash(size_type, std::true_type)’:
cc1plus: error: expected ‘(’ before ‘=’ token [-Wtemplate-body]
cc1plus: error: ‘static’ invalid in condition [-Wtemplate-body]
cc1plus: error: duplicate ‘static’ specifier [-Wtemplate-body]
cc1plus: error: ‘static’ invalid in condition [-Wtemplate-body]
cc1plus: error: ‘static’ invalid in condition [-Wtemplate-body]
cc1plus: error: ‘static’ invalid in condition [-Wtemplate-body]
cc1plus: error: ‘static’ invalid in condition [-Wtemplate-body]
cc1plus: error: ‘static’ invalid in condition [-Wtemplate-body]
cc1plus: error: ‘static’ invalid in condition [-Wtemplate-body]
cc1plus: error: ‘static’ invalid in condition [-Wtemplate-body]
cc1plus: error: ‘static’ invalid in condition [-Wtemplate-body]
cc1plus: error: ‘static’ invalid in condition [-Wtemplate-body]
In file included from /usr/include/c++/15/bits/unordered_map.h:33,
from /usr/include/c++/15/unordered_map:43,
from /usr/include/c++/15/functional:65,
from /var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/llvm/llvm/include/llvm/ADT/STLForwardCompat.h:21,
from /var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/llvm/llvm/include/llvm/Support/MathExtras.h:16,
from /var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/llvm/llvm/include/llvm/ADT/APInt.h:19,
from /var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/llvm/llvm/include/llvm/ADT/APSInt.h:18,
from /var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/llvm/llvm/include/llvm/ADT/StringExtras.h:17,
from /var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/llvm/llvm/tools/llvm-debuginfod-find/llvm-debuginfod-find.cpp:18:
/usr/include/c++/15/bits/hashtable.h:2760:43: error: ‘static’ invalid in condition [-Wtemplate-body]
2760 | __node_ptr __next = __p->_M_next();
| ^
/usr/include/c++/15/bits/hashtable.h:2760:44: error: expected unqualified-id before ‘)’ token [-Wtemplate-body]
2760 | __node_ptr __next = __p->_M_next();
| ^
/usr/include/c++/15/bits/hashtable.h:2778:17: error: ‘__next’ was not declared in this scope; did you mean ‘next’? [-Wtemplate-body]
2778 | __p = __next;
| ^~~~~~
| next
/usr/include/c++/15/bits/hashtable.h: At global scope:
/usr/include/c++/15/bits/hashtable.h:2781:30: error: expected constructor, destructor, or type conversion before ‘;’ token
2781 | _M_deallocate_buckets();
| ^
/usr/include/c++/15/bits/hashtable.h:2782:7: error: ‘_M_bucket_count’ does not name a type
```
</details>
https://github.com/llvm/llvm-project/pull/191402
More information about the cfe-commits
mailing list