xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* Xen Compilation Error on Ubuntu 20.04
@ 2020-04-29 17:17 Ayush Dosaj
  2020-04-29 17:25 ` Andrew Cooper
  0 siblings, 1 reply; 6+ messages in thread
From: Ayush Dosaj @ 2020-04-29 17:17 UTC (permalink / raw)
  To: xen-devel

[-- Attachment #1: Type: text/plain, Size: 553 bytes --]

Hi Xen development team,

I am Ayush. I compiled Xen Hypervisor from source on Ubuntu 20.04 machine
running on an intel-i9 CPU.
I am getting compilation error due to the following two flags.
Error: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible.

Complete Error logs can be found at https://paste.ubuntu.com/p/xvvyPnhW5c/

And when I compiled Xen commenting the two flags in Rules.mk file, it
compiles and installs properly but on boot-up i see a blank black screen
and i am stuck there.


Best,
Ayush Dosaj

[-- Attachment #2: Type: text/html, Size: 2501 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: Xen Compilation Error on Ubuntu 20.04
@ 2020-05-01  0:14 Pry Mar
  0 siblings, 0 replies; 6+ messages in thread
From: Pry Mar @ 2020-05-01  0:14 UTC (permalink / raw)
  To: xen-devel

Hello Ayush Dosaj,

https://bugs.launchpad.net/ubuntu/+source/xen/+bug/1851091

see the bug report above ^.

As soon as Ubuntu 19.10 went to LZ4 kernel compression this bug
appeared. As Stefan Bader reports in his testing, the hypervisor not
only crashes, but resets the machine.

The same trouble continued with 20.04. Their solution was to forward
package the Disco hypervisor. You could also hybridize with the Buster
hypervisor - I've done both with perfect results.

Whatever this bug ends up to be, it goes back to 2015 when the lz4
decompression code was first introduced:
[xen.git] / xen / common / lz4 /

I reported trouble too back in Oct 2019:
https://lists.xenproject.org/archives/html/xen-devel/2019-10/msg01637.html

cheers,
PryMar56
##xen-packaging on Freenode IRC


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-05-01  0:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-29 17:17 Xen Compilation Error on Ubuntu 20.04 Ayush Dosaj
2020-04-29 17:25 ` Andrew Cooper
2020-04-29 17:28   ` Ayush Dosaj
2020-04-30  8:16     ` Ayush Dosaj
2020-04-30 20:53       ` Jason Andryuk
2020-05-01  0:14 Pry Mar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).