From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id C219521BBC436 for ; Wed, 21 Jun 2017 18:46:41 -0700 (PDT) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Jun 2017 18:48:04 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.39,371,1493708400"; d="scan'208";a="117343534" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga005.fm.intel.com with ESMTP; 21 Jun 2017 18:48:04 -0700 Received: from fmsmsx126.amr.corp.intel.com (10.18.125.43) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 21 Jun 2017 18:48:04 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by FMSMSX126.amr.corp.intel.com (10.18.125.43) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 21 Jun 2017 18:48:03 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.146]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.116]) with mapi id 14.03.0319.002; Thu, 22 Jun 2017 09:48:02 +0800 From: "Gao, Liming" To: Andrew Fish , Hengyan Tao CC: "edk2-devel@lists.01.org" Thread-Topic: [edk2] EmulatorPkg build issue Thread-Index: AQHS6rOIndCxWoCfG06gLGsKvZ4JVKIvET4AgAEMMIA= Date: Thu, 22 Jun 2017 01:48:01 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14D74D0CA@shsmsx102.ccr.corp.intel.com> References: In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 10.0.102.7 dlp-reaction: no-action x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: EmulatorPkg build issue X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jun 2017 01:46:42 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Andrew: There are two bugzillars to remove XCLANG and XCODE32 tool chain from too= ls_def.txt. So, we can drop them now.=20 https://bugzilla.tianocore.org/show_bug.cgi?id=3D562 https://bugzilla.tianocore.org/show_bug.cgi?id=3D563 Thanks Liming > -----Original Message----- > From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of An= drew Fish > Sent: Thursday, June 22, 2017 1:47 AM > To: Hengyan Tao > Cc: edk2-devel@lists.01.org > Subject: Re: [edk2] EmulatorPkg build issue >=20 > Hengyan, >=20 > XCODE32 =3D=3D Xcode 3.2 so the move to clang. > XCODE5 =3D=3D Xcode 5.0 was the last time clang command line arguments ch= ange. That is probably what you should be using. >=20 > 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=3D$(clang -ccc-host-triple x86_64-pc-win32-macho 2>&1 = >/dev/null) || true > - if [[ "$CLANG_VER" =3D=3D *-ccc-host-triple* ]] > - then > - # only older versions of Xcode support -ccc-host-tripe, for newe= r versions > - # it is -target > - HOST_TOOLS=3DXCODE32 > - TARGET_TOOLS=3DXCODE5 > - else > - HOST_TOOLS=3DXCODE32 > - TARGET_TOOLS=3DXCLANG > - fi > + HOST_TOOLS=3DXCODE5 > + TARGET_TOOLS=3DXCODE5 > fi > BUILD_NEW_SHELL=3D"-D BUILD_NEW_SHELL" > BUILD_FAT=3D"-D BUILD_FAT" >=20 > Thanks, >=20 > Andrew Fish >=20 > > On Jun 21, 2017, at 10:25 AM, Hengyan Tao 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 =3D /Users/local/Documents/edk2 > > > > ECP_SOURCE =3D /Users/local/Documents/edk2/EdkCompatibilityPkg > > > > EDK_SOURCE =3D /Users/local/Documents/edk2/EdkCompatibilityPkg > > > > EFI_SOURCE =3D /Users/local/Documents/edk2/EdkCompatibilityPkg > > > > EDK_TOOLS_PATH =3D /Users/local/Documents/edk2/BaseTools > > > > CONF_PATH =3D /Users/local/Documents/edk2/Conf > > > > > > > > Architecture(s) =3D X64 > > > > Build target =3D DEBUG > > > > Toolchain =3D XCODE32 > > > > > > Active Platform =3D > > /Users/local/Documents/edk2/EmulatorPkg/EmulatorPkg.dsc > > > > Flash Image Definition =3D > > /Users/local/Documents/edk2/EmulatorPkg/EmulatorPkg.fdf > > > > > > Processing meta-data . > > > > > > build.py... > > > > : error F001: Module > > /Users/local/Documents/edk2/MdeModulePkg/Universal/ReportStatusCodeRout= er/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 >=20 > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel