[lldb-dev] Compiler requirements for compiling lldb?

Greg Clayton gclayton at apple.com
Wed Jul 9 13:57:10 PDT 2014


I believe we currently assume gcc 4.8.2, MSVC 2012 and a recent clang (I don't know what clang 3.1 maps to as we have different builds at Apple).

If GCC 4.7 can handle all of the C++11 that we have in LLDB, I am all for trying to support it. It there are major changes required, we might need to bump the requirement to gcc 4.8.2. If someone can find out how the LLDB build goes with gcc 4.7 that would be great. 

Greg Clayton


> On Jul 7, 2014, at 9:38 PM, Zachary Turner <zturner at google.com> wrote:
> 
> Managed to get this fixed, so if you sync you should be good to go now.  Sorry for the trouble.
> 
> 
> Regarding Chandler's comment on GCC version, I suppose it wouldn't be too difficult of an experiment to just try older versions of GCC and see if the errors that arise are trivially fixable.
> 
> 
> On Mon, Jul 7, 2014 at 7:50 PM, Chandler Carruth <chandlerc at google.com> wrote:
> On Mon, Jul 7, 2014 at 7:11 PM, Randy Smith <rdsmith at chromium.org> wrote:
> Is there a goal of keeping lldb compatible with building with gcc?  I've been building successfully with gcc 4.8.2, but compiling at r212507 just broke with that gcc on a source line that was recently (today) changed.
> 
> Historically, my understanding is that LLDB has required much more recent GCCs to build than the rest of LLVM, even LLD (which has always used C++11). Personally, now that the baseline for LLVM's compiler support is more reasonably modern (GCC 4.7, MSVC 2012, Clang 3.1) I wonder if it would be acceptable to the LLDB developers to have a common baseline of host toolchain support with the rest of the LLVM project[1]? If not, I wonder what the LLVM baseline would need to be before they could be the same? Not a big deal, but would simplify one point of "getting started" for folks trying to hack on LLDB.
> 
> -Chandler
> 
> [1] The details are here: http://llvm.org/docs/CodingStandards.html#supported-c-11-language-and-library-features
> 
> 
> _______________________________________________
> 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