<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - liblldb.so fails to link under GNU/Linux powerpc"
href="http://llvm.org/bugs/show_bug.cgi?id=18077">18077</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>liblldb.so fails to link under GNU/Linux powerpc
</td>
</tr>
<tr>
<th>Product</th>
<td>lldb
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>All Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>lldb-dev@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Reporter</th>
<td>sylvestre@debian.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>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</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>