[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 10:21:12 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 `mlir-nvidia` running on `mlir-nvidia` while building `llvm,mlir` at step 6 "build-check-mlir-build-only".

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

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 6 (build-check-mlir-build-only) failure: build (failure)
...
8.094 [4577/16/833] Building CXX object lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/GlobalMerge.cpp.o
8.095 [4576/16/834] Building CXX object lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/GlobalMergeFunctions.cpp.o
8.100 [4575/16/835] Building CXX object lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/ImplicitNullChecks.cpp.o
8.104 [4574/16/836] Building CXX object lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/IfConversion.cpp.o
8.113 [4573/16/837] Building CXX object lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/HardwareLoops.cpp.o
8.122 [4572/16/838] Building CXX object lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/IndirectBrExpandPass.cpp.o
8.125 [4571/16/839] Building CXX object lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/InlineSpiller.cpp.o
8.128 [4570/16/840] Building CXX object lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/InitUndef.cpp.o
8.134 [4569/16/841] Building CXX object lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/InterleavedAccessPass.cpp.o
8.149 [4568/16/842] Linking CXX shared library lib/libLLVMSupportLSP.so.22.0git
FAILED: lib/libLLVMSupportLSP.so.22.0git 
: && /usr/bin/clang++ -fPIC -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 -fdiagnostics-color -ffunction-sections -fdata-sections -Werror=global-constructors -O3 -DNDEBUG  -Wl,-z,defs -Wl,-z,nodelete -fuse-ld=lld -Wl,--color-diagnostics   -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:" && :
ld.lld: error: undefined symbol: llvm::dbgs()
>>> referenced by Protocol.cpp
>>>               lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/Protocol.cpp.o:(llvm::json::Value::dump() const)
>>> referenced by Protocol.cpp
>>>               lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/Protocol.cpp.o:(llvm::json::Value::dump() const)
>>> referenced by Protocol.cpp
>>>               lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/Protocol.cpp.o:(llvm::Expected<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::fatalUncheckedExpected() const)
>>> referenced 8 more times

ld.lld: error: undefined symbol: llvm::json::Value::print(llvm::raw_ostream&) const
>>> referenced by Protocol.cpp
>>>               lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/Protocol.cpp.o:(llvm::json::Value::dump() const)

ld.lld: error: undefined symbol: llvm::raw_ostream::write(unsigned char)
>>> referenced by Protocol.cpp
>>>               lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/Protocol.cpp.o:(llvm::json::Value::dump() const)
>>> referenced by Protocol.cpp
>>>               lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/Protocol.cpp.o:(llvm::lsp::operator<<(llvm::raw_ostream&, llvm::lsp::Position const&))
>>> referenced by Protocol.cpp
>>>               lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/Protocol.cpp.o:(llvm::lsp::operator<<(llvm::raw_ostream&, llvm::lsp::Range const&))
>>> referenced 5 more times

ld.lld: error: undefined symbol: llvm::inconvertibleErrorCode()
>>> referenced by Protocol.cpp
>>>               lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/Protocol.cpp.o:(llvm::lsp::URIForFile::fromURI(llvm::StringRef))
>>> referenced by Protocol.cpp
>>>               lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/Protocol.cpp.o:(llvm::lsp::URIForFile::fromURI(llvm::StringRef))
>>> referenced by Protocol.cpp
>>>               lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/Protocol.cpp.o:(llvm::lsp::URIForFile::fromURI(llvm::StringRef))
>>> referenced 3 more times

ld.lld: error: undefined symbol: llvm::Twine::str[abi:cxx11]() const
>>> referenced by Protocol.cpp
>>>               lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/Protocol.cpp.o:(llvm::lsp::URIForFile::fromURI(llvm::StringRef))
>>> referenced by Protocol.cpp
>>>               lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/Protocol.cpp.o:(llvm::lsp::URIForFile::fromURI(llvm::StringRef))
>>> referenced by Protocol.cpp

```

</details>

https://github.com/llvm/llvm-project/pull/157885


More information about the llvm-commits mailing list