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

Malea, Daniel daniel.malea at intel.com
Tue Aug 6 12:33:34 PDT 2013


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

On 2013-08-04 4:41 AM, "Konstantin Tokarev" <annulen at yandex.ru> wrote:

>> 
>>/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits
>>/shared_ptr.h: In member function Œvirtual void*
>>std::_Sp_counted_deleter<_Ptr, _Deleter, _Alloc,
>>_Lp>::_M_get_deleter(const std::type_info&)¹:
>> 
>>/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits
>>/shared_ptr.h:146: error: cannot use typeid with -fno-rtti
>
>This is a bug ing libstdc++ bundled with g++ 4.4.x. You need either to
>build lldb without -fno-rtti flag, or use libc++
>
>
> -- 
>Regards,
>Konstantin
>_______________________________________________
>lldb-dev mailing list
>lldb-dev at cs.uiuc.edu
>http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev





More information about the lldb-dev mailing list