<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Thanks. I'll recommend that to my guy. We didn't realize that lldb
wasn't vetted the way clang is for an llvm release.<br>
<br>
<div class="moz-cite-prefix">On 12/12/2014 05:26 PM, Enrico Granata
wrote:<br>
</div>
<blockquote
cite="mid:67D609F1-C4D8-43DF-B703-E92BDC84351A@apple.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<div class="">Have you tried checking out LLDB trunk?</div>
<div class="">As far as I know, for LLDB specifically, the LLVM
versioning does not mark any specific stable release point -
following trunk (or at least something reasonably close to
trunk) is usually a good bet though - at least, if that is
broken, somebody will chime in and fix it!</div>
<br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Dec 12, 2014, at 2:21 PM, Richard Hadsell
<<a moz-do-not-send="true"
href="mailto:hadsell@blueskystudios.com" class="">hadsell@blueskystudios.com</a>>
wrote:</div>
<br class="Apple-interchange-newline">
<div class="">Our sys admin has been unsuccessful building
lldb 3.5 on CentOS 6.5. We are trying to install it for the
first time, because we are compiling software with clang
3.5, and TotalView does not yet support the weird debug info
produced by clang. We hope that lldb will do better.<br
class="">
<br class="">
He was unable to build lldb 3.5 with clang 3.5, so he is
using gcc 4.8.3, which we are using as the gcc-toolchain for
clang builds. It dies with this error:<br class="">
<br class="">
llvm[2]: Compiling SBDebugger.cpp for Release+Asserts build<br
class="">
/usr/local/src/llvm-3.5.0.src/tools/lldb/source/API/SBDebugger.cpp:
In function ‘llvm::sys::DynamicLibrary LoadPlugin(const
DebuggerSP&, const lldb_private::FileSpec&,
lldb_private::Error&)’:<br class="">
/usr/local/src/llvm-3.5.0.src/tools/lldb/source/API/SBDebugger.cpp:87:137:
warning: ISO C++ forbids casting between pointer-to-function
and pointer-to-object [-Wpedantic]<br class="">
LLDBCommandPluginInit init_func =
(LLDBCommandPluginInit)dynlib.getAddressOfSymbol("_ZN4lldb16PluginInitializeENS_10SBDebuggerE");<br
class="">
^<br class="">
In file included from
/usr/local/src/llvm-3.5.0.src/tools/lldb/source/API/SBDebugger.cpp:47:0:<br
class="">
/usr/local/src/llvm-3.5.0.src/include/llvm/Support/DynamicLibrary.h:46:14:
error: ‘llvm::sys::DynamicLibrary::DynamicLibrary(void*)’ is
private<br class="">
explicit DynamicLibrary(void *data = &Invalid) :
Data(data) {}<br class="">
^<br class="">
/usr/local/src/llvm-3.5.0.src/tools/lldb/source/API/SBDebugger.cpp:107:38:
error: within this context<br class="">
return llvm::sys::DynamicLibrary();<br class="">
^<br class="">
<br class="">
How can we download, build, and install a version of lldb
that will debug our clang-3.5-built software on CentOS 6.5?<br
class="">
<br class="">
-- <br class="">
Dick Hadsell<span class="Apple-tab-span"
style="white-space:pre"> </span><span
class="Apple-tab-span" style="white-space:pre"> </span><span
class="Apple-tab-span" style="white-space:pre"> </span>203-992-6320
Fax: 203-992-6001<br class="">
Reply-to:<span class="Apple-tab-span"
style="white-space:pre"> </span><span
class="Apple-tab-span" style="white-space:pre"> </span><span
class="Apple-tab-span" style="white-space:pre"> </span><a
moz-do-not-send="true"
href="mailto:hadsell@blueskystudios.com" class="">hadsell@blueskystudios.com</a><br
class="">
Blue Sky Studios
<a class="moz-txt-link-freetext" href="http://www.blueskystudios.com">http://www.blueskystudios.com</a><br class="">
1 American Lane, Greenwich, CT 06831-2560<br class="">
<br class="">
<br class="">
_______________________________________________<br class="">
lldb-dev mailing list<br class="">
<a class="moz-txt-link-abbreviated" href="mailto:lldb-dev@cs.uiuc.edu">lldb-dev@cs.uiuc.edu</a><br class="">
<a class="moz-txt-link-freetext" href="http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev">http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev</a><br
class="">
</div>
</blockquote>
</div>
<br class="">
<div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap:
break-word; -webkit-nbsp-mode: space; -webkit-line-break:
after-white-space;" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
word-wrap: break-word; -webkit-nbsp-mode: space;
-webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
word-wrap: break-word; -webkit-nbsp-mode: space;
-webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
word-wrap: break-word; -webkit-nbsp-mode: space;
-webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows:
auto; word-spacing: 0px; -webkit-text-stroke-width:
0px; word-wrap: break-word; -webkit-nbsp-mode: space;
-webkit-line-break: after-white-space;" class="">
<div class="">Thanks,</div>
<div class=""><i class="">- Enrico</i><br class="">
📩 egranata@<font class="" color="#ff2600"></font>.com ☎️
27683</div>
<div class=""><br class="">
</div>
</div>
</div>
</div>
</div>
</div>
<br class="Apple-interchange-newline">
<br class="Apple-interchange-newline">
</div>
<br class="">
</blockquote>
<br>
<div class="moz-signature">-- <br>
<pre class="moz-signature" cols="256">Dick Hadsell 203-992-6320 Fax: 203-992-6001
Reply-to: <a class="moz-txt-link-abbreviated" href="mailto:hadsell@blueskystudios.com">hadsell@blueskystudios.com</a>
Blue Sky Studios <a class="moz-txt-link-freetext" href="http://www.blueskystudios.com">http://www.blueskystudios.com</a>
1 American Lane, Greenwich, CT 06831-2560
</pre>
</div>
</body>
</html>