[lldb-dev] Anyone who has built lldb successfully on RHEL 6.x?

Malea, Daniel daniel.malea at intel.com
Wed Aug 7 06:43:35 PDT 2013

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...


On 2013-08-06, at 8:49 PM, "Zack Perry" <zack.perry at sbcglobal.net<mailto:zack.perry at sbcglobal.net>> 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" <daniel.malea at intel.com<mailto:daniel.malea at intel.com>>
To: Konstantin Tokarev <annulen at yandex.ru<mailto:annulen at yandex.ru>>; Zack Perry <zack.perry at sbcglobal.net<mailto:zack.perry at sbcglobal.net>>
Cc: "lldb-dev at cs.uiuc.edu<mailto:lldb-dev at cs.uiuc.edu>" <lldb-dev at cs.uiuc.edu<mailto:lldb-dev at cs.uiuc.edu>>
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.


More information about the lldb-dev mailing list