Skip to contentSkip to conversation

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

DISCUSSION Julien Grall 1 participant 1 message Jul 5, 2017 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

Hi,

Quoted 41 lines · Nick Garnett

-------- Original message --------
From: Julien Grall <[email protected]>
Date: 7/5/17 01:15 (GMT-08:00)
To: Nick Garnett <[email protected]>, 'xen-devel' <[email protected]>, 'Wei Liu' <[email protected]>, 'Stefano Stabellini' <[email protected]>
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,

Quoted 5 lines · Nick Garnett

From: Julien Grall [mailto:[email protected]]
Sent: Tuesday, July 04, 2017 09:47

Quoted 1 line · Nick Garnett

I tried installing the tools with an ARM64 chroot also and had a

similar issue. In that case, the package

Quoted 1 line
Quoted 1 line

"crossbuild_essential_arm64" wouldn't install because it depended on

a package that was not installable.

Quoted 2 lines

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

Quoted 1 line
Quoted 7 lines
Quoted 3 lines

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,

Signature · 6 lines
Julien Grall

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel