<div>On Mon Jan 06 2014 at 1:50:44 PM, Fletcher, John P <<a href="mailto:j.p.fletcher@aston.ac.uk">j.p.fletcher@aston.ac.uk</a>> wrote:</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I note from the release notes for LLVM 3.4 that gcc 4.6 is not on the supported compiler list for this release,</blockquote><div><br></div><div>By "this release", do you mean the (~6 months away) 3.5 release? GCC 4.6 is supported for Clang 3.4 (the current stable release, released earlier today).</div>
<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">and won't be for future releases.  I have explained below that at the moment with the 3.5 svn release I cannot get LLDB to compile using clang and libc++ and it will not compile with gcc 4.6. I asked two questions which have had so far no response:<br>

<br>
<br>
a)      What is the last version of LLDB which will build with gcc 4.6?<br>
<br>
b)      Will that be useful for working with more recent clang 3.5 with c++1y?<br>
<br>
I note from the release of 3.4 there is a binary for llvm+clang for Ubuntu 12.04.  It would be very helpful if there could also be a binary release of LLDB for the same system as it is not possible at the moment to build LLDB on 12.04 without installing extra compilers.<br>

<br>
Ubuntu 12.04 is intended by Ubuntu to be a 'Long Term Support' version, so it would be helpful if LLDB/LLVM would go along with the spirit of that and fill in the gaps in the tools.<br>
<br>
Best wishes<br>
<br>
John Fletcher<br>
<br>
<br>
______________________________<u></u>__<br>
From: Fletcher, John P<br>
Sent: 02 January 2014 14:13<br>
To: <a href="mailto:lldb-dev@cs.uiuc.edu" target="_blank">lldb-dev@cs.uiuc.edu</a><br>
Subject: FW: Problems with LLDB for Ubuntu 12.04<br>
<br>
Here is a message which I posted to cfe-users, and I am reposting it here as probably the right place for it.<br>
<br>
This is from something else which I posted on cfe-dev:<br>
<br>
<br>
The killer problem is that liblldb.so will not link, which is caused by the incompatibility of the std::string definitions.  I could not understand why it would not link until I read this:<br>
<br>
<br>
<br>
<a href="http://stackoverflow.com/questions/12542971/using-libstdc-compiled-libraries-with-clang-stdlib-libc" target="_blank">http://stackoverflow.com/<u></u>questions/12542971/using-<u></u>libstdc-compiled-libraries-<u></u>with-clang-stdlib-libc</a><br>

<br>
<br>
<br>
It looks to me as though the current LLDB is not buildable on Ubuntu 12.04 without adding a newer version of libstdc++ as it will not build with libc++ on 12.04<br>
<br>
<br>
<br>
This would be solved if it had an option not to use map.emplace so that it would work with gcc 4.6<br>
<br>
<br>
I have tried with versions of libc++ built with either libc++abi  or libcxxrt in case that made a difference.  It did not.<br>
<br>
It would be helpful to know<br>
<br>
<br>
a)      What is the last version of LLDB which will build with gcc 4.6?<br>
<br>
b)      Will that be useful for working with more recent clang 3.5 with c++1y?<br>
<br>
Thank you<br>
<br>
John Fletcher<br>
<br>
<br>
<br>
From: Fletcher, John P<br>
Sent: 01 January 2014 11:56<br>
To: <a href="mailto:cfe-users@cs.uiuc.edu" target="_blank">cfe-users@cs.uiuc.edu</a><br>
Subject: Problems with LLDB for Ubuntu 12.04<br>
<br>
I have spent a long time over the last few days doing the 'easy' thing of installing LLDB on my computer system.<br>
<br>
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.<br>

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

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

<br>
So what Ubuntu regard as a long term stable system is not supported by LLDB.<br>
<br>
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.<br>
<br>
I think it would be very helpful if the different parts of LLVM would be clear about which compilers are supported.<br>
<br>
Thank you<br>
<br>
John Fletcher<br>
<br>
<br>
______________________________<u></u>_________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu" target="_blank">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/<u></u>mailman/listinfo/cfe-dev</a><br>
</blockquote>