public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* 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

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