<html><body><div style="color:#000; background-color:#fff; font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:12pt"><div><span>Hi Dan,</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'Courier New', courier, monaco, monospace, sans-serif; background-color: transparent; font-style: normal;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'Courier New', courier, monaco, monospace, sans-serif; background-color: transparent; font-style: normal;"><span>Thanks for responding. Regretably, using clang 3.3 to build lldb on RHEL 6.4 didn't work out. I said so explicitly in my original post, extracted below for reference:</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'Courier New', courier, monaco, monospace, sans-serif; background-color: transparent; font-style: normal;"><span><br></span></div><div><span style="color: rgb(192, 0, 0);"><span
class="yiv1484680267yui_3_7_2_49_1375583653660_70" style="font-size: 12pt;">After reading the page: </span><a rel="nofollow" target="_blank" href="http://lldb.llvm.org/build.html" style="outline: 0px; font-size: 12pt;"><span class="yshortcuts" id="lw_1375836200_0">http://lldb.llvm.org/build.html</span></a>, <span class="yiv1484680267yui_3_7_2_49_1375583653660_70" style="font-size: 12pt;">I have been trying to build </span><span class="yiv1484680267yui_3_7_2_49_1375583653660_71" style="font-size: 12pt;">lldb</span><span class="yiv1484680267yui_3_7_2_49_1375583653660_72" style="font-size: 12pt;"> with the following two approaches:</span></span></div><div style="font-size: 12pt;"><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><div class="yiv1484680267y_msg_container"><div id="yiv1484680267"><div style="font-size: 12pt;"><div style="font-size: 12pt;"><span style="color: rgb(192, 0,
0);"><br></span></div><div style="background-color: transparent;"><span style="color: rgb(192, 0, 0);">(I) using llvm/clang 3.3 together with libc++/libc++abi so the build is free of libstdc++:</span></div><div style="background-color: transparent;"><span style="color: rgb(192, 0, 0);"><br></span></div><div style="background-color: transparent;"><span style="color: rgb(192, 0, 0);">This is what I used to configure the build:</span></div><div style="background-color: transparent;"><span style="color: rgb(192, 0, 0);"><br></span></div><div style="background-color: transparent;"><span style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; color: rgb(192, 0, 0);">../llvm/configure --prefix=/usr --enable-optimized --disable-assertions --enable-targets=host-only --enable-cxx11=yes --enable-libcpp=yes --with-extra-ld-options="-lc++abi"</span></div><div style="font-size: 12pt;"><span style="color: rgb(192, 0, 0);"><br></span></div><div
style="font-size: 12pt;"><span style="color: rgb(192, 0, 0); font-weight: bold;">The resulting Release/bin/lldb crashes even for simple things like help x-(</span></div><div style="font-size: 12pt;"><span style="color: rgb(192, 0, 0);"><br></span></div><div style="font-size: 12pt;"><span>Yes. I did build and use libc++ 3.3 as well.</span></div><div style="font-size: 12pt;"><span style="color: rgb(192, 0, 0);"><br></span></div><div style="font-size: 12pt;">-- Zack</div><div style="font-size: 12pt;"><br></div></div></div></div></div></div> <div style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 12pt;"> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1"> <font size="2" face="Arial"> <b><span style="font-weight:bold;">From:</span></b> "Malea, Daniel" <daniel.malea@intel.com><br> <b><span style="font-weight: bold;">To:</span></b> Konstantin Tokarev
<annulen@yandex.ru>; Zack Perry <zack.perry@sbcglobal.net> <br><b><span style="font-weight: bold;">Cc:</span></b> "lldb-dev@cs.uiuc.edu" <lldb-dev@cs.uiuc.edu> <br> <b><span style="font-weight: bold;">Sent:</span></b> Tuesday, August 6, 2013 12:33 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [lldb-dev] Anyone who has built lldb successfully on RHEL 6.x?<br> </font> </div> <div class="y_msg_container"><br>
On Linux, a newer GCC will be helpful; I have been able to build with gcc<br>4.6 and newer. Alternatively, if you can build clang by itself, you should<br>be able to use clang to build lldb assuming you have a more recent<br>standard library.<br><br><br><br>Dan<br>[...]</div> </div> </div> </div></body></html>