From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=192.55.52.93; helo=mga11.intel.com; envelope-from=farrah.chen@intel.com; receiver=edk2-devel@lists.01.org Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) (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 88A892097174E for ; Thu, 19 Jul 2018 18:47:24 -0700 (PDT) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Jul 2018 18:47:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,376,1526367600"; d="scan'208";a="58304937" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by orsmga008.jf.intel.com with ESMTP; 19 Jul 2018 18:45:32 -0700 Received: from fmsmsx114.amr.corp.intel.com (10.18.116.8) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 19 Jul 2018 18:45:31 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by FMSMSX114.amr.corp.intel.com (10.18.116.8) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 19 Jul 2018 18:45:31 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.124]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.100]) with mapi id 14.03.0319.002; Fri, 20 Jul 2018 09:45:29 +0800 From: "Chen, Farrah" To: "Dong, Eric" , "edk2-devel@lists.01.org" CC: "Wei, Danmei" Thread-Topic: OVMF build fail Thread-Index: AdQfxp/rnfbpTgE3R4a7ad4uKL8BrgAA6SFAAAA/c8A= Date: Fri, 20 Jul 2018 01:45:28 +0000 Message-ID: <1B925CC0CD9F3341B32D442251E7E1DC39245ACB@shsmsx102.ccr.corp.intel.com> References: <1B925CC0CD9F3341B32D442251E7E1DC39245A7C@shsmsx102.ccr.corp.intel.com> In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYTkyZjc2MGUtYWZhOS00MjI2LTliZmYtMTkzY2IwZWE3YTI2IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoia2xSSzFaYkVXU242SDVYWTFJXC9OVFRDRWhxczZ3S3Q2M0JiUUtwZWpJbDArYVZFSWRsODlJdHQ2TjZJVXpzSXUifQ== x-ctpclassification: CTP_NT x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: OVMF build fail X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jul 2018 01:47:24 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable OK, thanks! Thanks, Fan -----Original Message----- From: Dong, Eric=20 Sent: Friday, July 20, 2018 9:39 AM To: Chen, Farrah ; edk2-devel@lists.01.org Cc: Wei, Danmei Subject: RE: OVMF build fail Hi Fan, Below change fixed this issue, please sync to the latest code and build. SHA-1: 9b7242f5dec7649b878a4058f893103885520bf7 * UefiCpuPkg/MpInitLib: Fix VS2012 build failure Cc: Eric Dong Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi Reviewed-by: Eric Dong Thanks, Eric > -----Original Message----- > From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of=20 > Chen, Farrah > Sent: Friday, July 20, 2018 9:19 AM > To: edk2-devel@lists.01.org > Cc: Wei, Danmei > Subject: [edk2] OVMF build fail >=20 > Hi, >=20 > When I build OVMF with the latest commit: > a3fffb4f5e1535e8e542669925eed489fdce6b62 >=20 > git clone https://github.com/tianocore/edk2.git > cd edk2 > OvmfPkg/build.sh -a X64 >=20 > Then the following error occurred: > ................................. > /home/build/kvm_build/nightly/kvm_qemu/kvm-next-20180720013551- > 6f0d349d-e1ea5566/edk2/MdePkg/Include/Library/DebugLib.h:268:20: error: > 'ProcessorFlags' may be used uninitialized in this function=20 > [-Werror=3Dmaybe- uninitialized] > DebugPrint (PrintLevel, ##__VA_ARGS__); \ > ^ > /home/build/kvm_build/nightly/kvm_qemu/kvm-next-20180720013551- > 6f0d349d-e1ea5566/edk2/UefiCpuPkg/Library/MpInitLib/Microcode.c:63:43: > note: 'ProcessorFlags' was declared here > UINT32 ProcessorFlags; > ^ > cc1: all warnings being treated as errors > make: *** [/home/build/kvm_build/nightly/kvm_qemu/kvm-next- > 20180720013551-6f0d349d- > e1ea5566/edk2/Build/OvmfX64/DEBUG_GCC48/X64/UefiCpuPkg/Library/MpI > nitLib/DxeMpInitLib/OUTPUT/Microcode.obj] Error 1 >=20 >=20 > build.py... > : error 7000: Failed to execute command > make tbuild [/home/build/kvm_build/nightly/kvm_qemu/kvm-next- > 20180720013551-6f0d349d- > e1ea5566/edk2/Build/OvmfX64/DEBUG_GCC48/X64/UefiCpuPkg/Library/MpI > nitLib/DxeMpInitLib] >=20 >=20 > build.py... > : error F002: Failed to build module > =20 > /home/build/kvm_build/nightly/kvm_qemu/kvm-next-20180720013551- > 6f0d349d-e1ea5566/edk2/UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf > [X64, GCC48, DEBUG] >=20 > - Failed - >=20 >=20 > Best Regards, > Fan Chen >=20 > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel