[lldb-dev] [Bug 18077] New: liblldb.so fails to link under GNU/Linux powerpc

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Nov 27 06:41:26 PST 2013


http://llvm.org/bugs/show_bug.cgi?id=18077

            Bug ID: 18077
           Summary: liblldb.so fails to link under GNU/Linux powerpc
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at cs.uiuc.edu
          Reporter: sylvestre at debian.org
    Classification: Unclassified

Under a Debian unstable:
$ g++-4.8 -std=c++0x -g -O2 -Wl,-R -Wl,'$ORIGIN' -rdynamic
-L/home/sylvestre/llvm-toolchain-3.4-3.4~+rc1/build-llvm/Release/lib
-L/home/sylvestre/llvm-toolchain-3.4-3.4~+rc1/build-llvm/Release/lib
-fuse-ld=gold   -shared -o
/home/sylvestre/llvm-toolchain-3.4-3.4~+rc1/build-llvm/Release/lib/liblldb.so 
\
      -Wl,--whole-archive -llldbAPI -llldbBreakpoint -llldbCommands -llldbCore
-llldbDataFormatters -llldbExpression -llldbHostCommon -llldbInitAndLog
-llldbInterpreter -llldbPluginABIMacOSX_arm -llldbPluginABIMacOSX_i386
-llldbPluginABISysV_x86_64 -llldbPluginDisassemblerLLVM
-llldbPluginDynamicLoaderStatic -llldbPluginDynamicLoaderPOSIX
-llldbPluginEmulateInstructionARM
-llldbPluginLanguageRuntimeCPlusPlusItaniumABI
-llldbPluginLanguageRuntimeObjCAppleObjCRuntime
-llldbPluginObjectContainerBSDArchive -llldbPluginObjectFileELF
-llldbPluginSymbolVendorELF -llldbPluginObjectFilePECOFF
-llldbPluginOperatingSystemPython -llldbPluginPlatformGDBServer
-llldbPluginProcessGDBRemote -llldbPluginSymbolFileDWARF
-llldbPluginSymbolFileSymtab -llldbPluginUnwindAssemblyInstEmulation
-llldbPluginUnwindAssemblyx86 -llldbPluginUtility -llldbSymbol -llldbTarget
-llldbUtility -lclangAnalysis -lclangAST -lclangBasic -lclangCodeGen
-lclangFrontend -lclangDriver -lclangEdit -lclangLex -lclangParse -lclangSema
-lclangSerialization -lLLVMMCDisassembler -llldbPluginPlatformMacOSX
-llldbPluginPlatformLinux -llldbPluginPlatformWindows
-llldbPluginPlatformFreeBSD -llldbPluginPlatformPOSIX -llldbHostLinux
-llldbPluginProcessLinux -llldbPluginProcessPOSIX
-llldbPluginDynamicLoaderMacOSX -llldbPluginProcessElfCore
-Wl,--no-whole-archive -lLLVM-3.4 -Wl,--no-undefined
-L/usr/lib/python2.7/config-powerpc-linux-gnu -L/usr/lib -lpthread -ldl  -lutil
-lm  -lpython2.7 -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -lrt
-Wl,--soname,liblldb.so -lz -lpthread -lffi -ltinfo -ldl -lm 
 /usr/include/c++/4.8/bits/atomic_base.h:496: error: undefined reference to
'__atomic_load_8'
/usr/include/c++/4.8/bits/atomic_base.h:496: error: undefined reference to
'__atomic_load_8'
/usr/include/c++/4.8/bits/atomic_base.h:496: error: undefined reference to
'__atomic_load_8'
/usr/include/c++/4.8/bits/atomic_base.h:474: error: undefined reference to
'__atomic_store_8'
/usr/include/c++/4.8/bits/atomic_base.h:496: error: undefined reference to
'__atomic_load_8'
/usr/include/c++/4.8/bits/atomic_base.h:474: error: undefined reference to
'__atomic_store_8'
/usr/include/c++/4.8/bits/atomic_base.h:474: error: undefined reference to
'__atomic_store_8'
/usr/include/c++/4.8/bits/atomic_base.h:474: error: undefined reference to
'__atomic_store_8'
/usr/include/c++/4.8/bits/atomic_base.h:420: error: undefined reference to
'__atomic_fetch_add_8'
/usr/include/c++/4.8/bits/atomic_base.h:420: error: undefined reference to
'__atomic_fetch_add_8'
/usr/include/c++/4.8/bits/atomic_base.h:420: error: undefined reference to
'__atomic_fetch_add_8'
/usr/include/c++/4.8/bits/atomic_base.h:420: error: undefined reference to
'__atomic_fetch_add_8'

libstdc++ 4.8.2-5

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20131127/d4ef14f6/attachment.html>


More information about the lldb-dev mailing list