[llvm-bugs] [Bug 28775] New: LLD failed to link LLDB executable

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Jul 29 16:43:04 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=28775

            Bug ID: 28775
           Summary: LLD failed to link LLDB executable
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: eugene.zelenko at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160729/b1fafa96/attachment.html>


More information about the llvm-bugs mailing list