[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:39:24 +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=A5AMvFr1EqwhGFO2Q3L3XMLGUp4ZVOd78Cp91Mo5skc=; b=s1ixJOjpYdEsGg9+fzuKdcnpVaoCiFp3k75VuKXeJR+33IiRh+zshrjR8eMKwvTlBUpu2UoOL1CqWr+pRry9Njy84kbIGqDRPrYqD0ZM6j9aq/h7Ab96I92ufzxjZjqgN6rxmUkgMth7AqDfG3gkbPifViw6lCR5gNEZ8QVU63raV377s55TyBFm8raiFoQ0sTWjsX0Hw8OJeldi0bl5J45CU7u2JVALPj+hiN9b3R5VXzXbsTDKcpA6mJ3MlktOkWBHGMLDICbhpocCkOJwIBCwTHxU+BZVkHEQhyDZSnrQnFZdVFt8Vm3l3Ld6t/0rlfUuDO9Bh8PN0711acd+yw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=n+aG9xM1tO5e+AQr8bRj60wKmCsOUTdki25la4sVSyVXQWF2vKxl3RcMVFy/IfDOKuGGu8kmubidRH1rTwq/pLriSFqyRokTi37lSUDxS2rx8bTH9FFje7GOnPjpz+IDZk0DEePLL25B0ShXugQr7xD+lCIZziv8QPctSHYfsY14CDmUoYTAa8WmmX4AgQ8byxk1aWn0X6mxCGrRhxuTuWbN7McDKk/Xu+Sub4Z6EV9ZFbvtL0xaZvNe/YkDG1j08b4hfQ81vudbiWPVbxGXg0IXNa5iYsWNk81zJdv3Zx6Zp+k8oGpXJu7tUa67Kr114A6VYy6eJ+IlLmfd87Oviw==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com;
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <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:39:36 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On Mon, Feb 09, 2026 at 01:33:13PM +0000, Bertrand Marquis wrote:
> Hi Roger
> 
> > On 9 Feb 2026, at 14:26, Roger Pau Monné <roger.pau@xxxxxxxxxx> wrote:
> > 
> > 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.
> 
> Without any target, xen is built by default so i kept the simplest possible 
> command
> But I am ok with adding xen

With the `cd xen` omitted, won't that also attempt to build the tools
then?

Thanks, Roger.



 


Rackspace

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