I managed to build a working xen.efi on eoan with the following commits
from the xen git tree:

6561994b87af3e9cd28ee99c42e8b2697621687d (lz4 fix)
14b62ab3e5a79816edfc6dd3afce1bb68c106ac5 (lz4 fix)
45342cd88d564a7da2dfbbc921898805008b0b6c (gcc 9 fix)
2effc2f131145fdd40352085c11adb1e17164135 (gcc 9 fix)

and this hack:

--- xen-4.9.2.orig/xen/arch/x86/Rules.mk
+++ xen-4.9.2/xen/arch/x86/Rules.mk
@@ -35,6 +35,7 @@ endif
 ifneq ($(call cc-option,$(CC),-mindirect-branch-register,n),n)
 CFLAGS += -mindirect-branch=thunk-extern -mindirect-branch-register
 CFLAGS += -DCONFIG_INDIRECT_THUNK
+CFLAGS += -fcf-protection=none
 export CONFIG_INDIRECT_THUNK=y
 endif
 
The compile still fails in the userspace packages with other GCC 9 issues but I 
got what I needed for a working system.  (intel cpu, direct efi boot with 
xen.efi, windows hvm guest)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1851091

Title:
  Fresh Eoan upgrade fails to boot dom0 with message "decoding failed"
  (kernel 5.3.0)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xen/+bug/1851091/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to