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.136; helo=mga12.intel.com; envelope-from=farrah.chen@intel.com; receiver=edk2-devel@lists.01.org Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) (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 3913E21B02845 for ; Thu, 19 Jul 2018 18:18:54 -0700 (PDT) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Jul 2018 18:18:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,376,1526367600"; d="scan'208,217";a="247255652" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga006.fm.intel.com with ESMTP; 19 Jul 2018 18:18:38 -0700 Received: from fmsmsx101.amr.corp.intel.com (10.18.124.199) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 19 Jul 2018 18:18:37 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by fmsmsx101.amr.corp.intel.com (10.18.124.199) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 19 Jul 2018 18:18:37 -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:18:34 +0800 From: "Chen, Farrah" To: "edk2-devel@lists.01.org" CC: "Wei, Danmei" , "Hao, Xudong" Thread-Topic: OVMF build fail Thread-Index: AdQfxp/rnfbpTgE3R4a7ad4uKL8Brg== Date: Fri, 20 Jul 2018 01:18:33 +0000 Message-ID: <1B925CC0CD9F3341B32D442251E7E1DC39245A7C@shsmsx102.ccr.corp.intel.com> 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: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZjM0Mzc1M2MtZGJlNS00NDM5LTg1MzUtMWFiYTc4Y2Q1ZDgxIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiM002bGRLMU5sTG5ISmlneGJIMDh0Y2Fsa1lvaE5VbDM1V2lRUkptOUxXRnIwY2p2UG5mcit6M25qQjZVcWhjVCJ9 x-ctpclassification: CTP_NT x-originating-ip: [10.239.127.40] MIME-Version: 1.0 X-Content-Filtered-By: Mailman/MimeDel 2.1.27 Subject: 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:18:54 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, When I build OVMF with the latest commit: a3fffb4f5e1535e8e542669925eed489f= dce6b62 git clone https://github.com/tianocore/edk2.git cd edk2 OvmfPkg/build.sh -a X64 Then the following error occurred: ................................. /home/build/kvm_build/nightly/kvm_qemu/kvm-next-20180720013551-6f0d349d-e1e= a5566/edk2/MdePkg/Include/Library/DebugLib.h:268:20: error: 'ProcessorFlags= ' may be used uninitialized in this function [-Werror=3Dmaybe-uninitialized= ] DebugPrint (PrintLevel, ##__VA_ARGS__); \ ^ /home/build/kvm_build/nightly/kvm_qemu/kvm-next-20180720013551-6f0d349d-e1e= a5566/edk2/UefiCpuPkg/Library/MpInitLib/Microcode.c:63:43: note: 'Processor= Flags' was declared here UINT32 ProcessorFlags; ^ cc1: all warnings being treated as errors make: *** [/home/build/kvm_build/nightly/kvm_qemu/kvm-next-20180720013551-6= f0d349d-e1ea5566/edk2/Build/OvmfX64/DEBUG_GCC48/X64/UefiCpuPkg/Library/MpIn= itLib/DxeMpInitLib/OUTPUT/Microcode.obj] Error 1 build.py... : error 7000: Failed to execute command make tbuild [/home/build/kvm_build/nightly/kvm_qemu/kvm-next-201807= 20013551-6f0d349d-e1ea5566/edk2/Build/OvmfX64/DEBUG_GCC48/X64/UefiCpuPkg/Li= brary/MpInitLib/DxeMpInitLib] build.py... : error F002: Failed to build module /home/build/kvm_build/nightly/kvm_qemu/kvm-next-20180720013551-6f0d= 349d-e1ea5566/edk2/UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf [X64, GCC4= 8, DEBUG] - Failed - Best Regards, Fan Chen