[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Xen Cross compilation Issues on Ubuntu



Hello All,
Greetings of the day and a very happy new year.

I am trying to cross compile the xen for arm64 target architecture and facing weird errors on ubuntu 18.04 machine.

While configuration, if arm64 compiler is found, then the configure halts at finding uuid.h
```
root@linux:/home/user/Projects/xen# ./configure --build=x86_64-unknown-linux-gnu --host=aarch64-linux-gnu
checking build system type... x86_64-unknown-linux-gnu
checking host system type... aarch64-unknown-linux-gnu
Will build the following subsystems:
   xen
   tools
   docs
configure: creating ./config.status
config.status: creating config/Toplevel.mk
config.status: creating config/Paths.mk
=== configuring in tools (/home/sandeshashok/Projects/motius/source_code/xen/tools)
configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local'  '--build=x86_64-unknown-linux-gnu' '--host=aarch64-linux-gnu' 'build_alias=x86_64-unknown-linux-gnu'                     'host_alias=aarch64-linux-gnu' --cache-file=/dev/null --srcdir=.
checking build system type... x86_64-unknown-linux-gnu
checking host system type... aarch64-unknown-linux-gnu
checking for aarch64-linux-gnu-gcc... aarch64-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
.
.
.
.
.
.
checking for iasl... /usr/bin/iasl
checking uuid/uuid.h usability... no
checking uuid/uuid.h presence... no
checking for uuid/uuid.h... no
checking uuid.h usability... no
checking uuid.h presence... no
checking for uuid.h... no
configure: error: cannot find a valid uuid library
configure: error: ./configure failed for tools

```

However, if i don't path to the cross compiler, then the configuration works successfully.
```
root@linux:/home/user/Projects/xen# ./configure --build=x86_64-unknown-linux-gnu --host=aarch64-linux-gnu
checking build system type... x86_64-unknown-linux-gnu
checking host system type... aarch64-unknown-linux-gnu
Will build the following subsystems:
   xen
   tools
   docs
configure: creating ./config.status
config.status: creating config/Toplevel.mk
config.status: creating config/Paths.mk
=== configuring in tools (/home/sandeshashok/Projects/motius/source_code/xen/tools)
configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local'  '--build=x86_64-unknown-linux-gnu' '--host=aarch64-linux-gnu' 'build_alias=x86_64-unknown-linux-gnu'                     'host_alias=aarch64-linux-gnu' --cache-file=/dev/null --srcdir=.
checking build system type... x86_64-unknown-linux-gnu
checking host system type... aarch64-unknown-linux-gnu
checking for aarch64-linux-gnu-gcc... no
checking for gcc... gcc
configure: WARNING: using cross tools not prefixed with host triplet
checking whether the C compiler works... yes

```

Did anyone else observe this ?

If this has been fixed please direct me to the link.

I have been working on this for sometime and issue still exists. Tried the wiki page for cross compiling as mentioned in the link https://wiki.xenproject.org/wiki/Xen_ARM_with_Virtualization_Extensions/CrossCompiling, however it isn't successfull as well.

Best Regards,


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.