public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Rebecca Cran" <rebecca@nuviainc.com>
To: devel@edk2.groups.io, Michael D Kinney <michael.d.kinney@intel.com>
Subject: Re: [edk2-devel] Build fails with VS2012
Date: Sun, 9 May 2021 11:42:50 -0600	[thread overview]
Message-ID: <759cb9b3-136d-806e-92f5-4cf397891aac@nuviainc.com> (raw)
In-Reply-To: <167D2F1936103629.17661@groups.io>

Similarly the build is also failing with GCC49, using gcc 4.9.2:

/edk2/ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.c: In 
function 'ShellSortFileList':
Building ... 
/edk2/OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf [X64]
/edk2/ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.c:2202:19: error: 
'Dupes' may be used uninitialized in this function 
[-Werror=maybe-uninitialized]
        *Duplicates = Dupes;
                    ^


-- 
Rebecca Cran

On 5/8/21 1:47 PM, Rebecca Cran wrote:
> I'm setting up a new Jenkins server to do Bhyve builds and run on 
> platforms that aren't currently tested with the GitHub/Azure system.
> 
> Since VS2012 appears to be a supported toolchain, I tried building 
> OvmfPkgX64 with it (I'm also planning on testing VS2013, VS2015, VS2017 
> and VS2019), but it fails with:
> 
> 
> Building ... 
> c:\users\administrator\src\edk2\NetworkPkg\Library\DxeUdpIoLib\DxeUdpIoLib.inf 
> [X64]
> c:\users\administrator\src\edk2\UefiCpuPkg\Library\MpInitLib\MpLib.c(1268) 
> : error C2220: warning treated as error - no 'object' file generated
> c:\users\administrator\src\edk2\UefiCpuPkg\Library\MpInitLib\MpLib.c(1268) 
> : warning C4306: 'type cast' : conversion from 'int' to 
> 'SEV_ES_AP_JMP_FAR *' of greater size
> 
> I know the GitHub/Azure system only tests with VS2017 and VS2019: are 
> there plans to drop the older VS versions, or should they still work?
> And would it be considered useful to _check_ that they still work, or 
> should they be considered unsupported?
> 


       reply	other threads:[~2021-05-09 17:42 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <167D2F1936103629.17661@groups.io>
2021-05-09 17:42 ` Rebecca Cran [this message]
2021-05-10 11:59   ` [edk2-devel] Build fails with VS2012 Laszlo Ersek
2021-05-08 19:47 Rebecca Cran
2021-05-10 11:56 ` [edk2-devel] " Laszlo Ersek
2021-05-10 13:20   ` Rebecca Cran
2021-05-10 23:31     ` Michael D Kinney
2021-05-11  0:14       ` Rebecca Cran
2021-05-11 14:41         ` Laszlo Ersek
2021-05-12  0:04           ` Andrew Fish

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=759cb9b3-136d-806e-92f5-4cf397891aac@nuviainc.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