[lldb-dev] Release and BuildAndIntegration compile fixes

Jason Molenda jason at molenda.com
Fri Jun 11 01:11:25 PDT 2010


Hi,

The USER_HEADER_SEARCH_PATHS change is straightforward.  I'm less sure of the ONLY_ACTIVE_ARCH change.  The OTHER_LDFLAGS change looks wrong given how we install lldb inside Apple. 

Normally you would expect to build the Debug or Release configurations.  The BuildAndIntegration target is used internally within Apple when we're building it in our build system there.

Let me check with Greg on this - he's the main person responsible for the Xcode project file.  We're still at the week-long Apple developer conference right now but we'll look at this next week.

J

On Jun 10, 2010, at 10:23 AM, malkia wrote:

> Hi guys,
> 
> I've had problems compiling Release & BuildAndIntegration, and also
> running Release/lldb and BuildAndIntegration/lldb.
> 
> Here is patch to fix them
> 
> malkia ~/p/lldb $ svn diff lldb.xcodeproj/
> Index: lldb.xcodeproj/project.pbxproj
> ===================================================================
> --- lldb.xcodeproj/project.pbxproj	(revision 105791)
> +++ lldb.xcodeproj/project.pbxproj	(working copy)
> @@ -2673,7 +2673,7 @@
> 				);
> 				GCC_WARN_ABOUT_RETURN_TYPE = YES;
> 				GCC_WARN_UNUSED_VARIABLE = YES;
> -				ONLY_ACTIVE_ARCH = YES;
> +				ONLY_ACTIVE_ARCH = NO;
> 				PREBINDING = NO;
> 				VALID_ARCHS = "x86_64 i386";
> 			};
> @@ -2695,6 +2695,7 @@
> 				);
> 				GCC_WARN_ABOUT_RETURN_TYPE = YES;
> 				GCC_WARN_UNUSED_VARIABLE = YES;
> +				ONLY_ACTIVE_ARCH = NO;
> 				PREBINDING = NO;
> 				VALID_ARCHS = "x86_64 i386";
> 			};
> @@ -2847,11 +2848,11 @@
> 					__TEXT,
> 					__info_plist,
> 					"$(PROJECT_DIR)/tools/driver/lldb-Info.plist",
> -					"-Wl,-rpath, at loader_path/../../Library/PrivateFrameworks/",
> +					"-Wl,-rpath, at loader_path/",
> 				);
> 				PREBINDING = NO;
> 				PRODUCT_NAME = lldb;
> -				USER_HEADER_SEARCH_PATHS = "$(SRCROOT)/include/lldb/Utility";
> +				USER_HEADER_SEARCH_PATHS = "$(SRCROOT)/include
> $(SRCROOT)/source/Host/macosx/cfcpp $(SRCROOT)/llvm/include
> $(SRCROOT)/llvm/tools/clang/include $(LLVM_BUILD_DIR)/llvm/include
> $(LLVM_BUILD_DIR)/llvm/tools/clang/include";
> 				VERSIONING_SYSTEM = "apple-generic";
> 				ZERO_LINK = NO;
> 			};
> @@ -2972,11 +2973,11 @@
> 					__TEXT,
> 					__info_plist,
> 					"$(PROJECT_DIR)/tools/driver/lldb-Info.plist",
> -					"-Wl,-rpath, at loader_path/../../Library/PrivateFrameworks/",
> +					"-Wl,-rpath, at loader_path/",
> 				);
> 				PREBINDING = NO;
> 				PRODUCT_NAME = lldb;
> -				USER_HEADER_SEARCH_PATHS = "$(SRCROOT)/include/lldb/Utility";
> +				USER_HEADER_SEARCH_PATHS = "$(SRCROOT)/include
> $(SRCROOT)/source/Host/macosx/cfcpp $(SRCROOT)/llvm/include
> $(SRCROOT)/llvm/tools/clang/include $(LLVM_BUILD_DIR)/llvm/include
> $(LLVM_BUILD_DIR)/llvm/tools/clang/include";
> 				VERSIONING_SYSTEM = "apple-generic";
> 				ZERO_LINK = NO;
> 			};
> 
> Thanks,
> Dimiter "malkia" Stanev,
> ICQ: 21875894
> malkia at mac.com
> malkia at gmail.com
> _______________________________________________
> 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