From: Laszlo Ersek <lersek@redhat.com>
To: Brijesh Singh <brijesh.singh@amd.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>,
edk2-devel-01 <edk2-devel@lists.01.org>
Subject: Build failed in Jenkins: edk2 #2791
Date: Tue, 11 Jul 2017 15:55:56 +0200 [thread overview]
Message-ID: <e17cabbb-a3bd-5d83-8887-63634b9207ed@redhat.com> (raw)
In-Reply-To: <1257384555.0.1499763660487.JavaMail.jenkins@jenkins.xeni.kraxel.org>
Hi Brijesh,
Gerd's Jenkins CI caught a number of (most likely invalid)
[-Werror=maybe-uninitialized] issues with the new code. Do you have a
way to build the tree for IA32 with DEBUG_GCC49, evaluate the errors,
and send a series to suppress the warnings whenever they are invalid?
(Simply by assigning zero to the affected variables early into the
affected functions.)
Please note that the coding style requires a specific comment format for
such warning suppressions:
https://bugzilla.tianocore.org/show_bug.cgi?id=607
Of course, if some of these warnings happen to be correct, then the bugs
should be fixed. :)
Please find the first such error below.
Thanks!
Laszlo
-------- Forwarded Message --------
Subject: Build failed in Jenkins: edk2 #2791
Date: Tue, 11 Jul 2017 11:00:57 +0200 (CEST)
OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLib.c: In function 'InternalQemuFwCfgDmaBytes':
OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLib.c:168:5: error: 'NumPages' may be used uninitialized in this function [-Werror=maybe-uninitialized]
InternalQemuFwCfgSevDmaFreeBuffer (BounceBuffer, NumPages);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make: *** [Build/OvmfIa32/DEBUG_GCC49/IA32/OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgPeiLib/OUTPUT/QemuFwCfgLib.obj] Error 1
GNUmakefile:330: recipe for target 'Build/OvmfIa32/DEBUG_GCC49/IA32/OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgPeiLib/OUTPUT/QemuFwCfgLib.obj' failed
next parent reply other threads:[~2017-07-11 13:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1257384555.0.1499763660487.JavaMail.jenkins@jenkins.xeni.kraxel.org>
2017-07-11 13:55 ` Laszlo Ersek [this message]
2017-07-11 14:00 ` Build failed in Jenkins: edk2 #2791 Brijesh Singh
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=e17cabbb-a3bd-5d83-8887-63634b9207ed@redhat.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