[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: Compiling Xen from source
Hello, for information, I was able to compile xen from source on Debian 10, with the following configuration: david@debian:~/xen/xen$ uname -a Linux debian 5.7.0-2-amd64 #1 SMP Debian 5.7.10-1 (2020-07-26) x86_64 GNU/Linux david@debian:~/xen/xen$ gcc --version gcc (Debian 8.4.0-4) 8.4.0 Copyright © 2018 Free Software Foundation, Inc. Ce logiciel est un logiciel libre; voir les sources pour les conditions de copie. Il n'y a AUCUNE GARANTIE, pas même pour la COMMERCIALISATION ni L'ADÉQUATION À UNE TÂCHE PARTICULIÈRE. david@debian:~/xen/xen$ git branch master stable-4.11 * stable-4.13 stable-4.14 staging david@debian:~/xen/xen$ with a simple: "./configure && make dist". But I had to modify some config files following the thread here: the first build failed with a message: "configure test passed without -werror but failed with -error". I had to resolve this to edit these files: xen/Config.mk: +-HOSTCFLAGS = -Wall -Werror -Wstrict-prototypes -O2 -fomit-frame-pointer ++HOSTCFLAGS = -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer xen/xen/arch/x86/Rules.mk: +-CFLAGS += '-D__OBJECT_LABEL__=$(subst /,$$,$(subst -,_,$(subst $(BASEDIR)/,,$(CURDIR))/$@))' ++CFLAGS += -U__OBJECT_LABEL__ '-D__OBJECT_LABEL__=$(subst /,$$,$(subst -,_,$(subst $(BASEDIR)/,,$(CURDIR))/$@))' xen/Rules.mk: +-CFLAGS += '-D__OBJECT_FILE__="$@"' ++CFLAGS += -U__OBJECT_FILE__ '-D__OBJECT_FILE__="$@"' I haven't tested the binary yet. Kind regards, David Le mer. 16 sept. 2020 à 22:59, Hans van Kranenburg <hans@xxxxxxxxxxx> a écrit : On 9/16/20 6:12 PM, Olaf Hering wrote:
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |