<div>Hi Tamas,<br></div><div><br></div><div>It looks like lldb-server only fails if I build with a Debug configuration, which I didn't realize until now.  In Release configuration, I don't need any changes to CMakefiles and lldb-server links without error.  My full build configuration in debug mode was:<br></div><p class="p1"><span class="s1">mkdir lldb50.1708110153</span><br></p><p class="p1"><span class="s1">cd lldb50.1708110153</span><br></p><p class="p1"><span class="s1">PATH=$PATH:/opt/lzlabs/bin</span><br></p><p class="p1"><span class="s1">CC=/usr/bin/clang CXX=/usr/bin/clang++ cmake \</span><br></p><p class="p1"><span class="s1">-G \</span><br></p><p class="p1"><span class="s1">Ninja \</span><br></p><p class="p1"><span class="s1">../llvm \</span><br></p><p class="p1"><span class="s1">-DBUILD_SHARED_LIBS=true \</span><br></p><p class="p1"><span class="s1">-DLLVM_TARGETS_TO_BUILD='X86' \</span><br></p><p class="p1"><span class="s1">-DCMAKE_BUILD_TYPE=Debug \</span><br></p><p class="p1"><span class="s1">-DLLVM_ENABLE_ASSERTIONS=TRUE \</span><br></p><p class="p1"><span class="s1">-DCMAKE_INSTALL_PREFIX=/home/pjoot/clang/lldb50.1708110153 \</span><br></p><p class="p1"><span class="s1">-DLLVM_OPTIMIZED_TABLEGEN=ON \</span><br></p><p class="p1"><span class="s1">-DICU_LIBRARY=/opt/lzlabs/lib64 \</span><br></p><p class="p1"><span class="s1">-DICU_INCLUDE_DIR=/opt/lzlabs/include</span><br></p><div>Without any changes LLVMRuntimeDyld is not in the lldb-server link list, so this is not an ordering issue.  I'm not sure why this ends up as an issue only with Debug.<br></div><div><br></div><div class="protonmail_signature_block "><div class="protonmail_signature_block-user "><div>--<br></div><div>Peeter<br></div></div></div><div><br></div>