OK, thanks!

Thanks,
Fan



-----Original Message-----
From: Dong, Eric 
Sent: Friday, July 20, 2018 9:39 AM
To: Chen, Farrah <[email protected]>; [email protected]
Cc: Wei, Danmei <[email protected]>
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 <[email protected]>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Dandan Bi <[email protected]>
Reviewed-by: Eric Dong <[email protected]>


Thanks,
Eric

> -----Original Message-----
> From: edk2-devel [mailto:[email protected]] On Behalf Of 
> Chen, Farrah
> Sent: Friday, July 20, 2018 9:19 AM
> To: [email protected]
> Cc: Wei, Danmei <[email protected]>
> 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
> [email protected]
> https://lists.01.org/mailman/listinfo/edk2-devel
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to