Hi, I have not tried an LLDB build against libc++ (though I have tried the test 
suite). Can you try to reproduce the crash with a debug build?

If its crashing on startup, it may be a library issue; maybe also try running 
ldd on the binary and check the output appears sane...

Dan



On 2013-08-06, at 8:49 PM, "Zack Perry" 
<[email protected]<mailto:[email protected]>> wrote:

Hi Dan,

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:

After reading the page: http://lldb.llvm.org/build.html, I have been trying to 
build lldb with the following two approaches:

(I) using llvm/clang 3.3 together with libc++/libc++abi so the build is free of 
libstdc++:

This is what I used to configure the build:

../llvm/configure --prefix=/usr --enable-optimized --disable-assertions 
--enable-targets=host-only --enable-cxx11=yes --enable-libcpp=yes 
--with-extra-ld-options="-lc++abi"

The resulting Release/bin/lldb crashes even for simple things like help x-(

Yes. I did build and use libc++ 3.3 as well.

-- Zack

________________________________
From: "Malea, Daniel" <[email protected]<mailto:[email protected]>>
To: Konstantin Tokarev <[email protected]<mailto:[email protected]>>; Zack 
Perry <[email protected]<mailto:[email protected]>>
Cc: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Sent: Tuesday, August 6, 2013 12:33 PM
Subject: Re: [lldb-dev] Anyone who has built lldb successfully on RHEL 6.x?

On Linux, a newer GCC will be helpful; I have been able to build with gcc
4.6 and newer. Alternatively, if you can build clang by itself, you should
be able to use clang to build lldb assuming you have a more recent
standard library.



Dan
[...]

_______________________________________________
lldb-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

Reply via email to