* OVMF build fail
@ 2018-07-20 1:18 Chen, Farrah
2018-07-20 1:39 ` Dong, Eric
0 siblings, 1 reply; 3+ messages in thread
From: Chen, Farrah @ 2018-07-20 1:18 UTC (permalink / raw)
To: edk2-devel@lists.01.org; +Cc: Wei, Danmei, Hao, Xudong
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/MpInitLib/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/MpInitLib/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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: OVMF build fail
2018-07-20 1:18 OVMF build fail Chen, Farrah
@ 2018-07-20 1:39 ` Dong, Eric
2018-07-20 1:45 ` Chen, Farrah
0 siblings, 1 reply; 3+ messages in thread
From: Dong, Eric @ 2018-07-20 1:39 UTC (permalink / raw)
To: Chen, Farrah, edk2-devel@lists.01.org; +Cc: Wei, Danmei
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: OVMF build fail
2018-07-20 1:39 ` Dong, Eric
@ 2018-07-20 1:45 ` Chen, Farrah
0 siblings, 0 replies; 3+ messages in thread
From: Chen, Farrah @ 2018-07-20 1:45 UTC (permalink / raw)
To: Dong, Eric, edk2-devel@lists.01.org; +Cc: Wei, Danmei
OK, thanks!
Thanks,
Fan
-----Original Message-----
From: Dong, Eric
Sent: Friday, July 20, 2018 9:39 AM
To: Chen, Farrah <farrah.chen@intel.com>; edk2-devel@lists.01.org
Cc: Wei, Danmei <danmei.wei@intel.com>
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 <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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-07-20 1:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-20 1:18 OVMF build fail Chen, Farrah
2018-07-20 1:39 ` Dong, Eric
2018-07-20 1:45 ` Chen, Farrah
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox