<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - LLD failed to link LLDB executable"
   href="https://llvm.org/bugs/show_bug.cgi?id=28775">28775</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>LLD failed to link LLDB executable
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>lld
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>All Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>eugene.zelenko@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I tried to use LLD as linker for LLDB project with recently introduced CMake's
option -DLLVM_ENABLE_LLD=ON.  I also used -DLLVM_ENABLE_LIBCXX=ON.

I tried to build trunk as of r277163.

[ 89%] Linking CXX executable ../../bin/lldb
undefined symbol: _ZN4lldb10SBDebugger10InitializeEv in
CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZN4lldb10SBDebugger11SetUseColorEb in
CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZN4lldb10SBDebugger15GetInstanceNameEv in
CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZN4lldb10SBDebugger16GetVersionStringEv in
CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZN4lldb10SBDebugger16SetTerminalWidthEj in
CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZN4lldb10SBDebugger16SkipAppInitFilesEb in
CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZN4lldb10SBDebugger17SkipLLDBInitFilesEb in
CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZN4lldb10SBDebugger18GetErrorFileHandleEv in
CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZN4lldb10SBDebugger18SetCloseInputOnEOFEb in
CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZN4lldb10SBDebugger18SetErrorFileHandleEP8_IO_FILEb in
CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZN4lldb10SBDebugger18SetInputFileHandleEP8_IO_FILEb in
CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZN4lldb10SBDebugger19GetOutputFileHandleEv in
CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZN4lldb10SBDebugger19SetOutputFileHandleEP8_IO_FILEb in
CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZN4lldb10SBDebugger20GetScriptingLanguageEPKc in
CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZN4lldb10SBDebugger20SetUseExternalEditorEb in
CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZN4lldb10SBDebugger21GetCommandInterpreterEv in
CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZN4lldb10SBDebugger21RunCommandInterpreterEbb in
CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol:
_ZN4lldb10SBDebugger21RunCommandInterpreterEbbRNS_30SBCommandInterpreterRunOptionsERiRbS4_
in CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZN4lldb10SBDebugger22DispatchInputInterruptEv in
CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZN4lldb10SBDebugger22GetDefaultArchitectureEPcm in
CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZN4lldb10SBDebugger22SaveInputTerminalStateEv in
CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZN4lldb10SBDebugger22SetDefaultArchitectureEPKc in
CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZN4lldb10SBDebugger24GetInternalVariableValueEPKcS2_ in
CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZN4lldb10SBDebugger25RestoreInputTerminalStateEv in
CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZN4lldb10SBDebugger6CreateEb in
CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZN4lldb10SBDebugger7DestroyERS0_ in
CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZN4lldb10SBDebugger7RunREPLENS_12LanguageTypeEPKc in
CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZN4lldb10SBDebugger8GetAsyncEv in
CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZN4lldb10SBDebugger8SetAsyncEb in
CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZN4lldb10SBDebugger9TerminateEv in
CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZN4lldb10SBDebuggerD1Ev in CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZN4lldb10SBFileSpec19AppendPathComponentEPKc in
CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZN4lldb10SBFileSpec25ResolveExecutableLocationEv in
CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZN4lldb10SBFileSpecC1EPKc in
CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZN4lldb10SBFileSpecC1EPKcb in
CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZN4lldb10SBFileSpecD1Ev in CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZN4lldb12SBStringList16GetStringAtIndexEm in
CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZN4lldb12SBStringListD1Ev in
CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZN4lldb13SBBroadcasterC2EPKc in
CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZN4lldb13SBBroadcasterD2Ev in
CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZN4lldb17SBLanguageRuntime25GetLanguageTypeFromStringEPKc in
CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol:
_ZN4lldb20SBCommandInterpreter24GetArgumentTypeAsCStringENS_19CommandArgumentTypeE
in CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol:
_ZN4lldb20SBCommandInterpreter29SourceInitFileInHomeDirectoryERNS_21SBCommandReturnObjectE
in CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZN4lldb20SBCommandInterpreterD1Ev in
CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZN4lldb21SBCommandReturnObject8PutErrorEP8_IO_FILE in
CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZN4lldb21SBCommandReturnObject9PutOutputEP8_IO_FILE in
CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZN4lldb21SBCommandReturnObjectC1Ev in
CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZN4lldb21SBCommandReturnObjectD1Ev in
CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZN4lldb30SBCommandInterpreterRunOptions14SetStopOnCrashEb in
CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZN4lldb30SBCommandInterpreterRunOptions14SetStopOnErrorEb in
CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZN4lldb30SBCommandInterpreterRunOptionsC1Ev in
CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZN4lldb30SBCommandInterpreterRunOptionsD1Ev in
CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZN4lldb7SBError24SetErrorStringWithFormatEPKcz in
CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZN4lldb7SBErrorC1Ev in CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZN4lldb7SBErrorD1Ev in CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZN4lldb8SBHostOS13ThreadCreatedEPKc in
CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZN4lldb8SBHostOS17GetLLDBPythonPathEv in
CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZN4lldb8SBHostOS20GetUserHomeDirectoryEv in
CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZN4lldb8SBStream6PrintfEPKcz in
CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZN4lldb8SBStream7GetDataEv in
CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZN4lldb8SBStream7GetSizeEv in
CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZN4lldb8SBStreamC1Ev in CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZN4lldb8SBStreamD1Ev in CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZNK4lldb10SBFileSpec12GetDirectoryEv in
CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZNK4lldb10SBFileSpec6ExistsEv in
CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZNK4lldb10SBFileSpec7GetPathEPcm in
CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZNK4lldb10SBFileSpec7IsValidEv in
CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZNK4lldb12SBStringList7GetSizeEv in
CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZNK4lldb7SBError10GetCStringEv in
CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZNK4lldb7SBError4FailEv in CMakeFiles/lldb.dir/Driver.cpp.o
undefined symbol: _ZNK4lldb7SBError8GetErrorEv in
CMakeFiles/lldb.dir/Driver.cpp.o</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>