-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
I ran into some issues then trying to use SVSM on Fedora 36.
I know the main focus is Ubuntu 22.04 right now, but I'll leave this info here just in case.
OVMF crashes
The OVMF crashes right after the start when built on Fedora 36 (gcc 12).
Both of these workarounds to the trick:
- Disable LTO. See this patch by Alexey Kardashevskiy.
- Add
-fno-omit-frame-pointer
toCC_FLAGS
, see https://edk2.groups.io/g/devel/message/90443
Building the Linux kernels
When building the Linux kernels for host and guest I found that I needed to apply these two commits to fix some build issues:
commit 879e518ad704859f7288f6732902dd115e45294a
Author: Kees Cook <keescook@chromium.org>
Date: Sun Feb 13 10:24:43 2022 -0800
libsubcmd: Fix use-after-free for realloc(..., 0)
commit 39372df4875060a5931b4bd09362e7689c3cfb96
Author: Josh Poimboeuf <jpoimboe@redhat.com>
Date: Mon Apr 18 09:50:21 2022 -0700
libsubcmd: Fix OPTION_GROUP sorting
Metadata
Metadata
Assignees
Labels
No labels