[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 11:23:36 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 `clang-ppc64le-rhel` running on `ppc64le-clang-rhel-test` while building `llvm,mlir` at step 5 "build-unified-tree".

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

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

```
Step 5 (build-unified-tree) failure: build (failure)
...
22.159 [4347/192/2111] Building CXX object lib/BinaryFormat/CMakeFiles/LLVMBinaryFormat.dir/MsgPackDocument.cpp.o
22.162 [4346/192/2112] Building CXX object lib/BinaryFormat/CMakeFiles/LLVMBinaryFormat.dir/MsgPackReader.cpp.o
22.167 [4345/192/2113] Building CXX object lib/BinaryFormat/CMakeFiles/LLVMBinaryFormat.dir/MsgPackWriter.cpp.o
22.170 [4344/192/2114] Building CXX object lib/BinaryFormat/CMakeFiles/LLVMBinaryFormat.dir/SFrame.cpp.o
22.174 [4343/192/2115] Building CXX object lib/BinaryFormat/CMakeFiles/LLVMBinaryFormat.dir/Wasm.cpp.o
22.177 [4342/192/2116] Building CXX object lib/BinaryFormat/CMakeFiles/LLVMBinaryFormat.dir/XCOFF.cpp.o
22.180 [4341/192/2117] Building CXX object lib/Bitcode/Reader/CMakeFiles/LLVMBitReader.dir/BitcodeAnalyzer.cpp.o
22.187 [4340/192/2118] Building RISCVGenExegesis.inc...
22.192 [4339/192/2119] Building SystemZGenInstrInfo.inc...
22.195 [4338/192/2120] Linking CXX shared library lib/libLLVMSupportLSP.so.22.0git
FAILED: lib/libLLVMSupportLSP.so.22.0git 
: && /home/buildbots/llvm-external-buildbots/clang.19.1.7/bin/clang++ --gcc-toolchain=/gcc-toolchain/usr -fPIC -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -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 -Wl,--color-diagnostics   -Wl,--gc-sections  -Xlinker --dependency-file=lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/link.d -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