From: Brijesh Singh <brijesh.singh@amd.com>
To: Laszlo Ersek <lersek@redhat.com>
Cc: brijesh.singh@amd.com, Gerd Hoffmann <kraxel@redhat.com>,
edk2-devel-01 <edk2-devel@lists.01.org>
Subject: Re: Build failed in Jenkins: edk2 #2791
Date: Tue, 11 Jul 2017 09:00:23 -0500 [thread overview]
Message-ID: <369a4e0d-5a4b-b83a-f609-3a18cc2f9fec@amd.com> (raw)
In-Reply-To: <e17cabbb-a3bd-5d83-8887-63634b9207ed@redhat.com>
Hi Laszlo,
On 07/11/2017 08:55 AM, Laszlo Ersek wrote:
> 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.)
>
I have been using GCC5, will try to setup GCC49 environment and provide
patches to fix this warning. Thanks for report.
> 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
>
prev parent reply other threads:[~2017-07-11 13:58 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 ` Build failed in Jenkins: edk2 #2791 Laszlo Ersek
2017-07-11 14:00 ` Brijesh Singh [this message]
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=369a4e0d-5a4b-b83a-f609-3a18cc2f9fec@amd.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