[cfe-users] Problems with LLDB for Ubuntu 12.04

Fletcher, John P j.p.fletcher at aston.ac.uk
Wed Jan 1 03:56:27 PST 2014


I have spent a long time over the last few days doing the 'easy' thing of installing LLDB on my computer system.

I had intended to use the LLVM/Clang 3.4 release which was due out on 23rd December 2013. Although that date has now gone from the web site 3.4 the release has not appeared.  So I have started to work with the 3.5 svn trunk codes.

I use Ubuntu 12.04 which Ubuntu regard as a release with long term stability, which suits me as mainly a user rather than a developer of compilers etc.  That uses gcc 4.6, which does not support c++1y much at all.  Hence my use of clang, with much enthusiasm, as I want to use c++1y.

The current release of LLDB will not build with gcc 4.6 because of the use of features which are in the new standard but not supported in gcc 4.6 version of libstdc++.

It will also not build with the current clang/libc++ combination either, as it all compiles but will not link the main library because it is trying to use both libc++ and libstdc++ string at the same time which is impossible.

So what Ubuntu regard as a long term stable system is not supported by LLDB.

This is reflected in discussion on lldb-dev but not in the build instructions on the web site.  There has been some discussion about the need to install a later gcc such as 4.8.

I think it would be very helpful if the different parts of LLVM would be clear about which compilers are supported.

Thank you

John Fletcher






More information about the cfe-users mailing list