[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 09/14] livepatch: Add per-function applied/reverted state tracking marker
Hi, On 22/08/2019 12:15, Wieczorkiewicz, Pawel wrote: On 22. Aug 2019, at 12:43, Julien Grall <julien.grall@xxxxxxx <mailto:julien.grall@xxxxxxx>> wrote:On 22/08/2019 11:20, Wieczorkiewicz, Pawel wrote:Cross-compiler are nowadays widely available. So build testing your changes in common code would be the minimum.I wish it was that simple. Nevertheless, I will try to prepare an environment to perform such builds.Cross-compiling the hypervisor is really easy ;).1) Download the cross-compiler tarball (here one [1]) and uncompress it. You can also install the one provided by your distro.2) Build Xen hypervisor. Here an example for arm64: 42sh> cd xen.git/xen 42sh> make XEN_TARGET_ARCH=arm64 CROSS_COMPILER=<triplet>-In my case, I am using the Arm toolchain AArch64 GNU/Linux target (aarch64-linux-gnu). So the <triplet> would be aarch64-linux-gnu.This is assuming you have the compilers binary in your PATH. If not, you can use give the full path:CROSS_COMPILER=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/bin/aarch64-linux-gnu-Awesome! That really works (especially thanks for the [1] link… finally some toolstack that works on my system).One change was needed: s/CROSS_COMPILER/CROSS_COMPILE/g Oh yes, sorry for that. I didn't copy/paste for once. Thanks! Having this in a wiki would really help. Or have I missed it? This is explained on the Xen on Arm wiki page [2]. But I have to admit the page is difficult to go through. I need to find some time to rework it. Cheers, [1] https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-a/downloads [2] https://wiki.xenproject.org/wiki/Xen_ARM_with_Virtualization_Extensions#Cross_Compiling -- Julien Grall _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |