[llvm] [mlir] [LLVM][MLIR] Move LSP server support library from MLIR into LLVM (PR #157885)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 11 12:50:31 PDT 2025
Albert =?utf-8?q?Havliček?= <ahavlicek at azul.com>,
Albert =?utf-8?q?Havliček?= <ahavlicek at azul.com>,
Albert =?utf-8?q?Havliček?= <ahavlicek at azul.com>,
Albert =?utf-8?q?Havliček?= <ahavlicek at azul.com>,
Albert =?utf-8?q?Havliček?= <ahavlicek at azul.com>,
Albert =?utf-8?q?Havliček?= <ahavlicek at azul.com>,
Albert =?utf-8?q?Havliček?= <ahavlicek at azul.com>,
Albert =?utf-8?q?Havliček?= <ahavlicek at azul.com>,
Albert =?utf-8?q?Havliček?= <ahavlicek at azul.com>,
Albert =?utf-8?q?Havliček?= <ahavlicek at azul.com>,
Albert =?utf-8?q?Havliček?= <ahavlicek at azul.com>,
Albert =?utf-8?q?Havliček?= <ahavlicek at azul.com>,
Albert =?utf-8?q?Havliček?= <ahavlicek at azul.com>,
Albert =?utf-8?q?Havliček?= <ahavlicek at azul.com>,
Albert =?utf-8?q?Havliček?= <ahavlicek at azul.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/157885 at github.com>
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-nvptx-nvidia-ubuntu` running on `as-builder-7` while building `llvm,mlir` at step 5 "build-unified-tree".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/180/builds/24855
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 5 (build-unified-tree) failure: build (failure)
...
1.645 [2457/8/355] Linking CXX executable bin/FileCheck
1.677 [2457/7/356] Linking CXX shared library lib/libllvm_gtest_main.so.22.0git
1.685 [2456/7/357] Linking CXX executable bin/llvm-min-tblgen
1.688 [2456/6/358] Linking CXX shared library lib/libLLVMTableGenBasic.so.22.0git
1.701 [2455/6/359] Creating library symlink lib/libllvm_gtest_main.so
1.711 [2455/5/360] Creating library symlink lib/libLLVMTableGenBasic.so
2.964 [2455/4/361] Building CXX object lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/Logging.cpp.o
5.249 [2455/3/362] Building CXX object lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/Transport.cpp.o
6.579 [2455/2/363] Building CXX object lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/Protocol.cpp.o
6.717 [2454/2/364] Linking CXX shared library lib/libLLVMSupportLSP.so.22.0git
FAILED: lib/libLLVMSupportLSP.so.22.0git
: && /usr/bin/c++ -fPIC -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-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -Wl,-z,defs -Wl,-z,nodelete -fuse-ld=gold -Wl,--gc-sections -shared -Wl,-soname,libLLVMSupportLSP.so.22.0git -o lib/libLLVMSupportLSP.so.22.0git lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/Protocol.cpp.o lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/Transport.cpp.o lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/Logging.cpp.o -Wl,-rpath,"\$ORIGIN/../lib:" && :
lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/Protocol.cpp.o:Protocol.cpp:function llvm::StringSet<llvm::MallocAllocator>::~StringSet():(.text._ZN4llvm9StringSetINS_15MallocAllocatorEED2Ev+0x43): error: undefined reference to 'llvm::deallocate_buffer(void*, unsigned long, unsigned long)'
lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/Protocol.cpp.o:Protocol.cpp:function llvm::Error llvm::handleErrorImpl<llvm::consumeError(llvm::Error)::{lambda(llvm::ErrorInfoBase const&)#1}>(std::unique_ptr<llvm::ErrorInfoBase, std::default_delete<llvm::ErrorInfoBase> >, llvm::consumeError(llvm::Error)::{lambda(llvm::ErrorInfoBase const&)#1}&&) [clone .isra.0]:(.text._ZN4llvm15handleErrorImplIZNS_12consumeErrorENS_5ErrorEEUlRKNS_13ErrorInfoBaseEE_JEEES1_St10unique_ptrIS2_St14default_deleteIS2_EEOT_DpOT0_.isra.0+0x18): error: undefined reference to 'llvm::ErrorInfoBase::ID'
lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/Protocol.cpp.o:Protocol.cpp:function llvm::Error llvm::handleErrorImpl<llvm::consumeError(llvm::Error)::{lambda(llvm::ErrorInfoBase const&)#1}>(std::unique_ptr<llvm::ErrorInfoBase, std::default_delete<llvm::ErrorInfoBase> >, llvm::consumeError(llvm::Error)::{lambda(llvm::ErrorInfoBase const&)#1}&&) [clone .isra.0]:(.text._ZN4llvm15handleErrorImplIZNS_12consumeErrorENS_5ErrorEEUlRKNS_13ErrorInfoBaseEE_JEEES1_St10unique_ptrIS2_St14default_deleteIS2_EEOT_DpOT0_.isra.0+0x56): error: undefined reference to 'llvm::ErrorInfoBase::ID'
lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/Protocol.cpp.o:Protocol.cpp:function getSupportedSchemes() [clone .part.0]:(.text._ZL19getSupportedSchemesv.part.0+0xa0): error: undefined reference to 'llvm::StringMapImpl::hash(llvm::StringRef)'
lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/Protocol.cpp.o:Protocol.cpp:function getSupportedSchemes() [clone .part.0]:(.text._ZL19getSupportedSchemesv.part.0+0xb0): error: undefined reference to 'llvm::StringMapImpl::LookupBucketFor(llvm::StringRef, unsigned int)'
lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/Protocol.cpp.o:Protocol.cpp:function getSupportedSchemes() [clone .part.0]:(.text._ZL19getSupportedSchemesv.part.0+0xe0): error: undefined reference to 'llvm::allocate_buffer(unsigned long, unsigned long)'
lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/Protocol.cpp.o:Protocol.cpp:function getSupportedSchemes() [clone .part.0]:(.text._ZL19getSupportedSchemesv.part.0+0x127): error: undefined reference to 'llvm::StringMapImpl::RehashTable(unsigned int)'
lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/Protocol.cpp.o:Protocol.cpp:function llvm::raw_ostream::operator<<(char const*):(.text._ZN4llvm11raw_ostreamlsEPKc+0x3c): error: undefined reference to 'llvm::raw_ostream::write(char const*, unsigned long)'
lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/Protocol.cpp.o:Protocol.cpp:function llvm::json::Value::Value(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >):(.text._ZN4llvm4json5ValueC2ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x22): error: undefined reference to 'llvm::json::isUTF8(llvm::StringRef, unsigned long*)'
lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/Protocol.cpp.o:Protocol.cpp:function llvm::json::ObjectKey::ObjectKey(char const*):(.text._ZN4llvm4json9ObjectKeyC2EPKc+0x38): error: undefined reference to 'llvm::json::isUTF8(llvm::StringRef, unsigned long*)'
lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/Protocol.cpp.o:Protocol.cpp:function llvm::json::fromJSON(llvm::json::Value const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, llvm::json::Path):(.text._ZN4llvm4json8fromJSONERKNS0_5ValueERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_4PathE+0xda): error: undefined reference to 'llvm::json::Path::report(llvm::StringLiteral)'
lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/Protocol.cpp.o:Protocol.cpp:function llvm::lsp::URIForFile::scheme() const:(.text._ZNK4llvm3lsp10URIForFile6schemeEv+0x3f): error: undefined reference to 'llvm::StringRef::find(llvm::StringRef, unsigned long) const'
lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/Protocol.cpp.o:Protocol.cpp:function llvm::lsp::URIForFile::registerSupportedScheme(llvm::StringRef):(.text._ZN4llvm3lsp10URIForFile23registerSupportedSchemeENS_9StringRefE+0x35): error: undefined reference to 'llvm::StringMapImpl::hash(llvm::StringRef)'
lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/Protocol.cpp.o:Protocol.cpp:function llvm::lsp::URIForFile::registerSupportedScheme(llvm::StringRef):(.text._ZN4llvm3lsp10URIForFile23registerSupportedSchemeENS_9StringRefE+0x45): error: undefined reference to 'llvm::StringMapImpl::LookupBucketFor(llvm::StringRef, unsigned int)'
lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/Protocol.cpp.o:Protocol.cpp:function llvm::lsp::URIForFile::registerSupportedScheme(llvm::StringRef):(.text._ZN4llvm3lsp10URIForFile23registerSupportedSchemeENS_9StringRefE+0x91): error: undefined reference to 'llvm::allocate_buffer(unsigned long, unsigned long)'
lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/Protocol.cpp.o:Protocol.cpp:function llvm::lsp::URIForFile::registerSupportedScheme(llvm::StringRef):(.text._ZN4llvm3lsp10URIForFile23registerSupportedSchemeENS_9StringRefE+0xdf): error: undefined reference to 'llvm::StringMapImpl::RehashTable(unsigned int)'
lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/Protocol.cpp.o:Protocol.cpp:function llvm::lsp::toJSON(llvm::lsp::URIForFile const&):(.text._ZN4llvm3lsp6toJSONERKNS0_10URIForFileE+0x23): error: undefined reference to 'llvm::json::isUTF8(llvm::StringRef, unsigned long*)'
lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/Protocol.cpp.o:Protocol.cpp:function llvm::lsp::operator<<(llvm::raw_ostream&, llvm::lsp::URIForFile const&):(.text._ZN4llvm3lsplsERNS_11raw_ostreamERKNS0_10URIForFileE+0x68): error: undefined reference to 'llvm::raw_ostream::write(char const*, unsigned long)'
lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/Protocol.cpp.o:Protocol.cpp:function llvm::lsp::fromJSON(llvm::json::Value const&, llvm::lsp::ClientCapabilities&, llvm::json::Path) [clone .localalias]:(.text._ZN4llvm3lsp8fromJSONERKNS_4json5ValueERNS0_18ClientCapabilitiesENS1_4PathE+0x29): error: undefined reference to 'llvm::json::Object::getObject(llvm::StringRef) const'
lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/Protocol.cpp.o:Protocol.cpp:function llvm::lsp::fromJSON(llvm::json::Value const&, llvm::lsp::ClientCapabilities&, llvm::json::Path) [clone .localalias]:(.text._ZN4llvm3lsp8fromJSONERKNS_4json5ValueERNS0_18ClientCapabilitiesENS1_4PathE+0x45): error: undefined reference to 'llvm::json::Object::getObject(llvm::StringRef) const'
lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/Protocol.cpp.o:Protocol.cpp:function llvm::lsp::fromJSON(llvm::json::Value const&, llvm::lsp::ClientCapabilities&, llvm::json::Path) [clone .localalias]:(.text._ZN4llvm3lsp8fromJSONERKNS_4json5ValueERNS0_18ClientCapabilitiesENS1_4PathE+0x5e): error: undefined reference to 'llvm::json::Object::getBoolean(llvm::StringRef) const'
lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/Protocol.cpp.o:Protocol.cpp:function llvm::lsp::fromJSON(llvm::json::Value const&, llvm::lsp::ClientCapabilities&, llvm::json::Path) [clone .localalias]:(.text._ZN4llvm3lsp8fromJSONERKNS_4json5ValueERNS0_18ClientCapabilitiesENS1_4PathE+0x7e): error: undefined reference to 'llvm::json::Object::getObject(llvm::StringRef) const'
lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/Protocol.cpp.o:Protocol.cpp:function llvm::lsp::fromJSON(llvm::json::Value const&, llvm::lsp::ClientCapabilities&, llvm::json::Path) [clone .localalias]:(.text._ZN4llvm3lsp8fromJSONERKNS_4json5ValueERNS0_18ClientCapabilitiesENS1_4PathE+0x97): error: undefined reference to 'llvm::json::Object::getObject(llvm::StringRef) const'
lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/Protocol.cpp.o:Protocol.cpp:function llvm::lsp::fromJSON(llvm::json::Value const&, llvm::lsp::ClientCapabilities&, llvm::json::Path) [clone .localalias]:(.text._ZN4llvm3lsp8fromJSONERKNS_4json5ValueERNS0_18ClientCapabilitiesENS1_4PathE+0xcf): error: undefined reference to 'llvm::json::Object::getBoolean(llvm::StringRef) const'
lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/Protocol.cpp.o:Protocol.cpp:function llvm::lsp::fromJSON(llvm::json::Value const&, llvm::lsp::ClientCapabilities&, llvm::json::Path) [clone .localalias]:(.text._ZN4llvm3lsp8fromJSONERKNS_4json5ValueERNS0_18ClientCapabilitiesENS1_4PathE+0x112): error: undefined reference to 'llvm::json::Path::report(llvm::StringLiteral)'
lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/Protocol.cpp.o:Protocol.cpp:function llvm::lsp::fromJSON(llvm::json::Value const&, llvm::lsp::Position&, llvm::json::Path) [clone .localalias]:(.text._ZN4llvm3lsp8fromJSONERKNS_4json5ValueERNS0_8PositionENS1_4PathE+0x67): error: undefined reference to 'llvm::json::Object::get(llvm::StringRef) const'
lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/Protocol.cpp.o:Protocol.cpp:function llvm::lsp::fromJSON(llvm::json::Value const&, llvm::lsp::Position&, llvm::json::Path) [clone .localalias]:(.text._ZN4llvm3lsp8fromJSONERKNS_4json5ValueERNS0_8PositionENS1_4PathE+0xc7): error: undefined reference to 'llvm::json::Object::get(llvm::StringRef) const'
lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/Protocol.cpp.o:Protocol.cpp:function llvm::lsp::fromJSON(llvm::json::Value const&, llvm::lsp::Position&, llvm::json::Path) [clone .localalias]:(.text._ZN4llvm3lsp8fromJSONERKNS_4json5ValueERNS0_8PositionENS1_4PathE+0x11a): error: undefined reference to 'llvm::json::Path::report(llvm::StringLiteral)'
lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/Protocol.cpp.o:Protocol.cpp:function llvm::lsp::fromJSON(llvm::json::Value const&, llvm::lsp::Position&, llvm::json::Path) [clone .localalias]:(.text._ZN4llvm3lsp8fromJSONERKNS_4json5ValueERNS0_8PositionENS1_4PathE+0x169): error: undefined reference to 'llvm::json::Path::report(llvm::StringLiteral)'
lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/Protocol.cpp.o:Protocol.cpp:function llvm::lsp::operator<<(llvm::raw_ostream&, llvm::lsp::Position const&):(.text._ZN4llvm3lsplsERNS_11raw_ostreamERKNS0_8PositionE+0xc): error: undefined reference to 'llvm::raw_ostream::operator<<(long)'
lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/Protocol.cpp.o:Protocol.cpp:function llvm::lsp::operator<<(llvm::raw_ostream&, llvm::lsp::Position const&):(.text._ZN4llvm3lsplsERNS_11raw_ostreamERKNS0_8PositionE+0x3e): error: undefined reference to 'llvm::raw_ostream::write(unsigned char)'
lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/Protocol.cpp.o:Protocol.cpp:function llvm::lsp::operator<<(llvm::raw_ostream&, llvm::lsp::Position const&):(.text._ZN4llvm3lsplsERNS_11raw_ostreamERKNS0_8PositionE+0x2e): error: undefined reference to 'llvm::raw_ostream::operator<<(long)'
lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/Protocol.cpp.o:Protocol.cpp:function llvm::lsp::operator<<(llvm::raw_ostream&, llvm::lsp::Position const&):(.text._ZN4llvm3lsplsERNS_11raw_ostreamERKNS0_8PositionE+0x4b): error: undefined reference to 'llvm::raw_ostream::operator<<(long)'
lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/Protocol.cpp.o:Protocol.cpp:function llvm::lsp::fromJSON(llvm::json::Value const&, llvm::lsp::Range&, llvm::json::Path) [clone .localalias]:(.text._ZN4llvm3lsp8fromJSONERKNS_4json5ValueERNS0_5RangeENS1_4PathE+0x67): error: undefined reference to 'llvm::json::Object::get(llvm::StringRef) const'
lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/Protocol.cpp.o:Protocol.cpp:function llvm::lsp::fromJSON(llvm::json::Value const&, llvm::lsp::Range&, llvm::json::Path) [clone .localalias]:(.text._ZN4llvm3lsp8fromJSONERKNS_4json5ValueERNS0_5RangeENS1_4PathE+0xd8): error: undefined reference to 'llvm::json::Object::get(llvm::StringRef) const'
lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/Protocol.cpp.o:Protocol.cpp:function llvm::lsp::operator<<(llvm::raw_ostream&, llvm::lsp::Range const&) [clone .localalias]:(.text._ZN4llvm3lsplsERNS_11raw_ostreamERKNS0_5RangeE+0xc): error: undefined reference to 'llvm::raw_ostream::operator<<(long)'
lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/Protocol.cpp.o:Protocol.cpp:function llvm::lsp::operator<<(llvm::raw_ostream&, llvm::lsp::Range const&) [clone .localalias]:(.text._ZN4llvm3lsplsERNS_11raw_ostreamERKNS0_5RangeE+0x7e): error: undefined reference to 'llvm::raw_ostream::write(unsigned char)'
```
</details>
https://github.com/llvm/llvm-project/pull/157885
More information about the llvm-commits
mailing list