[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v5] xen: Add Darwin.mk


  • To: Jan Beulich <jbeulich@xxxxxxxx>
  • From: Bertrand Marquis <Bertrand.Marquis@xxxxxxx>
  • Date: Mon, 9 Feb 2026 13:19:21 +0000
  • Accept-language: en-GB, en-US
  • Arc-authentication-results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 4.158.2.129) smtp.rcpttodomain=suse.com smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=arm.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dkim=[1,1,header.d=arm.com] dmarc=[1,1,header.from=arm.com])
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none
  • Arc-message-signature: i=2; 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=f+yFPHtlgflRslhcZ8K9Ddu5pWXxoDqTj8fSjTgmqSI=; b=oLip1NI8JF8O896W0yez5nS1+QbiR9iacJy9wvAA/rNGZBNG5YH2be2VU8VyuG5iYVu7hdByNuox0N7lbWUbranTUF08PcY7nIhSAdrxRGlhKUnMexPr9GyB7DWtOeFsNhdp/XzU2KwY/or+bof2s08zC4bYretdAiVPX9YnoBOT6HF6j0iSJmL6zgcvQeV9eRLjhynbnsHBzB6Pz8mNZyQm5H/i5e2ODmtSJTMdbDB2uO68v/6hgPGITxnAdFAQ9lggQIFjFaLBBc7wkYYXK4SNL3vUtfb/LSst88OjYZAR2QQZJZkn3IWHDA0tPRc8jpAsqhKAUC6pKpR7ERNL2A==
  • 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=f+yFPHtlgflRslhcZ8K9Ddu5pWXxoDqTj8fSjTgmqSI=; b=jTUWIWcC35MYSzFUQWFVtLJxgkaVqFjE2HIkg61IRyz+v8s+3XaKs5PfBf8iuHkdCQX3zxYg0koEF95pxc86XfiazehZfcCE1afZ+KcJMYByEFLCC9shChvnBwqRwMwLIwNyHwpwzaGIwWhC82B+jRINTAVysb51XzDQpCa6OSKyZ2ox2k0bxzhIRCHqq+fKe/rr0NhIgWBy2vB7/WRnrA8ImhWPfmJug/lE9gkjxJ53PEVrWLt2UV7GGdeZap0tN3dXcNjjACYDl6k+UEBIga8b5dgdoFpRDklx58xlHceFPT9VAvdEmoikZCAOMtHzdbHXkZM9fDt/ZCIowUDZwQ==
  • Arc-seal: i=2; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=pass; b=nFoOcaeYj0tP9wGwjnCF1e/V6i3mL4i2yK+MvjjUXlUjxsCaqXnsjk+YljxwOk3DnGKA25o/cBR9Z/rxgFO6lFOVBG5eVLkr3ZX/nXl6f9EWfMhHE1GYhxhAnH/D0ms17egzY1D95n0xerV8t7c1VzYk3DWA+uRNYl7osAwAzr6HwHRzroyVAudYOLnmKbB1Hz3BBUKtC0Bnut11cpFWE9W/mwvQYoQiKkJYnt4eZatBJjohACtQly1JinTqZhZkfLOstuh5b3+jlE+i5LydPUOrcRBr6H20Vp1oCI8LM/QbKNa9if4eh3FyMle/I4fh1W+Yj+wXZoSySUAyAuueZg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=K2Rk5a46oymK8xI3MTjzKsoCggiLjnDc5J9v4ryvkm+m9eL65HGa+XVUq0L1zfaQVR0VIeb8EvtfGkB1GrDTIL1bcNSNnhecumHPQ0jcRzmOfR7I+Uf8pYILe54QpkADoUS0jN0VmbjTINvCWfL15AbMMismYKhmFaqMcKUoV7wnAoIWp/w8MkLiAAFhGMZPWgErOeldKqs1KvgBxWSmtho1bPvRxQlNuLCURVWzXD7Vw8C6arJEsPPp70nHzSoUfde3sxxkI6Rtc2eqFO7gpTricQ2NTGE0GcmI2+VOYvOpplzZpGGfZiufOAeA2iyMBFw47R9hEogplafUTiJoiA==
  • Authentication-results-original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
  • Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, Julien Grall <julien@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Mon, 09 Feb 2026 13:20:33 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Nodisclaimer: true
  • Thread-index: AQHcmbF131JHt0VrQEG2yzDmCYz1i7V6VRMAgAAE5AA=
  • Thread-topic: [PATCH v5] xen: Add Darwin.mk


> On 9 Feb 2026, at 14:01, Jan Beulich <jbeulich@xxxxxxxx> wrote:
> 
> On 09.02.2026 11:46, 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
>> 
>> Signed-off-by: Bertrand Marquis <bertrand.marquis@xxxxxxx>
> 
> Acked-by: Jan Beulich <jbeulich@xxxxxxxx>
> 
>> Change-Id: Iba91634afbaab58767bb8744b4b722ce5732a6dd
> 
> This wants removing, I suppose.

oh yes sorry for that

> 
>> --- /dev/null
>> +++ b/config/Darwin.mk
>> @@ -0,0 +1,6 @@
>> +# Use GNU tool definitions as the tools we are using are either GNU 
>> compatible
>> +# or we only use features which are supported on Mac OS.
>> +include $(XEN_ROOT)/config/StdGNU.mk
>> +
>> +# Cross compile on Mac OS, only hypervisor build has been tested, no tools
>> +XEN_COMPILE_ARCH = unknow
> 
> There was an 'n' lost, as the reason for forcing cross-compilation also
> isn't stated. I'll take the liberty to add both back in.

ok with me.

Cheers
Bertrand

> 
> Jan





 


Rackspace

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