On Feb 14, 2012, at 3:06 PM, Peter Ohmann wrote:

> Hello,
> 
> I'm having some out-of-the-box trouble building on OSX 10.6 with XCode 3.2.6 
> x64.  Originally, the following error appears when compiling nearly every 
> file 
> in lldb-core:

Hi Peter,

LLDB development is happening with current versions of Clang.  Xcode 3.2.6 is 
really old at this point, and probably trying to build with GCC 4.2.  Given 
that these tools are really really old (apple doesn't even ship GCC 4.2 
anymore) there is little reason for LLDB to try to support it.  Can you try a 
more recent version of Xcode?

-Chris

> 
> ---
> Cannot use typeid with -fno-rtti
> ---
> 
> This is, of course, true, and is easily fixed by removing the -fno-rtti flag 
> from the build settings.  However, even with this fixed, a number of 
> seemingly 
> unrelated compilation errors remain.  A smattering of a few examples follows:
> 
> --- In Host.mm ---
> lldb/source/Host/macosx/Host.mm:1459: error: 'int lldb_private::Host::status' 
> is 
> not a static member of 'class lldb_private::Host'
> 
> Host.mm:1460: error: 'int lldb_private::Host::wait_pid' is not a static 
> member 
> of 'class lldb_private::Host'
> ---
> 
> --- In CommandObjectType.cpp ---
> lldb/include/lldb/Core/FormatNavigator.h:250: error: call of overloaded 
> 'Add_Impl(const lldb_private::ConstString&, const 
> std::tr1::shared_ptr<lldb_private::SummaryFormat>&, 
> lldb_private::FormatNavigator<lldb_private::ConstString, 
> lldb_private::SummaryFormat>::Types<lldb_private::ConstString, 
> lldb_private::SummaryFormat>)' is ambiguous
> ---
> 
> Not having much experience with Xcode or, obviously, the particular LLDB 
> project, I don't really know where to look for the incorrect build options 
> causing these issues.
> 
> I should mention that I have been told the project seems to build fine on OSX 
> lion (but, of course, that would mean using a newer version of Xcode as well).
> 
> I continue my search, but any help is greatly appreciated.
> 
> Thank you,
> Peter
> 
> P.S. This post originally showed up as a continuation of a thread from 
> January.  
> My sincerest apologies for however that happened (but I, of course, can't fix 
> it).
> 
> _______________________________________________
> lldb-dev mailing list
> [email protected]
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

_______________________________________________
lldb-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

Reply via email to