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

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@cs.uiuc.edu
Reporter sylvestre@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

labath@google.com changed bug 18077

What | Removed | Added |

  • | - | - |
    Status | NEW | RESOLVED |
    CC | | labath@google.com |
    Resolution | — | FIXED |

Comment # 2 on bug 18077 from labath@google.com

Some mips fixes went in for this. Hopefully that fixed the problem.