Re: [edk2] EDK II Build on Mac OS X 10.6

Subject: Re: [edk2] EDK II Build on Mac OS X 10.6

From: Andrew Fish <afish@apple.com>

To: edk2-devel@lists.sourceforge.net

Date: 2010-06-27 02:02:07

Sorry it does not work.

Ighor's 1st problem was an Xcode install issue. On Windows you still have to install tools as a separate step. The Xcode installer comes from the Xcode team and it defaults to not overwrite previous versions of Xcode as you may have a project on your system that ships on a previous version of Xcode and you don't want to lose the old version prior to making sure your project works with the new version of Xcode. It is my understanding that Xcode has worked like this for a long time.  The document I referenced was the Xcode readme.

Ighor's new problem looks like a real bug in the edk2/BaseTools project in the edk2.  Unfortunately I can not check into this package. I can only check into the edk2-buildtools project and this project gets synced with the edk2/BaseTools package in the edk2 periodically to keep the tools stable.  It looks like the edk2/BaseTools/Conf/build_rule.template does not match the source code checked in for GenFw build tool.

If you look at these files 
https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2/BaseTools/Conf/build_rule.template
        GenFw --xip -e $(MODULE_TYPE) -o ${dst} $(DEBUG_DIR)(+)$(MODULE_NAME).pecoff 

https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools/Conf/build_rule.template
        GenFw -e $(MODULE_TYPE) -o ${dst} $(DEBUG_DIR)(+)$(MODULE_NAME).pecoff 
When you run the UnixPkg build.sh script it does a "source edksetup.sh BaseTools' (edksetup.bat for Windows DOS Box) and this copies the edk2/BaseTools/Conf/*.template files to edk2/Conf/*.txt. So edk2/BaseTools/Conf/build_rule.template ends up as edk2/Conf/build_rule.txt. The idea here is if you tool config is different from the one in source control you can override it without needing to check things in. 

So the fix would be to remove --xip from the edk2/Conf/build_rule.txt.

The problem that you can run into is you have to delete these Conf/*.txt files  manually if the *.template files get updated. I'm guessing I missed an update to the *.template files and my local *.txt files are correct. 

Andrew Fish

PS I'm in an airport about to get on an international flight. So sorry for any delays in updating the Wiki or the code (can't do it myself). 

PPS This looks like a test escape from the last time the BaseTools got synced, hopefully we can get the process fixed. 



On Jun 26, 2010, at 4:25 PM, websrvr wrote:

First, start by accepting the fact that while the script might be working for you, it does not work for everyone.

I could never get it to install for me in 10.5 either for far too many reason like unable to download files and incorrect md5's which forces me to use an alternate OS solution because the project doesn't deliver what it claims which leaves a bad taste in my mouth.

Like you, all kinds of other OSX users claim to have this installed and working but not one individual has offered a binary solution as proof that it works and exists which leads me to conclude that it does not.

How hard is it really to make an installer of all the required files to avoid this kind of stupidity?

If I could get it to build a working solution I would most certainly provide a binary distribution for OSX users and unlike most I do have the bandwith to support this.

For this to happen I would need a working build script with all of the required sources that builds it without downloading anything cause the current method has far too many issues for me to deal with.

From my perspective this is basically a windows based project that some lucky people are able to use in linux and the rare OSX user has been able to get working but I certainly wouldn't call it supported because it works for you, you don't understand why it's working for you and not others or why it builds for you and not others and I'm sure if you tried it on a fresh install you would find yourself in the same boat as the other OSX users.

Even if I had to build it a piece at a time manually I would eventually end up with a working solution but this does not appear to be possible or the person(s) with this knowledge have not offered to assist which could in turn be used to fix whatever is wrong with the current build method.


On Jun 25, 2010, at 19:40 PM, Andrew Fish wrote:

Ighor, 

I uninstalled Xcode 3.2.1 and installed Xcode 3.2.3 and I still can not reproduce your issue. 

Would it be possible for you to unistall Xcode and then do a clean install? 


To uninstall Xcode developer tools on the boot volume along with the <Xcode> directory, from a Terminal window type:
$ sudo <Xcode>/Library/uninstall-devtools --mode=all


Andrew Fish





On Jun 25, 2010, at 1:59 PM, Ighor Idehenre wrote:

I just did a fresh install of 10.6  and Xcode without any updates on a separate partition; I get the same error unfortunately. I did the gcc -v check and it is the same as you. I would not think that there is a difference in terms of the gcc compiler on different apple systems but I could be wrong. Are these tools somehow system specific?  I do not seem to be having as easy a time using the tools as you seem to.


From: "edk2-devel-request@lists.sourceforge.net" <edk2-devel-request@lists.sourceforge.net>
To: edk2-devel@lists.sourceforge.net
Sent: Thu, June 24, 2010 7:45:21 PM
Subject: edk2-devel Digest, Vol 6, Issue 10

Send edk2-devel mailing list submissions to
    edk2-devel@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
    https://lists.sourceforge.net/lists/listinfo/edk2-devel
or, via email, send a message with subject or body 'help' to
    edk2-devel-request@lists.sourceforge.net

You can reach the person managing the list at
    edk2-devel-owner@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of edk2-devel digest..."


Today's Topics:

  1. Re: EDK II Build on Mac OS X 10.6 (Andrew Fish)


----------------------------------------------------------------------

Message: 1
Date: Thu, 24 Jun 2010 16:45:10 -0700
From: Andrew Fish <afish@apple.com>
Subject: Re: [edk2] EDK II Build on Mac OS X 10.6
To: edk2-devel@lists.sourceforge.net
Message-ID: <4E914EBE-9B8C-480D-990B-FB92584BA4CD@apple.com>
Content-Type: text/plain; charset="us-ascii"

I just pulled the top of tree and it works for me.
Do you have multiple versions of gcc installed? 

What do you get if you do the following from the terminal?
~$ gcc -v

This is what I get:
Using built-in specs.
Target: i686-apple-darwin10
Configured with: /var/tmp/gcc/gcc-5646.1~2/src/configure --disable-checking --enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --with-gxx-include-dir=/include/c++/4.2.1 --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5646) (dot 1)

All of the edk2 builds using only libraries that have source in the edk2. The UnixPkg has to make the SecMain (reset vector code) a posix application so it overrides the build options for the normal edk2 components and does something specific to OS X.  Looks like it goes after your default gcc. So maybe gcc version is the issue?

Andrew Fish





On Jun 24, 2010, at 3:42 PM, Ighor Idehenre wrote:

> Hello. I am attempting to install and run the EDK II developer tools on my Mac Pro but have not had any luck. I first attempted to run the kit 
> using the sites Xcode instructions for Snow Leopard. However each time I get the same error about the python build script. Below is a read out
> of the error.  I am hoping there are no conflicts with my host machine since it is 64 bit along with Xcode now it seems, but I am not familiar enough
> with the kit to know if this is the case. 
> ____________________________________________________________________
> make: *** [/Users/Ighor/work/edk2/Build/Unix/DEBUG_XCODE32/IA32/UnixPkg/Sec/SecMain/DEBUG/SecMain] Error 1
> 
> 
> build.py...
>  : error 7000: Failed to execute command
>    make tbuild [/Users/Ighor/work/edk2/Build/Unix/DEBUG_XCODE32/IA32/UnixPkg/Sec/SecMain]
> 
> 
> build.py...
>  : error F002: Failed to build module
>    /Users/Ighor/work/edk2/UnixPkg/Sec/SecMain.inf [IA32, XCODE32, DEBUG]
> 
> - Failed -
> 18:08:11, Jun.24 2010 [00:03]
> Command ./XcodeBuild.sh failed with exit code 1
> ___________________________________________________________________________ 
> 
> 
> So I then attempted to compile it using Ubuntu  in a virtual environment and it gave me a similar error about build.py. Ideally I would like to build this within
> Mac OS since that is the system I work on most. Also I would like to build for a target IA32 since it is compatible with the system firmware but would also 
> like to be able to build on x86 64 also. Any help would be greatly appreciated
> 
> ____________________________________________________________________________________
> Build xcode_project of project xcode_project with configuration Debug
> 
> ExternalBuildToolExecution xcode_project
> cd /Users/Ighor/work/edk2/UnixPkg/Xcode/xcode_project
> setenv ACTION
> setenv ALTERNATE_GROUP Ighor
> setenv ALTERNATE_MODE u+w,go-w,a+rX
> setenv ALTERNATE_OWNER Ighor
> setenv ALWAYS_SEARCH_USER_PATHS YES
> setenv APPLE_INTERNAL_DEVELOPER_DIR /AppleInternal/Developer
> setenv APPLE_INTERNAL_DIR /AppleInternal
> setenv APPLE_INTERNAL_DOCUMENTATION_DIR /AppleInternal/Documentation
> setenv APPLE_INTERNAL_LIBRARY_DIR /AppleInternal/Library
> setenv APPLE_INTERNAL_TOOLS /AppleInternal/Developer/Tools
> setenv APPLY_RULES_IN_COPY_FILES NO
> setenv ARCHS i386
> setenv ARCHS_STANDARD_32_64_BIT "x86_64 i386 ppc"
> setenv ARCHS_STANDARD_32_BIT "i386 ppc"
> setenv ARCHS_STANDARD_64_BIT x86_64
> setenv BUILD_COMPONENTS "headers build"
> setenv BUILD_DIR /Users/Ighor/work/edk2/UnixPkg/Xcode/xcode_project/build
> setenv BUILD_ROOT /Users/Ighor/work/edk2/UnixPkg/Xcode/xcode_project/build
> setenv BUILD_STYLE Debug
> setenv BUILD_VARIANTS normal
> setenv BUILT_PRODUCTS_DIR /Users/Ighor/work/edk2/UnixPkg/Xcode/xcode_project/build/Debug
> setenv CACHE_ROOT /var/folders/td/td5o16PXEx0Ofg4wpnah8++++TM/-Caches-/com.apple.Xcode.502
> setenv CLASS_FILE_DIR /Users/Ighor/work/edk2/UnixPkg/Xcode/xcode_project/build/xcode_project.build/Debug/xcode_project.build/JavaClasses
> setenv CLONE_HEADERS NO
> setenv CONFIGURATION Debug
> setenv CONFIGURATION_BUILD_DIR /Users/Ighor/work/edk2/UnixPkg/Xcode/xcode_project/build/Debug
> setenv CONFIGURATION_TEMP_DIR /Users/Ighor/work/edk2/UnixPkg/Xcode/xcode_project/build/xcode_project.build/Debug
> setenv COPYING_PRESERVES_HFS_DATA NO
> setenv COPY_PHASE_STRIP YES
> setenv DEAD_CODE_STRIPPING NO
> setenv DEBUGGING_SYMBOLS YES
> setenv DEPLOYMENT_LOCATION NO
> setenv DEPLOYMENT_POSTPROCESSING NO
> setenv DERIVED_FILES_DIR
> setenv DERIVED_FILE_DIR /Users/Ighor/work/edk2/UnixPkg/Xcode/xcode_project/build/xcode_project.build/Debug/xcode_project.build/DerivedSources
> setenv DERIVED_SOURCES_DIR /Users/Ighor/work/edk2/UnixPkg/Xcode/xcode_project/build/xcode_project.build/Debug/xcode_project.build/DerivedSources
> setenv DEVELOPER_APPLICATIONS_DIR /Developer/Applications
> setenv DEVELOPER_BIN_DIR /Developer/usr/bin
> setenv DEVELOPER_DIR /Developer
> setenv DEVELOPER_FRAMEWORKS_DIR /Developer/Library/Frameworks
> setenv DEVELOPER_FRAMEWORKS_DIR_QUOTED "\"/Developer/Library/Frameworks\""
> setenv DEVELOPER_LIBRARY_DIR /Developer/Library
> setenv DEVELOPER_SDK_DIR /Developer/SDKs
> setenv DEVELOPER_TOOLS_DIR /Developer/Tools
> setenv DEVELOPER_USR_DIR /Developer/usr
> setenv DEVELOPMENT_LANGUAGE English
> setenv DO_HEADER_SCANNING_IN_JAM NO
> setenv DSTROOT /tmp/xcode_project.dst
> setenv DWARF_DSYM_FILE_NAME .dSYM
> setenv DWARF_DSYM_FOLDER_PATH /Users/Ighor/work/edk2/UnixPkg/Xcode/xcode_project/build/Debug
> setenv ENABLE_HEADER_DEPENDENCIES YES
> setenv ENABLE_OPENMP_SUPPORT NO
> setenv EXCLUDED_INSTALLSRC_SUBDIRECTORY_PATTERNS ".svn CVS"
> setenv EXCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES "*.nib *.lproj *.framework *.gch *.xcode* (*) CVS .svn"
> setenv FILE_LIST /Users/Ighor/work/edk2/UnixPkg/Xcode/xcode_project/build/xcode_project.build/Debug/xcode_project.build/Objects/LinkFileList
> setenv FRAMEWORK_VERSION A
> setenv GCC3_VERSION 3.3
> setenv GCC_WARN_ABOUT_RETURN_TYPE YES
> setenv GCC_WARN_UNUSED_VARIABLE YES
> setenv GENERATE_MASTER_OBJECT_FILE NO
> setenv GENERATE_PKGINFO_FILE NO
> setenv GID 502
> setenv GROUP Ighor
> setenv HEADERMAP_INCLUDES_FLAT_ENTRIES_FOR_TARGET_BEING_BUILT YES
> setenv HEADERMAP_INCLUDES_FRAMEWORK_ENTRIES_FOR_ALL_PRODUCT_TYPES YES
> setenv HEADERMAP_INCLUDES_NONPUBLIC_NONPRIVATE_HEADERS YES
> setenv HEADERMAP_INCLUDES_PROJECT_HEADERS YES
> setenv INFOPLIST_EXPAND_BUILD_SETTINGS YES
> setenv INFOPLIST_OUTPUT_FORMAT same-as-input
> setenv INFOPLIST_PREPROCESS NO
> setenv INSTALL_DIR /tmp/xcode_project.dst
> setenv INSTALL_GROUP Ighor
> setenv INSTALL_MODE_FLAG u+w,go-w,a+rX
> setenv INSTALL_OWNER Ighor
> setenv INSTALL_ROOT /tmp/xcode_project.dst
> setenv JAVA_APP_STUB /System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub
> setenv JAVA_ARCHIVE_CLASSES YES
> setenv JAVA_ARCHIVE_TYPE JAR
> setenv JAVA_COMPILER /usr/bin/javac
> setenv JAVA_FRAMEWORK_RESOURCES_DIRS Resources
> setenv JAVA_JAR_FLAGS cv
> setenv JAVA_SOURCE_SUBDIR .
> setenv JAVA_USE_DEPENDENCIES YES
> setenv JAVA_ZIP_FLAGS -urg
> setenv KEEP_PRIVATE_EXTERNS NO
> setenv LD_GENERATE_MAP_FILE NO
> setenv LD_MAP_FILE_PATH /Users/Ighor/work/edk2/UnixPkg/Xcode/xcode_project/build/xcode_project.build/Debug/xcode_project.build/xcode_project-LinkMap--.txt
> setenv LD_OPENMP_FLAGS -fopenmp
> setenv LINKER_DISPLAYS_MANGLED_NAMES NO
> setenv LINK_WITH_STANDARD_LIBRARIES YES
> setenv LOCAL_ADMIN_APPS_DIR /Applications/Utilities
> setenv LOCAL_APPS_DIR /Applications
> setenv LOCAL_DEVELOPER_DIR /Library/Developer
> setenv LOCAL_LIBRARY_DIR /Library
> setenv MACOSX_DEPLOYMENT_TARGET 10.6
> setenv MAC_OS_X_VERSION_ACTUAL 1064
> setenv MAC_OS_X_VERSION_MAJOR 1060
> setenv MAC_OS_X_VERSION_MINOR 0604
> setenv NATIVE_ARCH i386
> setenv NATIVE_ARCH_32_BIT i386
> setenv NATIVE_ARCH_64_BIT x86_64
> setenv NATIVE_ARCH_ACTUAL x86_64
> setenv OBJECT_FILE_DIR /Users/Ighor/work/edk2/UnixPkg/Xcode/xcode_project/build/xcode_project.build/Debug/xcode_project.build/Objects
> setenv OBJROOT /Users/Ighor/work/edk2/UnixPkg/Xcode/xcode_project/build
> setenv ONLY_ACTIVE_ARCH YES
> setenv OPTIMIZATION_LEVEL 0
> setenv OS MACOS
> setenv PATH_PREFIXES_EXCLUDED_FROM_HEADER_DEPENDENCIES "/usr/include /usr/local/include /System/Library/Frameworks /System/Library/PrivateFrameworks /Developer/Headers /Developer/SDKs /Developer/Platforms"
> setenv PLATFORM_DEVELOPER_APPLICATIONS_DIR /Developer/Applications
> setenv PLATFORM_DEVELOPER_BIN_DIR /Developer/usr/bin
> setenv PLATFORM_DEVELOPER_LIBRARY_DIR /Developer/Library
> setenv PLATFORM_DEVELOPER_SDK_DIR /Developer/SDKs
> setenv PLATFORM_DEVELOPER_TOOLS_DIR /Developer/Tools
> setenv PLATFORM_DEVELOPER_USR_DIR /Developer/usr
> setenv PLATFORM_NAME macosx
> setenv PLIST_FILE_OUTPUT_FORMAT same-as-input
> setenv PREBINDING NO
> setenv PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR YES
> setenv PRECOMP_DESTINATION_DIR /Users/Ighor/work/edk2/UnixPkg/Xcode/xcode_project/build/xcode_project.build/Debug/xcode_project.build/PrefixHeaders
> setenv PRESERVE_DEAD_CODE_INITS_AND_TERMS NO
> setenv PRODUCT_NAME xcode_project
> setenv PROFILING_CODE NO
> setenv PROJECT xcode_project
> setenv PROJECT_DERIVED_FILE_DIR /Users/Ighor/work/edk2/UnixPkg/Xcode/xcode_project/build/xcode_project.build/DerivedSources
> setenv PROJECT_DIR /Users/Ighor/work/edk2/UnixPkg/Xcode/xcode_project
> setenv PROJECT_FILE_PATH /Users/Ighor/work/edk2/UnixPkg/Xcode/xcode_project/xcode_project.xcodeproj
> setenv PROJECT_NAME xcode_project
> setenv PROJECT_TEMP_DIR /Users/Ighor/work/edk2/UnixPkg/Xcode/xcode_project/build/xcode_project.build
> setenv REMOVE_CVS_FROM_RESOURCES YES
> setenv REMOVE_SVN_FROM_RESOURCES YES
> setenv RUN_CLANG_STATIC_ANALYZER NO
> setenv SCAN_ALL_SOURCE_FILES_FOR_INCLUDES NO
> setenv SDKROOT /Developer/SDKs/MacOSX10.6.sdk
> setenv SEPARATE_STRIP NO
> setenv SEPARATE_SYMBOL_EDIT NO
> setenv SHARED_DERIVED_FILE_DIR /Users/Ighor/work/edk2/UnixPkg/Xcode/xcode_project/build/Debug/DerivedSources
> setenv SHARED_PRECOMPS_DIR /var/folders/td/td5o16PXEx0Ofg4wpnah8++++TM/-Caches-/com.apple.Xcode.502/SharedPrecompiledHeaders
> setenv SKIP_INSTALL NO
> setenv SOURCE_ROOT /Users/Ighor/work/edk2/UnixPkg/Xcode/xcode_project
> setenv SRCROOT /Users/Ighor/work/edk2/UnixPkg/Xcode/xcode_project
> setenv STANDARD_C_PLUS_PLUS_LIBRARY_TYPE dynamic
> setenv STRINGS_FILE_OUTPUT_ENCODING UTF-16
> setenv STRIP_INSTALLED_PRODUCT YES
> setenv STRIP_STYLE all
> setenv SYMROOT /Users/Ighor/work/edk2/UnixPkg/Xcode/xcode_project/build
> setenv SYSTEM_ADMIN_APPS_DIR /Applications/Utilities
> setenv SYSTEM_APPS_DIR /Applications
> setenv SYSTEM_CORE_SERVICES_DIR /System/Library/CoreServices
> setenv SYSTEM_DEMOS_DIR /Applications/Extras
> setenv SYSTEM_DEVELOPER_APPS_DIR /Developer/Applications
> setenv SYSTEM_DEVELOPER_BIN_DIR /Developer/usr/bin
> setenv SYSTEM_DEVELOPER_DEMOS_DIR "/Developer/Applications/Utilities/Built Examples"
> setenv SYSTEM_DEVELOPER_DIR /Developer
> setenv SYSTEM_DEVELOPER_DOC_DIR "/Developer/ADC Reference Library"
> setenv SYSTEM_DEVELOPER_GRAPHICS_TOOLS_DIR "/Developer/Applications/Graphics Tools"
> setenv SYSTEM_DEVELOPER_JAVA_TOOLS_DIR "/Developer/Applications/Java Tools"
> setenv SYSTEM_DEVELOPER_PERFORMANCE_TOOLS_DIR "/Developer/Applications/Performance Tools"
> setenv SYSTEM_DEVELOPER_RELEASENOTES_DIR "/Developer/ADC Reference Library/releasenotes"
> setenv SYSTEM_DEVELOPER_TOOLS /Developer/Tools
> setenv SYSTEM_DEVELOPER_TOOLS_DOC_DIR "/Developer/ADC Reference Library/documentation/DeveloperTools"
> setenv SYSTEM_DEVELOPER_TOOLS_RELEASENOTES_DIR "/Developer/ADC Reference Library/releasenotes/DeveloperTools"
> setenv SYSTEM_DEVELOPER_USR_DIR /Developer/usr
> setenv SYSTEM_DEVELOPER_UTILITIES_DIR /Developer/Applications/Utilities
> setenv SYSTEM_DOCUMENTATION_DIR /Library/Documentation
> setenv SYSTEM_LIBRARY_DIR /System/Library
> setenv TARGETNAME xcode_project
> setenv TARGET_BUILD_DIR /Users/Ighor/work/edk2/UnixPkg/Xcode/xcode_project/build/Debug
> setenv TARGET_NAME xcode_project
> setenv TARGET_TEMP_DIR /Users/Ighor/work/edk2/UnixPkg/Xcode/xcode_project/build/xcode_project.build/Debug/xcode_project.build
> setenv TEMP_DIR /Users/Ighor/work/edk2/UnixPkg/Xcode/xcode_project/build/xcode_project.build/Debug/xcode_project.build
> setenv TEMP_FILES_DIR
> setenv TEMP_FILE_DIR /Users/Ighor/work/edk2/UnixPkg/Xcode/xcode_project/build/xcode_project.build/Debug/xcode_project.build
> setenv TEMP_ROOT /Users/Ighor/work/edk2/UnixPkg/Xcode/xcode_project/build
> setenv UID 502
> setenv USER Ighor
> setenv USER_APPS_DIR /Users/Ighor/Applications
> setenv USER_LIBRARY_DIR /Users/Ighor/Library
> setenv VALID_ARCHS "i386 ppc ppc64 ppc7400 ppc970 x86_64"
> setenv XCODE_APP_SUPPORT_DIR /Developer/Library/Xcode
> setenv XCODE_VERSION_ACTUAL 0322
> setenv XCODE_VERSION_MAJOR 0300
> setenv XCODE_VERSION_MINOR 0320
> ./XcodeBuild.sh
> 
> /Users/Ighor/work/edk2/UnixPkg
> Initializing workspace
> /Users/Ighor/work/edk2/BaseTools
> Loading previous configuration from $WORKSPACE/Conf/BuildEnv.sh
> WORKSPACE: /Users/Ighor/work/edk2
> EDK_TOOLS_PATH: /Users/Ighor/work/edk2/BaseTools
> using prebuilt tools
> /Users/Ighor/work/edk2/BaseTools/BinWrappers/Darwin-i386:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin
> /Users/Ighor/work/edk2/BaseTools/BinWrappers/Darwin-i386/build
> 18:08:08, Jun.24 2010 [Darwin-10.4.0-i386-64bit]
> 
> WORKSPACE                = /Users/Ighor/work/edk2
> ECP_SOURCE              = /Users/Ighor/work/edk2/EdkCompatibilityPkg
> EDK_SOURCE              = /Users/Ighor/work/edk2/EdkCompatibilityPkg
> EFI_SOURCE              = /Users/Ighor/work/edk2/EdkCompatibilityPkg
> EDK_TOOLS_PATH          = /Users/Ighor/work/edk2/BaseTools
> 
> TARGET_ARCH              = IA32
> TARGET                  = DEBUG
> TOOL_CHAIN_TAG          = XCODE32
> 
> Active Platform          = /Users/Ighor/work/edk2/UnixPkg/UnixPkg.dsc
> Flash Image Definition  = /Users/Ighor/work/edk2/UnixPkg/UnixPkg.fdf
> 
> Processing meta-data ... done!
> Building ... /Users/Ighor/work/edk2/MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf [IA32]
> make: Nothing to be done for `tbuild'.
> Building ... /Users/Ighor/work/edk2/MdePkg/Library/PeiServicesLib/PeiServicesLib.inf [IA32]
> make: Nothing to be done for `tbuild'.
> Building ... /Users/Ighor/work/edk2/UnixPkg/Library/PeiUnixOemHookStatusCodeLib/PeiUnixOemHookStatusCodeLib.inf [IA32]
> make: Nothing to be done for `tbuild'.
> Building ... /Users/Ighor/work/edk2/MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf [IA32]
> make: Nothing to be done for `tbuild'.
> Building ... /Users/Ighor/work/edk2/MdePkg/Library/BaseLib/BaseLib.inf [IA32]
> make: Nothing to be done for `tbuild'.
> Building ... /Users/Ighor/work/edk2/MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf [IA32]
> make: Nothing to be done for `tbuild'.
> Building ... /Users/Ighor/work/edk2/MdePkg/Library/BasePrintLib/BasePrintLib.inf [IA32]
> make: Nothing to be done for `tbuild'.
> Building ... /Users/Ighor/work/edk2/MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf [IA32]
> make: Nothing to be done for `tbuild'.
> Building ... /Users/Ighor/work/edk2/MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf [IA32]
> make: Nothing to be done for `tbuild'.
> Building ... /Users/Ighor/work/edk2/MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf [IA32]
> make: Nothing to be done for `tbuild'.
> Building ... /Users/Ighor/work/edk2/MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf [IA32]
> make: Nothing to be done for `tbuild'.
> Building ... /Users/Ighor/work/edk2/MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf [IA32]
> make: Nothing to be done for `tbuild'.
> Building ... /Users/Ighor/work/edk2/UnixPkg/Sec/SecMain.inf [IA32]
> "gcc" -o /Users/Ighor/work/edk2/Build/Unix/DEBUG_XCODE32/IA32/UnixPkg/Sec/SecMain/DEBUG/SecMain -arch i386 -o /Users/Ighor/work/edk2/Build/Unix/DEBUG_XCODE32/IA32/SecMain -L/usr/X11R6/lib -lXext -lX11 -lIOKit -framework Carbon  -filelist /Users/Ighor/work/edk2/Build/Unix/DEBUG_XCODE32/IA32/UnixPkg/Sec/SecMain/OUTPUT/static_library_files.lst  -lc
> ld: library not found for -lcrt1.10.6.o
> collect2: ld returned 1 exit status
> make: *** [/Users/Ighor/work/edk2/Build/Unix/DEBUG_XCODE32/IA32/UnixPkg/Sec/SecMain/DEBUG/SecMain] Error 1
> 
> 
> build.py...
>  : error 7000: Failed to execute command
>    make tbuild [/Users/Ighor/work/edk2/Build/Unix/DEBUG_XCODE32/IA32/UnixPkg/Sec/SecMain]
> 
> 
> build.py...
>  : error F002: Failed to build module
>    /Users/Ighor/work/edk2/UnixPkg/Sec/SecMain.inf [IA32, XCODE32, DEBUG]
> 
> - Failed -
> 18:08:11, Jun.24 2010 [00:03]
> Command ./XcodeBuild.sh failed with exit code 1

Robert Sharpe

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel