From: "Chen, Farrah" <farrah.chen@intel.com>
To: "edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Cc: "Wei, Danmei" <danmei.wei@intel.com>,
"Hao, Xudong" <xudong.hao@intel.com>
Subject: OVMF build fail
Date: Fri, 20 Jul 2018 01:18:33 +0000 [thread overview]
Message-ID: <1B925CC0CD9F3341B32D442251E7E1DC39245A7C@shsmsx102.ccr.corp.intel.com> (raw)
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
next reply other threads:[~2018-07-20 1:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-20 1:18 Chen, Farrah [this message]
2018-07-20 1:39 ` OVMF build fail Dong, Eric
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=1B925CC0CD9F3341B32D442251E7E1DC39245A7C@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