diff options
| author | Khem Raj <raj.khem@gmail.com> | 2022-05-13 09:22:44 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-06-07 11:53:26 +0100 |
| commit | cd23b8349e8b7a6f4d0e45aa328ad13aae9771df (patch) | |
| tree | ef64f38d1104cd9ebc1bfd0ee8f05dc9bc8e1b14 /meta/classes | |
| parent | c9b490e16211c3766ee9a66fa25aaf5398fe9646 (diff) | |
| download | poky-cd23b8349e8b7a6f4d0e45aa328ad13aae9771df.tar.gz | |
ovmf: Fix native build with gcc-12
Host distros have started deploying gcc12 as well e.g. archlinux
this build failure shows up which has been fixed upstream
In function ‘GetAlignmentFromFile’,
inlined from ‘main’ at GenFfs.c:816:20:
GenFfs.c:545:5: error: pointer ‘InFileHandle’ used after ‘fclose’ [-Werror=use-after-free]
545 | Error(NULL, 0, 4001, "Resource", "memory cannot be allocated of %s", InFileHandle);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
(From OE-Core rev: d28d84c5b43ffcc312808af085d949e403805aca)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7b67f19d353d88107f52cceda3c858730ac1db54)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
0 files changed, 0 insertions, 0 deletions
