llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `clangd-ubuntu-tsan` running on `clangd-ubuntu-clang` while building `clang,llvm` at step 5 "build-clangd-clangd-index-server-clangd-indexer".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/134/builds/17904 <details> <summary>Here is the relevant piece of the build log for the reference</summary> ``` Step 5 (build-clangd-clangd-index-server-clangd-indexer) failure: build (failure) ... 454.792 [1420/18/1842] Building CXX object tools/clang/lib/APINotes/CMakeFiles/obj.clangAPINotes.dir/APINotesTypes.cpp.o 455.305 [1419/18/1843] Building CXX object lib/Target/XCore/TargetInfo/CMakeFiles/LLVMXCoreInfo.dir/XCoreTargetInfo.cpp.o 455.375 [1418/18/1844] Building X86GenGlobalISel.inc... 455.387 [1417/18/1845] Linking CXX static library lib/libLLVMXCoreInfo.a 455.423 [1416/18/1846] Building CXX object tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/CLWarnings.cpp.o 455.859 [1415/18/1847] Building CXX object tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/ASTSourceDescriptor.cpp.o 456.604 [1414/18/1848] Building X86GenDAGISel.inc... 456.730 [1413/18/1849] Building CXX object tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/CharInfo.cpp.o 457.079 [1412/18/1850] Building RISCVGenGlobalISel.inc... 457.708 [1411/18/1851] Building CXX object tools/clang/lib/APINotes/CMakeFiles/obj.clangAPINotes.dir/APINotesManager.cpp.o FAILED: tools/clang/lib/APINotes/CMakeFiles/obj.clangAPINotes.dir/APINotesManager.cpp.o ccache /usr/bin/clang++ -DCLANG_EXPORTS -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/build/tools/clang/lib/APINotes -I/vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/clang/lib/APINotes -I/vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/clang/include -I/vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/build/tools/clang/include -I/vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/build/include -I/vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/llvm/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fno-omit-frame-pointer -gline-tables-only -fsanitize=thread -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -Wno-nested-anon-types -O3 -DNDEBUG -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT tools/clang/lib/APINotes/CMakeFiles/obj.clangAPINotes.dir/APINotesManager.cpp.o -MF tools/clang/lib/APINotes/CMakeFiles/obj.clangAPINotes.dir/APINotesManager.cpp.o.d -o tools/clang/lib/APINotes/CMakeFiles/obj.clangAPINotes.dir/APINotesManager.cpp.o -c /vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/clang/lib/APINotes/APINotesManager.cpp In file included from /vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/clang/lib/APINotes/APINotesManager.cpp:9: In file included from /vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/clang/include/clang/APINotes/APINotesManager.h:12: In file included from /vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/clang/include/clang/Basic/SourceLocation.h:17: In file included from /vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/clang/include/clang/Basic/FileEntry.h:17: In file included from /vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/clang/include/clang/Basic/CustomizableOptional.h:12: In file included from /vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/llvm/include/llvm/ADT/Hashing.h:47: In file included from /vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/llvm/include/llvm/ADT/ADL.h:12: /usr/bin/../lib/gcc/x86_64-linux-gnu/7/../../../../include/c++/7/type_traits:2242:15: error: only enumeration types have underlying types 2242 | typedef __underlying_type(_Tp) type; | ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/7/../../../../include/c++/7/type_traits:2488:5: note: in instantiation of template class 'std::underlying_type<const clang::SourceRange>' requested here 2488 | using underlying_type_t = typename underlying_type<_Tp>::type; | ^ /vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/llvm/include/llvm/ADT/STLForwardCompat.h:76:51: note: in instantiation of template type alias 'underlying_type_t' requested here 76 | template <typename T, typename UnderlyingT = std::underlying_type_t<T>> | ^ /vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/clang/include/clang/Basic/Diagnostic.h:1441:15: note: in instantiation of default argument for 'is_scoped_enum_v<std::remove_reference_t<const SourceRange &>>' required here 1441 | llvm::is_scoped_enum_v<std::remove_reference_t<U>>, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/clang/include/clang/Basic/Diagnostic.h:1490:8: note: while substituting deduced template arguments into function template 'operator<<' [with T = StreamingDiagnostic, U = const clang::SourceRange &] 1490 | DB << *Opt; | ^ In file included from /vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/clang/lib/APINotes/APINotesManager.cpp:9: In file included from /vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/clang/include/clang/APINotes/APINotesManager.h:12: In file included from /vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/clang/include/clang/Basic/SourceLocation.h:17: In file included from /vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/clang/include/clang/Basic/FileEntry.h:17: In file included from /vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/clang/include/clang/Basic/CustomizableOptional.h:12: In file included from /vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/llvm/include/llvm/ADT/Hashing.h:47: In file included from /vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/llvm/include/llvm/ADT/ADL.h:12: /usr/bin/../lib/gcc/x86_64-linux-gnu/7/../../../../include/c++/7/type_traits:2242:15: error: only enumeration types have underlying types 2242 | typedef __underlying_type(_Tp) type; | ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/7/../../../../include/c++/7/type_traits:2488:5: note: in instantiation of template class 'std::underlying_type<const clang::CharSourceRange>' requested here 2488 | using underlying_type_t = typename underlying_type<_Tp>::type; | ^ /vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/llvm/include/llvm/ADT/STLForwardCompat.h:76:51: note: in instantiation of template type alias 'underlying_type_t' requested here 76 | template <typename T, typename UnderlyingT = std::underlying_type_t<T>> ``` </details> https://github.com/llvm/llvm-project/pull/138089 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits