[clang] [clang-tools-extra] Remove clang-pseudo (PR #109154)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 19 06:07:25 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-ppc64le-linux-multistage` running on `ppc64le-clang-multistage-test` while building `clang-tools-extra,clang` at step 4 "build stage 1".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/76/builds/2973
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 4 (build stage 1) failure: 'ninja' (failure)
...
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/include/llvm/ProfileData/InstrProf.h: In member function ‘std::vector<llvm::InstrProfValueSiteRecord>& llvm::InstrProfRecord::getOrCreateValueSitesForKind(uint32_t)’:
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/include/llvm/ProfileData/InstrProf.h:972:23: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
assert(IPVK_First <= ValueKind && ValueKind <= IPVK_Last &&
~~~~~~~~~~~^~~~~~~~~~~~
[2064/6115] Building VEGenInstrInfo.inc...
[2065/6115] Building X86GenAsmWriter.inc...
[2066/6115] Building X86GenRegisterInfo.inc...
[2067/6115] Building CXX object tools/clang/tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/DirectiveTree.cpp.o
[2068/6115] Building SystemZGenInstrInfo.inc...
[2069/6115] Linking CXX shared library lib/libclangdSupport.so.20.0git
FAILED: lib/libclangdSupport.so.20.0git
: && /usr/lib64/ccache/c++ -fPIC -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -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-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O3 -DNDEBUG -Wl,-z,defs -Wl,-z,nodelete -Wl,-rpath-link,/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/./lib -Wl,--gc-sections -shared -Wl,-soname,libclangdSupport.so.20.0git -o lib/libclangdSupport.so.20.0git tools/clang/tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Bracket.cpp.o tools/clang/tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Cancellation.cpp.o tools/clang/tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Context.cpp.o tools/clang/tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/DirectiveTree.cpp.o tools/clang/tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/FileCache.cpp.o tools/clang/tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Lex.cpp.o tools/clang/tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Logger.cpp.o tools/clang/tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Markup.cpp.o tools/clang/tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/MemoryTree.cpp.o tools/clang/tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Path.cpp.o tools/clang/tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Shutdown.cpp.o tools/clang/tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/ThreadCrashReporter.cpp.o tools/clang/tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Threading.cpp.o tools/clang/tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/ThreadsafeFS.cpp.o tools/clang/tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Token.cpp.o tools/clang/tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Trace.cpp.o -Wl,-rpath,"\$ORIGIN/../lib:/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/lib:" -lpthread lib/libLLVMSupport.so.20.0git -Wl,-rpath-link,/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/lib && :
tools/clang/tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/DirectiveTree.cpp.o: In function `std::__detail::__variant::__gen_vtable_impl<std::__detail::__variant::_Multi_array<void (*)(clang::clangd::(anonymous namespace)::Dumper&, std::variant<clang::clangd::DirectiveTree::Code, clang::clangd::DirectiveTree::Directive, clang::clangd::DirectiveTree::Conditional> const&)>, std::tuple<std::variant<clang::clangd::DirectiveTree::Code, clang::clangd::DirectiveTree::Directive, clang::clangd::DirectiveTree::Conditional> const&>, std::integer_sequence<unsigned long, 1ul> >::__visit_invoke(clang::clangd::(anonymous namespace)::Dumper&, std::variant<clang::clangd::DirectiveTree::Code, clang::clangd::DirectiveTree::Directive, clang::clangd::DirectiveTree::Conditional> const&)':
DirectiveTree.cpp:(.text._ZNSt8__detail9__variant17__gen_vtable_implINS0_12_Multi_arrayIPFvRN5clang6clangd12_GLOBAL__N_16DumperERKSt7variantIJNS4_13DirectiveTree4CodeENS9_9DirectiveENS9_11ConditionalEEEEJEEESt5tupleIJSF_EESt16integer_sequenceImJLm1EEEE14__visit_invokeES7_SF_+0x3c): undefined reference to `clang::tok::getPPKeywordSpelling(clang::tok::PPKeywordKind)'
tools/clang/tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/DirectiveTree.cpp.o: In function `std::__detail::__variant::__gen_vtable_impl<std::__detail::__variant::_Multi_array<void (*)(clang::clangd::(anonymous namespace)::Dumper&, std::variant<clang::clangd::DirectiveTree::Code, clang::clangd::DirectiveTree::Directive, clang::clangd::DirectiveTree::Conditional> const&)>, std::tuple<std::variant<clang::clangd::DirectiveTree::Code, clang::clangd::DirectiveTree::Directive, clang::clangd::DirectiveTree::Conditional> const&>, std::integer_sequence<unsigned long, 2ul> >::__visit_invoke(clang::clangd::(anonymous namespace)::Dumper&, std::variant<clang::clangd::DirectiveTree::Code, clang::clangd::DirectiveTree::Directive, clang::clangd::DirectiveTree::Conditional> const&)':
DirectiveTree.cpp:(.text._ZNSt8__detail9__variant17__gen_vtable_implINS0_12_Multi_arrayIPFvRN5clang6clangd12_GLOBAL__N_16DumperERKSt7variantIJNS4_13DirectiveTree4CodeENS9_9DirectiveENS9_11ConditionalEEEEJEEESt5tupleIJSF_EESt16integer_sequenceImJLm2EEEE14__visit_invokeES7_SF_+0x104): undefined reference to `clang::tok::getPPKeywordSpelling(clang::tok::PPKeywordKind)'
DirectiveTree.cpp:(.text._ZNSt8__detail9__variant17__gen_vtable_implINS0_12_Multi_arrayIPFvRN5clang6clangd12_GLOBAL__N_16DumperERKSt7variantIJNS4_13DirectiveTree4CodeENS9_9DirectiveENS9_11ConditionalEEEEJEEESt5tupleIJSF_EESt16integer_sequenceImJLm2EEEE14__visit_invokeES7_SF_+0x250): undefined reference to `clang::tok::getPPKeywordSpelling(clang::tok::PPKeywordKind)'
DirectiveTree.cpp:(.text._ZNSt8__detail9__variant17__gen_vtable_implINS0_12_Multi_arrayIPFvRN5clang6clangd12_GLOBAL__N_16DumperERKSt7variantIJNS4_13DirectiveTree4CodeENS9_9DirectiveENS9_11ConditionalEEEEJEEESt5tupleIJSF_EESt16integer_sequenceImJLm2EEEE14__visit_invokeES7_SF_+0x310): undefined reference to `clang::tok::getPPKeywordSpelling(clang::tok::PPKeywordKind)'
tools/clang/tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/DirectiveTree.cpp.o: In function `clang::clangd::operator<<(llvm::raw_ostream&, clang::clangd::DirectiveTree::Directive const&)':
DirectiveTree.cpp:(.text._ZN5clang6clangdlsERN4llvm11raw_ostreamERKNS0_13DirectiveTree9DirectiveE+0x3c): undefined reference to `clang::tok::getPPKeywordSpelling(clang::tok::PPKeywordKind)'
tools/clang/tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/DirectiveTree.cpp.o:DirectiveTree.cpp:(.text._ZN5clang6clangdlsERN4llvm11raw_ostreamERKNS0_13DirectiveTree11ConditionalE+0xfc): more undefined references to `clang::tok::getPPKeywordSpelling(clang::tok::PPKeywordKind)' follow
tools/clang/tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/DirectiveTree.cpp.o: In function `clang::clangd::(anonymous namespace)::DirectiveParser::parse(clang::clangd::DirectiveTree*, bool)':
DirectiveTree.cpp:(.text._ZN5clang6clangd12_GLOBAL__N_115DirectiveParser5parseEPNS0_13DirectiveTreeEb+0x6b8): undefined reference to `clang::IdentifierInfo::getPPKeywordID() const'
tools/clang/tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/DirectiveTree.cpp.o: In function `clang::clangd::DirectiveTree::parse(clang::clangd::TokenStream const&)':
DirectiveTree.cpp:(.text._ZN5clang6clangd13DirectiveTree5parseERKNS0_11TokenStreamE+0x78): undefined reference to `clang::IdentifierTable::IdentifierTable(clang::IdentifierInfoLookup*)'
tools/clang/tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Lex.cpp.o:(.toc+0x18): undefined reference to `vtable for clang::PreprocessorLexer'
tools/clang/tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Lex.cpp.o: In function `clang::clangd::lex(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, clang::LangOptions const&)':
Lex.cpp:(.text._ZN5clang6clangd3lexERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_11LangOptionsE+0x50): undefined reference to `clang::Lexer::Lexer(clang::SourceLocation, clang::LangOptions const&, char const*, char const*, char const*, bool)'
Lex.cpp:(.text._ZN5clang6clangd3lexERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_11LangOptionsE+0xfc): undefined reference to `clang::Lexer::Lex(clang::Token&)'
Lex.cpp:(.text._ZN5clang6clangd3lexERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_11LangOptionsE+0x194): undefined reference to `clang::tok::isAnnotation(clang::tok::TokenKind)'
Lex.cpp:(.text._ZN5clang6clangd3lexERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_11LangOptionsE+0x2e8): undefined reference to `clang::Lexer::Lex(clang::Token&)'
tools/clang/tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Lex.cpp.o: In function `clang::clangd::cook(clang::clangd::TokenStream const&, clang::LangOptions const&)':
Lex.cpp:(.text._ZN5clang6clangd4cookERKNS0_11TokenStreamERKNS_11LangOptionsE+0xec): undefined reference to `clang::IdentifierTable::IdentifierTable(clang::LangOptions const&, clang::IdentifierInfoLookup*)'
Lex.cpp:(.text._ZN5clang6clangd4cookERKNS0_11TokenStreamERKNS_11LangOptionsE+0x580): undefined reference to `clang::Lexer::getCharAndSizeSlowNoWarn(char const*, clang::LangOptions const&)'
Lex.cpp:(.text._ZN5clang6clangd4cookERKNS0_11TokenStreamERKNS_11LangOptionsE+0xb48): undefined reference to `clang::expandUCNs(llvm::SmallVectorImpl<char>&, llvm::StringRef)'
tools/clang/tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Token.cpp.o: In function `clang::clangd::operator<<(llvm::raw_ostream&, clang::clangd::Token const&)':
Token.cpp:(.text._ZN5clang6clangdlsERN4llvm11raw_ostreamERKNS0_5TokenE+0x30): undefined reference to `clang::tok::getTokenName(clang::tok::TokenKind)'
tools/clang/tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Token.cpp.o: In function `clang::clangd::operator<<(llvm::raw_ostream&, clang::clangd::TokenStream const&)':
Token.cpp:(.text._ZN5clang6clangdlsERN4llvm11raw_ostreamERKNS0_11TokenStreamE+0x1c8): undefined reference to `clang::tok::getTokenName(clang::tok::TokenKind)'
tools/clang/tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Token.cpp.o: In function `clang::clangd::genericLangOpts(clang::Language, clang::LangStandard::Kind)':
Token.cpp:(.text._ZN5clang6clangd15genericLangOptsENS_8LanguageENS_12LangStandard4KindE+0x2c): undefined reference to `clang::LangOptions::LangOptions()'
Token.cpp:(.text._ZN5clang6clangd15genericLangOptsENS_8LanguageENS_12LangStandard4KindE+0x84): undefined reference to `clang::LangOptions::setLangDefaults(clang::LangOptions&, clang::Language, llvm::Triple const&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&, clang::LangStandard::Kind)'
collect2: error: ld returned 1 exit status
[2070/6115] Building ARMGenDAGISel.inc...
[2071/6115] Building PPCGenInstrInfo.inc...
[2072/6115] Building RISCVGenRegisterInfo.inc...
[2073/6115] Building ARMGenFastISel.inc...
[2074/6115] Building RISCVGenMCPseudoLowering.inc...
[2075/6115] Building RISCVTargetParserDef.inc...
```
</details>
https://github.com/llvm/llvm-project/pull/109154
More information about the cfe-commits
mailing list