** Changed in: gcc-9 (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1863260
Title:
gcc-9 in Ubuntu generate unbootable xen hypervisor
To manage notifications a
We have found a fix for the issue now. There was one part of the
hypervisor build which does use completely different flags. In
particular it does not use -mindirect-branch, so it will not fail if cf-
protection is turned on (this is under xen/arch/x86/boot and uses a
buikd32.mk for setting flags).
Advice how to disable cf-protaction when enabled by default was taken
from: https://wiki.ubuntu.com/ToolChain/CompilerFlags#A-fcf-protection
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1863260
Title
While modifying gcc I had the feeling that maybe -fno-cf-protection
might be a valid flag, too. Should that be the same as -fcf-
protection=none?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1863260
I have re-compiled gcc-9 from Focal after adding it to the list of
releases which do not enable cf-protection by default. Then compiled Xen
from Focal with that compiler. And it does boot!
# xen info
host : argabuthon
release: 5.4.0-14-generic
version
** Tags added: aeppelwoi
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1863260
Title:
gcc-9 in Ubuntu generate unbootable xen hypervisor
To manage notifications about this bug go to:
https://bugs.l
** Attachment added: "Xen 4.11 Hypervisor compiled on Ubuntu"
https://bugs.launchpad.net/ubuntu/+source/gcc-9/+bug/1863260/+attachment/5328175/+files/xen-hv-ubuntu.gz
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.lau
** Attachment added: "Xen 4.11 Hypervisor compiled on Debian"
https://bugs.launchpad.net/ubuntu/+source/gcc-9/+bug/1863260/+attachment/5328176/+files/xen-hv-debian.gz
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.lau