* EmulatorPkg build issue @ 2017-06-21 17:25 Hengyan Tao 2017-06-21 17:46 ` Andrew Fish 0 siblings, 1 reply; 4+ messages in thread From: Hengyan Tao @ 2017-06-21 17:25 UTC (permalink / raw) To: edk2-devel 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 ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: EmulatorPkg build issue 2017-06-21 17:25 EmulatorPkg build issue Hengyan Tao @ 2017-06-21 17:46 ` Andrew Fish 2017-06-22 1:48 ` Gao, Liming 0 siblings, 1 reply; 4+ messages in thread From: Andrew Fish @ 2017-06-21 17:46 UTC (permalink / raw) To: Hengyan Tao; +Cc: edk2-devel 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 ^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: EmulatorPkg build issue 2017-06-21 17:46 ` Andrew Fish @ 2017-06-22 1:48 ` Gao, Liming 2017-06-22 2:15 ` Andrew Fish 0 siblings, 1 reply; 4+ messages in thread From: Gao, Liming @ 2017-06-22 1:48 UTC (permalink / raw) To: Andrew Fish, Hengyan Tao; +Cc: edk2-devel@lists.01.org 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 ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: EmulatorPkg build issue 2017-06-22 1:48 ` Gao, Liming @ 2017-06-22 2:15 ` Andrew Fish 0 siblings, 0 replies; 4+ messages in thread From: Andrew Fish @ 2017-06-22 2:15 UTC (permalink / raw) To: Gao, Liming; +Cc: Hengyan Tao, edk2-devel@lists.01.org > On Jun 21, 2017, at 6:48 PM, Gao, Liming <liming.gao@intel.com> wrote: > > 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 > Gao, Thanks works for me. The older Xcode versions don't run on current OS versions, and the current OS usually runs on 6 or 7 year old Macs. Thanks, Andrew Fish > 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 ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-06-22 2:14 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2017-06-21 17:25 EmulatorPkg build issue Hengyan Tao 2017-06-21 17:46 ` Andrew Fish 2017-06-22 1:48 ` Gao, Liming 2017-06-22 2:15 ` Andrew Fish
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox