[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v5] xen: Add Darwin.mk
- To: Bertrand Marquis <bertrand.marquis@xxxxxxx>
- From: Roger Pau Monné <roger.pau@xxxxxxxxxx>
- Date: Mon, 9 Feb 2026 14:26:27 +0100
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=fJ+KuiHeqfT93+KL8i1L77n9FESaV5R8qfn6LlR5y2o=; b=ixOPp46JX01nZFHP4WS9/6iWKOeHIwUS2H4s9XIBAhTXhIlXu4aK6fRVfQordGeMmv77QAh/qJFhKGtBndpRNCxIzgstExtOBqNWY9RgkTFEMMHfaquXtmGXTJU4k8I6RY5/6+mtW8rcbzD8kJdpZ3/D1yADURgoYchjASWMa6w3nRMhhuF6m/q6x8jyxNvz3xW7L4lAoOHHAjGIFwIimOzUIGmGc+/7RUQI//McZ/AY6H7zjaslMKgh1BR8pLBkR2E29w9URP+v6tFVOxmAPuAEg1JTNmCjQVqDc89p4hjP/W47irrJ3pqhXtL4i0P0a4m3urBBU+Imo51HPp9cAw==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=rKB11lN4OiET8Vy+nj3EZEVZb6qrxxwT2fiXuMRnc6GauI8dPfAZjs34mAlG6XfJb+cT/f2gMXu6VdEyXpzYbRHItlSBMPOgYY9NPI8lWAOQXHPWf46FPVuMizd0SVMcRr8UHNtep7CLkEfBUIC2TmhUsECfgpSNmqCESYsge/XZtXwzV8eoRTuUI6GVbBVMY5+O75ByMgvhzshJyWHSd3jC6EKvLPgzmc3jMquwm/eLJUMDq3mWKeuo5et047lvQonHlDVleIT0qHf+Sqsi+MdK0STpk6RXZCDhujErRskVXAdIP/snkMyoeo0+XhB+eeEsKO66ep6n+z7CCTAPuQ==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com;
- Cc: xen-devel@xxxxxxxxxxxxxxxxxxxx, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>
- Delivery-date: Mon, 09 Feb 2026 13:26:39 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On Mon, Feb 09, 2026 at 11:46:44AM +0100, Bertrand Marquis wrote:
> Xen does not provide a Darwin build configuration useable on Mac OS.
> It is possible to build Xen Hypervisor (tools are not supported) with a
> toolchain able to produce ELF binaries (GCC or others).
>
> Add config/Darwin.mk to include StdGNU.mk and force
> XEN_COMPILE_ARCH=unknown, ensuring Darwin builds always follow
> the cross-compile path so compiling on Mac OS is always handled as a
> cross compilation case.
>
> Only compiling the hypervisor has been tested !
>
> An example of how to build the hypervisor for arm64 on Mac OS
> (tools cannot be build for now) using a compiler from brew:
> - brew install aarch64-elf-gcc aarch64-elf-binutils
> - make XEN_TARGET_ARCH=arm64 CROSS_COMPILE=aarch64-elf- HOSTCC=clang
This needs 'xen' target passed.
>
> Signed-off-by: Bertrand Marquis <bertrand.marquis@xxxxxxx>
Acked-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>
Thanks, Roger.
|