public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Dong, Eric" <eric.dong@intel.com>
To: "Chen, Farrah" <farrah.chen@intel.com>,
	"edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Cc: "Wei, Danmei" <danmei.wei@intel.com>
Subject: Re: OVMF build fail
Date: Fri, 20 Jul 2018 01:39:06 +0000	[thread overview]
Message-ID: <ED077930C258884BBCB450DB737E66224AC55354@shsmsx102.ccr.corp.intel.com> (raw)
In-Reply-To: <1B925CC0CD9F3341B32D442251E7E1DC39245A7C@shsmsx102.ccr.corp.intel.com>

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 <eric.dong@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>


Thanks,
Eric

> -----Original Message-----
> From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of
> Chen, Farrah
> Sent: Friday, July 20, 2018 9:19 AM
> To: edk2-devel@lists.01.org
> Cc: Wei, Danmei <danmei.wei@intel.com>
> Subject: [edk2] OVMF build fail
> 
> Hi,
> 
> When I build OVMF with the latest commit:
> a3fffb4f5e1535e8e542669925eed489fdce6b62
> 
> 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-e1ea5566/edk2/MdePkg/Include/Library/DebugLib.h:268:20: error:
> 'ProcessorFlags' may be used uninitialized in this function [-Werror=maybe-
> 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
> 
> 
> 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]
> 
> 
> build.py...
> : error F002: Failed to build module
>         /home/build/kvm_build/nightly/kvm_qemu/kvm-next-20180720013551-
> 6f0d349d-e1ea5566/edk2/UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
> [X64, GCC48, DEBUG]
> 
> - Failed -
> 
> 
> Best Regards,
> Fan Chen
> 
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel


  reply	other threads:[~2018-07-20  1:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-20  1:18 OVMF build fail Chen, Farrah
2018-07-20  1:39 ` Dong, Eric [this message]
2018-07-20  1:45   ` Chen, Farrah

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=ED077930C258884BBCB450DB737E66224AC55354@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