[llvm-bugs] [Bug 32362] LLDB master fails to compile with linker error
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Jul 31 13:52:56 PDT 2017
https://bugs.llvm.org/show_bug.cgi?id=32362
Vedran Miletic <vedran at miletic.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |WORKSFORME
--- Comment #11 from Vedran Miletic <vedran at miletic.net> ---
$ make VERBOSE=1 lldb
(...)
[ 56%] Built target lldbTarget
make -f
tools/lldb/tools/lldb-server/CMakeFiles/lldb-server.dir/build.make
tools/lldb/tools/lldb-server/CMakeFiles/lldb-server.dir/depend
make[3]: Entering directory
'/home/vedranm/workspace/llvm/build-master'
cd /home/vedranm/workspace/llvm/build-master && /usr/bin/cmake -E cmake_depends
"Unix Makefiles" /home/vedranm/workspace/llvm
/home/vedranm/workspace/llvm/tools/lldb/tools/lldb-server /home/
vedranm/workspace/llvm/build-master
/home/vedranm/workspace/llvm/build-master/tools/lldb/tools/lldb-server
/home/vedranm/workspace/llvm/build-master/tools/lldb/tools/lldb-server/CMakeFiles/l
ldb-server.dir/DependInfo.cmake --color=
make[3]: Leaving directory '/home/vedranm/workspace/llvm/build-master'
make -f tools/lldb/tools/lldb-server/CMakeFiles/lldb-server.dir/build.make
tools/lldb/tools/lldb-server/CMakeFiles/lldb-server.dir/build
make[3]: Entering directory '/home/vedranm/workspace/llvm/build-master'
[ 56%] Linking CXX executable ../../../../bin/lldb-server
cd /home/vedranm/workspace/llvm/build-master/tools/lldb/tools/lldb-server &&
/usr/bin/cmake -E cmake_link_script CMakeFiles/lldb-server.dir/link.txt
--verbose=1 /usr/lib/ccache/c++ -fPIC
-fvisibility-inlines-hidden -Werror=date-time -std=c++11 -Wall -W
-Wno-unused-parameter -Wwrite-strings -Wcast-qual
-Wno-missing-field-initializers -pedantic -Wn
o-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment
-Wno-deprecated-declarations -Wno-unknown-pragmas -Wno-strict-aliasing
-Wno-deprecated-register -Wno-vla-extension -g -Wl,-allow-shlib-undefined
-Wl,-rpath-link,/home/vedranm/workspace/llvm/build-master/./lib
CMakeFiles/lldb-server.dir/Acceptor.cpp.o
CMakeFiles/lldb-server.dir/lldb-gdbserver.cpp.o C
MakeFiles/lldb-server.dir/lldb-platform.cpp.o
CMakeFiles/lldb-server.dir/lldb-server.cpp.o
CMakeFiles/lldb-server.dir/LLDBServerUtilities.cpp.o -o
../../../../bin/lldb-server -Wl,-rpath,"\$ORIGIN/../lib" -lpthread
../../../../lib/liblldbBase.a ../../../../lib/liblldbCore.a
../../../../lib/liblldbHost.a ../../../../lib/liblldbInitialization.a
../../../../lib/liblldbInterpreter.
a ../../../../lib/liblldbPluginProcessLinux.a -ledit -lcurses
/usr/lib/x86_64-linux-gnu/libform.so /usr/lib/x86_64-linux-gnu/libpanel.so
-ltinfo /usr/lib/x86_64-linux-gnu/libpython2.7.so
/usr/lib/x86_64-linux-gnu/libxml2.so -lpthread -ldl -lcurses
/usr/lib/x86_64-linux-gnu/libform.so /usr/lib/x86_64-linux-gnu/libpanel.so
-ledit -lcurses /usr/lib/x86_64-linux-gnu/libform.so /usr
/lib/x86_64-linux-gnu/libpanel.so -ltinfo
/usr/lib/x86_64-linux-gnu/libpython2.7.so /usr/lib/x86_64-linux-gnu/libxml2.so
-lpthread -ldl -lcurses /usr/lib/x86_64-linux-gnu/libform.so /usr/lib
/x86_64-linux-gnu/libpanel.so -ledit -ltinfo
/usr/lib/x86_64-linux-gnu/libpython2.7.so /usr/lib/x86_64-linux-gnu/libxml2.so
-lpthread -ldl -ledit -lcurses /usr/lib/x86_64-linux-gnu/libform.s
o /usr/lib/x86_64-linux-gnu/libpanel.so -ltinfo
/usr/lib/x86_64-linux-gnu/libpython2.7.so /usr/lib/x86_64-linux-gnu/libxml2.so
-lpthread -ldl ../../../../lib/liblldbPluginInstructionARM.a ..
/../../../lib/liblldbPluginInstructionMIPS.a
../../../../lib/liblldbPluginInstructionMIPS64.a
../../../../lib/libLLVMMC.so.6.0.0svn
../../../../lib/libLLVMMipsCodeGen.so.6.0.0svn ../../../..
/lib/libLLVMMipsAsmPrinter.so.6.0.0svn
../../../../lib/libLLVMMipsAsmParser.so.6.0.0svn
../../../../lib/libLLVMMipsDesc.so.6.0.0svn
../../../../lib/libLLVMMipsInfo.so.6.0.0svn ../../../../li
b/libLLVMMipsDisassembler.so.6.0.0svn
../../../../lib/liblldbPluginObjectContainerMachOArchive.a
../../../../lib/liblldbPluginObjectFilePECOFF.a
../../../../lib/liblldbPluginProcessGDBRemote
.a ../../../../lib/liblldbPluginPlatformMacOSX.a
../../../../lib/liblldbPluginPlatformPOSIX.a
../../../../lib/liblldbPluginProcessPOSIX.a ../../../../lib/liblldbCore.a
../../../../lib/liblld
bHost.a ../../../../lib/liblldbInterpreter.a
../../../../lib/liblldbBreakpoint.a ../../../../lib/liblldbDataFormatters.a
../../../../lib/liblldbExpression.a ../../../../lib/liblldbSymbol.a .
./../../../lib/liblldbTarget.a ../../../../lib/liblldbPluginProcessUtility.a
../../../../lib/liblldbPluginCPlusPlusLanguage.a
../../../../lib/liblldbPluginObjCLanguage.a ../../../../lib/libl
ldbPluginObjectFileJIT.a ../../../../lib/liblldbPluginScriptInterpreterPython.a
../../../../lib/liblldbPluginObjectContainerBSDArchive.a
../../../../lib/liblldbPluginObjectFileELF.a ../../..
/../lib/liblldbCommands.a ../../../../lib/liblldbPluginExpressionParserClang.a
../../../../lib/liblldbPluginExpressionParserGo.a
../../../../lib/liblldbPluginSymbolFileDWARF.a ../../../../li
b/liblldbPluginSymbolFilePDB.a ../../../../lib/liblldbPluginProcessElfCore.a
../../../../lib/liblldbPluginAppleObjCRuntime.a
../../../../lib/liblldbPluginDynamicLoaderPosixDYLD.a
../../../../lib/liblldbCore.a ../../../../lib/liblldbHost.a
../../../../lib/liblldbInterpreter.a ../../../../lib/liblldbBreakpoint.a
../../../../lib/liblldbDataFormatters.a ../../../../lib/liblldbExpression.a
../../../../lib/liblldbSymbol.a ../../../../lib/liblldbTarget.a
../../../../lib/liblldbPluginProcessUtility.a
../../../../lib/liblldbPluginCPlusPlusLanguage.a
../../../../lib/liblldbPluginObjCLanguage.a
../../../../lib/liblldbPluginObjectFileJIT.a
../../../../lib/liblldbPluginScriptInterpreterPython.a
../../../../lib/liblldbPluginObjectContainerBSDArchive.a
../../../../lib/liblldbPluginObjectFileELF.a ../../../../lib/liblldbCommands.a
../../../../lib/liblldbPluginExpressionParserClang.a
../../../../lib/liblldbPluginExpressionParserGo.a
../../../../lib/liblldbPluginSymbolFileDWARF.a
../../../../lib/liblldbPluginSymbolFilePDB.a
../../../../lib/liblldbPluginProcessElfCore.a
../../../../lib/liblldbPluginAppleObjCRuntime.a
../../../../lib/liblldbPluginDynamicLoaderPosixDYLD.a
../../../../lib/liblldbCore.a ../../../../lib/liblldbHost.a
../../../../lib/liblldbInterpreter.a ../../../../lib/liblldbBreakpoint.a
../../../../lib/liblldbDataFormatters.a ../../../../lib/liblldbExpression.a
../../../../lib/liblldbSymbol.a ../../../../lib/liblldbTarget.a
../../../../lib/liblldbPluginProcessUtility.a
../../../../lib/liblldbPluginCPlusPlusLanguage.a
../../../../lib/liblldbPluginObjCLanguage.a
../../../../lib/liblldbPluginObjectFileJIT.a
../../../../lib/liblldbPluginScriptInterpreterPython.a
../../../../lib/liblldbPluginObjectContainerBSDArchive.a
../../../../lib/liblldbPluginObjectFileELF.a ../../../../lib/liblldbCommands.a
../../../../lib/liblldbPluginExpressionParserClang.a
../../../../lib/liblldbPluginExpressionParserGo.a
../../../../lib/liblldbPluginSymbolFileDWARF.a
../../../../lib/liblldbPluginSymbolFilePDB.a
../../../../lib/liblldbPluginProcessElfCore.a
../../../../lib/liblldbPluginAppleObjCRuntime.a
../../../../lib/liblldbPluginDynamicLoaderPosixDYLD.a
../../../../lib/liblldbCore.a ../../../../lib/liblldbHost.a
../../../../lib/liblldbInterpreter.a ../../../../lib/liblldbBreakpoint.a
../../../../lib/liblldbDataFormatters.a ../../../../lib/liblldbExpression.a
../../../../lib/liblldbSymbol.a ../../../../lib/liblldbTarget.a
../../../../lib/liblldbPluginProcessUtility.a
../../../../lib/liblldbPluginCPlusPlusLanguage.a
../../../../lib/liblldbPluginObjCLanguage.a
../../../../lib/liblldbPluginObjectFileJIT.a
../../../../lib/liblldbPluginScriptInterpreterPython.a
../../../../lib/liblldbPluginObjectContainerBSDArchive.a
../../../../lib/liblldbPluginObjectFileELF.a ../../../../lib/liblldbCommands.a
../../../../lib/liblldbPluginExpressionParserClang.a
../../../../lib/liblldbPluginExpressionParserGo.a
../../../../lib/liblldbPluginSymbolFileDWARF.a
../../../../lib/liblldbPluginSymbolFilePDB.a
../../../../lib/liblldbPluginProcessElfCore.a
../../../../lib/liblldbPluginAppleObjCRuntime.a
../../../../lib/liblldbPluginDynamicLoaderPosixDYLD.a
../../../../lib/libLLVMDemangle.so.6.0.0svn ../../../../lib/liblldbBase.a
../../../../lib/libLLVMCore.so.6.0.0svn
../../../../lib/libLLVMExecutionEngine.so.6.0.0svn
../../../../lib/libclangFrontend.so.6.0.0svn
../../../../lib/libclangCodeGen.so.6.0.0svn
../../../../lib/libclangEdit.so.6.0.0svn
../../../../lib/libclangParse.so.6.0.0svn
../../../../lib/libclangRewrite.so.6.0.0svn
../../../../lib/libclangRewriteFrontend.so.6.0.0svn
../../../../lib/libclangSema.so.6.0.0svn
../../../../lib/libclangSerialization.so.6.0.0svn
../../../../lib/libLLVMipo.so.6.0.0svn ../../../../lib/libLLVMMCJIT.so.6.0.0svn
../../../../lib/libclangBasic.so.6.0.0svn
../../../../lib/libclangLex.so.6.0.0svn
../../../../lib/libLLVMDebugInfoPDB.so.6.0.0svn
../../../../lib/libclangAST.so.6.0.0svn ../../../../lib/liblldbUtility.a
../../../../lib/libLLVMBinaryFormat.so.6.0.0svn
../../../../lib/libLLVMSupport.so.6.0.0svn
../../../../lib/liblldbExpression.a(IRExecutionUnit.cpp.o): In function
`llvm::RuntimeDyld::MemoryManager::MemoryManager()':
/home/vedranm/workspace/llvm/include/llvm/ExecutionEngine/RuntimeDyld.h:96:
undefined reference to `vtable for llvm::RuntimeDyld::MemoryManager'
../../../../lib/liblldbExpression.a(IRExecutionUnit.cpp.o): In function
`llvm::JITSymbolResolver::JITSymbolResolver()':
/home/vedranm/workspace/llvm/include/llvm/ExecutionEngine/JITSymbol.h:223:
undefined reference to `vtable for llvm::JITSymbolResolver'
../../../../lib/liblldbExpression.a(IRExecutionUnit.cpp.o): In function
`llvm::RTDyldMemoryManager::RTDyldMemoryManager()':
/home/vedranm/workspace/llvm/include/llvm/ExecutionEngine/RTDyldMemoryManager.h:61:
undefined reference to `vtable for llvm::RTDyldMemoryManager'
/home/vedranm/workspace/llvm/include/llvm/ExecutionEngine/RTDyldMemoryManager.h:61:
undefined reference to `vtable for llvm::RTDyldMemoryManager'
../../../../lib/liblldbExpression.a(IRExecutionUnit.cpp.o):(.data.rel.ro._ZTVN12lldb_private15IRExecutionUnit13MemoryManagerE[_ZTVN12lldb_private15IRExecutionUnit13MemoryManagerE]+0x48):
undefined reference to `llvm::RTDyldMemoryManager::deregisterEHFrames()'
../../../../lib/liblldbExpression.a(IRExecutionUnit.cpp.o):(.data.rel.ro._ZTVN12lldb_private15IRExecutionUnit13MemoryManagerE[_ZTVN12lldb_private15IRExecutionUnit13MemoryManagerE]+0x60):
undefined reference to `llvm::RuntimeDyld::MemoryManager::anchor()'
../../../../lib/liblldbExpression.a(IRExecutionUnit.cpp.o):(.data.rel.ro._ZTVN12lldb_private15IRExecutionUnit13MemoryManagerE[_ZTVN12lldb_private15IRExecutionUnit13MemoryManagerE]+0xd0):
undefined reference to `llvm::JITSymbolResolver::anchor()'
../../../../lib/liblldbExpression.a(IRExecutionUnit.cpp.o):(.data.rel.ro._ZTVN4llvm18MCJITMemoryManagerE[_ZTVN4llvm18MCJITMemoryManagerE]+0x60):
undefined reference to `llvm::RuntimeDyld::MemoryManager::anchor()'
collect2: error: ld returned 1 exit status
tools/lldb/tools/lldb-server/CMakeFiles/lldb-server.dir/build.make:356: recipe
for target 'bin/lldb-server' failed
make[3]: *** [bin/lldb-server] Error 1
make[3]: Leaving directory '/home/vedranm/workspace/llvm/build-master'
CMakeFiles/Makefile2:55335: recipe for target
'tools/lldb/tools/lldb-server/CMakeFiles/lldb-server.dir/all' failed
make[2]: *** [tools/lldb/tools/lldb-server/CMakeFiles/lldb-server.dir/all]
Error 2
make[2]: Leaving directory '/home/vedranm/workspace/llvm/build-master'
CMakeFiles/Makefile2:55141: recipe for target
'tools/lldb/tools/driver/CMakeFiles/lldb.dir/rule' failed
make[1]: *** [tools/lldb/tools/driver/CMakeFiles/lldb.dir/rule] Error 2
make[1]: Leaving directory '/home/vedranm/workspace/llvm/build-master'
Makefile:13249: recipe for target 'lldb' failed
make: *** [lldb] Error 2
--
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/20170731/2fa3cc36/attachment-0001.html>
More information about the llvm-bugs
mailing list