Re: Compiling Xen from source

2020-10-21 Thread David I
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 Copyrigh

Re: Compiling Xen from source

2020-09-17 Thread David I
update (for Hans and Ian): I encounter the same issue when compiling the 4.14 branch: git checkout -b stable-4.14 origin/stable-4.14 ./configure && make make[8]: Entering directory '/root/xen/tools/firmware/etherboot/ipxe/src' [BUILD] bin/flexboot_nodnic.o drivers/infiniband/flexboot_nodnic.c

Re: Compiling Xen from source

2020-09-17 Thread David I
Ok, thanks. So I have done a fresh checkout of the master branch, but unfortunately, there's a bug in infiniband drivers. the error is : "drivers/infiniband/flexboot_nodnic.c:368:53: error: implicit conversion from 'enum ib_queue_pair_type' to 'nodnic_queue_pair_type' [-Werror=enum-conversion]". th

Re: Compiling Xen from source

2020-09-16 Thread Hans van Kranenburg
On 9/16/20 6:12 PM, Olaf Hering wrote: > On Wed, Sep 16, David I wrote: > >> So, how did the debian package was compiled ? is this the same source code >> with >> different options ? > > Xen 4.11 is from 2018. Use also a compiler from that year. > Using this years compiler will lead to errors...

Re: Compiling Xen from source

2020-09-16 Thread Olaf Hering
On Wed, Sep 16, David I wrote: > So, how did the debian package was compiled ? is this the same source code > with > different options ? Xen 4.11 is from 2018. Use also a compiler from that year. Using this years compiler will lead to errors... Olaf signature.asc Description: PGP signature

Re: Compiling Xen from source

2020-09-16 Thread David I
Examples of compile bugs for xen-stable-4.11 for make dist-tools: "include/ipxe/uri.h:178:12: error: taking address of packed member of ‘struct uri’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 178 | ref_get ( &uri->refcnt );" -> fixed by adding the Cflag "-Wno-ad

Re: Compiling Xen from source

2020-09-16 Thread David I
Hello, thanks for your infos. it appears the compilation process is not really straightforward. I had to patch some header files. then some of the firmwares were bugged. So I disabled some various checks in the firmwares Makefiles. I ended up with a: "no target for make all": configure passed all

Re: Compiling Xen from source

2020-09-15 Thread Andrew Cooper
On 15/09/2020 21:16, David I wrote: > Hello, > > I am unable to mcompile xen-tools from source. > > here is the "stacktrace": > > ln -f xenstore xenstore-watch > gcc xenstore_control.o     >  -Wl,-rpath-link=/home/david/xen/xen/tools/xenstore/../../tools/libs/toolcore > /home/david/xen/xen/tools/xe

Re: Compiling Xen from source

2020-09-15 Thread Hans van Kranenburg
Hi, On 9/16/20 12:00 AM, Andrew Cooper wrote: > On 15/09/2020 21:16, David I wrote: >> Hello, >> >> I am unable to mcompile xen-tools from source. >> >> here is the "stacktrace": >> >> ln -f xenstore xenstore-watch >> gcc xenstore_control.o     >>  -Wl,-rpath-link=/home/david/xen/xen/tools/xenstor

Compiling Xen from source

2020-09-15 Thread David I
Hello, I am unable to mcompile xen-tools from source. here is the "stacktrace": ln -f xenstore xenstore-watch gcc xenstore_control.o -Wl,-rpath-link=/home/david/xen/xen/tools/xenstore/../../tools/libs/toolcore /home/david/xen/xen/tools/xenstore/../../tools/xenstore/libxenstore.so -ldl /home/da