[lldb-dev] linker error for GDBRemoteCommunicationServer
scalpel4k at gmail.com
scalpel4k at gmail.com
Tue Nov 25 04:52:23 PST 2014
Hi guys,
for some time now I can't build lldb anymore due to some linker error. I don't
know enough to understand every corner in the llvm build system so I don't
know where I need to look at to solve the issue.
Could you give me a hint where I have to add the missing library? btw. I'm
doing an in-tree build.
thx Michi
[ 3237s] FAILED: : && /usr/bin/clang++-3.6 -fPIC -fvisibility-inlines-hidden
-Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-
initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wnon-virtual-
dtor -std=c++11 -fcolor-diagnostics -ffunction-sections -fdata-sections -Wno-
deprecated-declarations -Wno-unknown-pragmas -Wno-deprecated-register -fno-
exceptions -fno-rtti -O3 -DNDEBUG -Wl,-allow-shlib-undefined -Wl,-O3 -
Wl,--gc-sections tools/lldb/tools/lldb-platform/CMakeFiles/lldb-
platform.dir/lldb-platform.cpp.o -o bin/lldb-platform-3.6.0
lib/liblldb.so.3.6.0 -Wl,--start-group lib/liblldbBreakpoint.a
lib/liblldbCommands.a lib/liblldbDataFormatters.a lib/liblldbHost.a
lib/liblldbCore.a lib/liblldbExpression.a lib/liblldbInterpreter.a
lib/liblldbSymbol.a lib/liblldbTarget.a lib/liblldbUtility.a
lib/liblldbPluginDisassemblerLLVM.a lib/liblldbPluginSymbolFileDWARF.a
lib/liblldbPluginSymbolFileSymtab.a lib/liblldbPluginDynamicLoaderStatic.a
lib/liblldbPluginDynamicLoaderPosixDYLD.a
lib/liblldbPluginDynamicLoaderHexagonDYLD.a lib/liblldbPluginObjectFileMachO.a
lib/liblldbPluginObjectFileELF.a lib/liblldbPluginObjectFileJIT.a
lib/liblldbPluginSymbolVendorELF.a
lib/liblldbPluginObjectContainerBSDArchive.a
lib/liblldbPluginObjectContainerMachOArchive.a
lib/liblldbPluginProcessGDBRemote.a lib/liblldbPluginProcessMachCore.a
lib/liblldbPluginProcessUtility.a lib/liblldbPluginPlatformGDB.a
lib/liblldbPluginPlatformFreeBSD.a lib/liblldbPluginPlatformKalimba.a
lib/liblldbPluginPlatformLinux.a lib/liblldbPluginPlatformPOSIX.a
lib/liblldbPluginPlatformWindows.a lib/liblldbPluginPlatformMacOSX.a
lib/liblldbPluginDynamicLoaderMacOSXDYLD.a
lib/liblldbPluginUnwindAssemblyInstEmulation.a
lib/liblldbPluginUnwindAssemblyX86.a lib/liblldbPluginAppleObjCRuntime.a
lib/liblldbPluginCXXItaniumABI.a lib/liblldbPluginABIMacOSX_arm.a
lib/liblldbPluginABIMacOSX_arm64.a lib/liblldbPluginABIMacOSX_i386.a
lib/liblldbPluginABISysV_x86_64.a lib/liblldbPluginABISysV_hexagon.a
lib/liblldbPluginABISysV_ppc.a lib/liblldbPluginABISysV_ppc64.a
lib/liblldbPluginInstructionARM.a lib/liblldbPluginInstructionARM64.a
lib/liblldbPluginObjectFilePECOFF.a lib/liblldbPluginOSPython.a
lib/liblldbPluginMemoryHistoryASan.a
lib/liblldbPluginInstrumentationRuntimeAddressSanitizer.a lib/liblldbAPI.a
lib/liblldbPluginProcessLinux.a lib/liblldbPluginProcessPOSIX.a
lib/liblldbPluginProcessElfCore.a lib/liblldbPluginJITLoaderGDB.a -Wl,--end-
group lib/libclangAnalysis.so.3.6.0 lib/libclangAST.so.3.6.0
lib/libclangBasic.so.3.6.0 lib/libclangCodeGen.so.3.6.0
lib/libclangDriver.so.3.6.0 lib/libclangEdit.so.3.6.0
lib/libclangFrontend.so.3.6.0 lib/libclangLex.so.3.6.0
lib/libclangParse.so.3.6.0 lib/libclangRewrite.so.3.6.0
lib/libclangRewriteFrontend.so.3.6.0 lib/libclangSema.so.3.6.0
lib/libclangSerialization.so.3.6.0 -Wl,-rpath,"\$ORIGIN/../lib64" -Wl,-rpath-
link,/home/abuild/rpmbuild/BUILD/llvm-3.6.0.git.1416903627.a87c354/stage2/lib
&& :
[ 3237s]
lib/liblldbPluginProcessGDBRemote.a(GDBRemoteCommunicationServer.cpp.o): In
function
`GDBRemoteCommunicationServer::Handle_qProcessInfo(StringExtractorGDBRemote&)':
[ 3237s] ../tools/lldb/source/Plugins/Process/gdb-
remote/GDBRemoteCommunicationServer.cpp:
(.text._ZN28GDBRemoteCommunicationServer19Handle_qProcessInfoER24StringExtractorGDBRemote+0x13c):
undefined reference to `llvm::Triple::getOSName() const'
[ 3237s] ../tools/lldb/source/Plugins/Process/gdb-
remote/GDBRemoteCommunicationServer.cpp:
(.text._ZN28GDBRemoteCommunicationServer19Handle_qProcessInfoER24StringExtractorGDBRemote+0x27c):
undefined reference to `llvm::Triple::isArch64Bit() const'
[ 3237s] ../tools/lldb/source/Plugins/Process/gdb-
remote/GDBRemoteCommunicationServer.cpp:
(.text._ZN28GDBRemoteCommunicationServer19Handle_qProcessInfoER24StringExtractorGDBRemote+0x291):
undefined reference to `llvm::Triple::isArch32Bit() const'
[ 3237s] ../tools/lldb/source/Plugins/Process/gdb-
remote/GDBRemoteCommunicationServer.cpp:
(.text._ZN28GDBRemoteCommunicationServer19Handle_qProcessInfoER24StringExtractorGDBRemote+0x2a6):
undefined reference to `llvm::Triple::isArch16Bit() const'
[ 3237s] clang-3.6: error: linker command failed with exit code 1 (use -v to
see invocation)
[ 3237s] ninja: build stopped: subcommand failed.
More information about the lldb-dev
mailing list