> On 6 Feb 2026, at 07:22, Jan Beulich <[email protected]> wrote: > > On 05.02.2026 18:07, Roger Pau Monné wrote: >> On Thu, Feb 05, 2026 at 12:33:54PM +0100, Bertrand Marquis wrote: >>> +## Limitations >>> + >>> +- **Hypervisor only**: This only builds the Xen hypervisor, not the tools >>> +- **Cross-compilation only**: Native builds are not supported >> >> Probably a more philosophical question, but is it really a cross >> compilation if I'm building an arm64 Xen on Apple arm64 silicon? >> >> Sure, it might use a different toolchain from native, but it's still a >> "native" build from an architectural perspective? > > "Cross" aiui covers both OS (i.e. ABI) and hardware. Building x86 Linux > binaries on e.g. Windows is "cross", too. (Strictly speaking it's the > target triplet that is commonly used in at least GNU - if any part > differs, it's "cross". It just so happens that Xen uses Linux'es ABI, > and hence its building is native on identical-arch Linux.)
Agree, i will put a small comment on top of the line in darwin.mk spelling it out: Xen uses Linux'es ABI so we are cross compiling on Mac OS. Force COMPILE_ARCH to a fake value to make sure it is always the case. Bertrand > > Jan
