From: "Gao, Liming" <liming.gao@intel.com>
To: Andrew Fish <afish@apple.com>, Hengyan Tao <hengyan.tao@gmail.com>
Cc: "edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Subject: Re: EmulatorPkg build issue
Date: Thu, 22 Jun 2017 01:48:01 +0000 [thread overview]
Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14D74D0CA@shsmsx102.ccr.corp.intel.com> (raw)
In-Reply-To: <CBDBD5CA-9EAC-4A43-8C3E-790897A9311D@apple.com>
Andrew:
There are two bugzillars to remove XCLANG and XCODE32 tool chain from tools_def.txt. So, we can drop them now.
https://bugzilla.tianocore.org/show_bug.cgi?id=562
https://bugzilla.tianocore.org/show_bug.cgi?id=563
Thanks
Liming
> -----Original Message-----
> From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Andrew Fish
> Sent: Thursday, June 22, 2017 1:47 AM
> To: Hengyan Tao <hengyan.tao@gmail.com>
> Cc: edk2-devel@lists.01.org
> Subject: Re: [edk2] EmulatorPkg build issue
>
> Hengyan,
>
> XCODE32 == Xcode 3.2 so the move to clang.
> XCODE5 == Xcode 5.0 was the last time clang command line arguments change. That is probably what you should be using.
>
> So try:
> >git diff
> diff --git a/EmulatorPkg/build.sh b/EmulatorPkg/build.sh
> index 339c6b3..4f653d2 100755
> --- a/EmulatorPkg/build.sh
> +++ b/EmulatorPkg/build.sh
> @@ -63,17 +63,8 @@ case `uname` in
> echo UnixPkg requires Snow Leopard or later OS
> exit 1
> else
> - CLANG_VER=$(clang -ccc-host-triple x86_64-pc-win32-macho 2>&1 >/dev/null) || true
> - if [[ "$CLANG_VER" == *-ccc-host-triple* ]]
> - then
> - # only older versions of Xcode support -ccc-host-tripe, for newer versions
> - # it is -target
> - HOST_TOOLS=XCODE32
> - TARGET_TOOLS=XCODE5
> - else
> - HOST_TOOLS=XCODE32
> - TARGET_TOOLS=XCLANG
> - fi
> + HOST_TOOLS=XCODE5
> + TARGET_TOOLS=XCODE5
> fi
> BUILD_NEW_SHELL="-D BUILD_NEW_SHELL"
> BUILD_FAT="-D BUILD_FAT"
>
> Thanks,
>
> Andrew Fish
>
> > On Jun 21, 2017, at 10:25 AM, Hengyan Tao <hengyan.tao@gmail.com> wrote:
> >
> > Hi Dear EmulatorPkg Maintainer,
> >
> > I am having the below issue when building EmulatorPkg. Any help will be
> > appreciated!
> >
> > Initializing workspace
> >
> > /Users/local/Documents/edk2/BaseTools
> >
> > Loading previous configuration from
> > /Users/local/Documents/edk2/Conf/BuildEnv.sh
> >
> > WORKSPACE: /Users/local/Documents/edk2
> >
> > EDK_TOOLS_PATH: /Users/local/Documents/edk2/BaseTools
> >
> > CONF_PATH: /Users/local/Documents/edk2/Conf
> >
> > using prebuilt tools
> >
> > Build environment: Darwin-15.4.0-x86_64-i386-64bit
> >
> > Build start time: 13:13:43, Jun.19 2017
> >
> >
> > WORKSPACE = /Users/local/Documents/edk2
> >
> > ECP_SOURCE = /Users/local/Documents/edk2/EdkCompatibilityPkg
> >
> > EDK_SOURCE = /Users/local/Documents/edk2/EdkCompatibilityPkg
> >
> > EFI_SOURCE = /Users/local/Documents/edk2/EdkCompatibilityPkg
> >
> > EDK_TOOLS_PATH = /Users/local/Documents/edk2/BaseTools
> >
> > CONF_PATH = /Users/local/Documents/edk2/Conf
> >
> >
> >
> > Architecture(s) = X64
> >
> > Build target = DEBUG
> >
> > Toolchain = XCODE32
> >
> >
> > Active Platform =
> > /Users/local/Documents/edk2/EmulatorPkg/EmulatorPkg.dsc
> >
> > Flash Image Definition =
> > /Users/local/Documents/edk2/EmulatorPkg/EmulatorPkg.fdf
> >
> >
> > Processing meta-data .
> >
> >
> > build.py...
> >
> > : error F001: Module
> > /Users/local/Documents/edk2/MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf
> > NOT found in DSC file; Is it really a binary module?
> >
> >
> >
> >
> > - Failed -
> >
> > Build end time: 13:13:45, Jun.19 2017
> >
> > Build total time: 00:00:02
> >
> >
> > Command ./XcodeBuild.sh failed with exit code 1
> >
> >
> > Thanks,
> > Hengyan
> > _______________________________________________
> > edk2-devel mailing list
> > edk2-devel@lists.01.org
> > https://lists.01.org/mailman/listinfo/edk2-devel
>
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel
next prev parent reply other threads:[~2017-06-22 1:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-21 17:25 EmulatorPkg build issue Hengyan Tao
2017-06-21 17:46 ` Andrew Fish
2017-06-22 1:48 ` Gao, Liming [this message]
2017-06-22 2:15 ` Andrew Fish
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A89E2EF3DFEDB4C8BFDE51014F606A14D74D0CA@shsmsx102.ccr.corp.intel.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox