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

Re: [Xen-devel] I was able to cross-compile the hypervisor on an amd64 host for the aarch64 target ... However, I can't build the Xen toolset



Hi,

On 05/07/17 14:44, Nick Garnett wrote:

-------- Original message --------
From: Julien Grall <julien.grall@xxxxxxx>
Date: 7/5/17 01:15 (GMT-08:00)
To: Nick Garnett <nick@xxxxxxxxx>, 'xen-devel'
<xen-devel@xxxxxxxxxxxxxxxxxxxx>, 'Wei Liu' <wei.liu2@xxxxxxxxxx>,
'Stefano Stabellini' <sstabellini@xxxxxxxxxx>
Subject: Re: [Xen-devel] I was able to cross-compile the hypervisor on
an   amd64 host for the aarch64 target ... However, I can't build the
Xen toolset

Hello Nick,

On 07/04/2017 10:59 PM, Nick Garnett wrote:
From: Julien Grall [mailto:julien.grall@xxxxxxx]
Sent: Tuesday, July 04, 2017 09:47

On 07/04/2017 05:42 PM, Nick Garnett wrote:
I tried installing the tools with an ARM64 chroot also and had a
similar issue.  In that case, the package
"crossbuild_essential_arm64" wouldn't install because it depended on
a package that was not installable.

I don't use crossbuild within the chroot. My chroot contains ARM64
binaries only and QEMU is used to run ARM64 binaries.

In that case, you don't need to install crossbuild_essential_arm64.
Compiling in that chroot is like compiling directly on an ARM platforms.

My runes are usually:

./configure
make -j install-tools

This will install the tools in /usr/local/

I think the list of dependencies on the CrossCompiling page is still valid:

https://wiki.xenproject.org/wiki/Xen_ARM_with_Virtualization_Extensions/CrossCompiling#Configuring_an_arm64_crossbuild_chroot


Which distributions are you targeting?

[nickgarnett 1707041454PDT]  I am using Xen 4.9.0

I meant Linux Distribution. E.g is it Debian, Fedora, Yocto?

[nickgarnett]  Ubuntu Zesty

I think the list of packages mentioned in the CrossCompiling wikipage is still valid for ARM64. You can follow the instructions to install missing packages and then execute the runes I sent in my previous e-mail.

Let me know if you need more help.

Cheers,

--
Julien Grall

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

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