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

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


  • To: Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • From: Bertrand Marquis <Bertrand.Marquis@xxxxxxx>
  • Date: Mon, 9 Feb 2026 13:33:13 +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=citrix.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=zS0oCuwjdEUcSjNp+B39e+RyraAaxOpDOqBht9vmFJs=; b=yHRpD5N1F4mnsI0Hq1G9bpVW/rSWgL9rTkecEUIETx3nvKNvewOalc7M4Z23/EeRUsBrQNZHHO4taFuUlpn37GHZlCUdLJY/dxIURpNsEbTN15cz/5Z15aC1tA635xwjDdeXMHc6gHsZ1P8Ra7vI+ZCL6ib4LzWHARBf8SoYrOjVlQpQ9m+rfr9QDqwtF7sVDOCP+lmmnW5HdLJy2W0GCfOorhitbfe/P4Or5ntgayZUaDB7kawlJSLDK8zDxES0/p5i3D1ueXf8XZJurzx6jkhqdJpunCeJPqGRasPASm6GMZYDTDNKHKUK5n6KBjpPPxJBJtdNIqVbKmtOz5fnug==
  • 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=zS0oCuwjdEUcSjNp+B39e+RyraAaxOpDOqBht9vmFJs=; b=vUdD1QfseVYGIoiA/ppGKRYL0vvf43QlkuXF/9S3PuTARN9T3wbMHcT8l552odUmsgW+Q2kHpyN+3MTdl3qdpWhoYfRLc2mUPLunAeLVGF+i5S8ZmqbOJ+8DqrY1GWFQiW3arswcCder2nWD0DdpUk3+ZPGwCu/wzD2uBcJSCU8f2rqGD9owZ1MpmiPx/HZDzzQhBMudncS6njM9lPh0fOueqlc2qSypKdWDFfvrd9daT8Jx9a68p7pxLz9vPeY2bV3tdOdMC5CXLWLpxzFwGpa164ZctiC8kCCghlngqq6S5Ic6Q5y1DaJXcsn8calDZLk7i98IJfuZ1QdRZ1RKtg==
  • Arc-seal: i=2; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=pass; b=D4SVsM5ZbEDmRaqePhDz6BpBSfzv6NMEX2leKGSvUr3sSIR0tyafV+doqCVp1zvBwZkfrLNKo9rR240VyARxVcLRu3aM0WF+rL8Nbno5Z7NsuSR7WWBy71IUJlVr+k59W6/CwfWqEtSxvxxMYLuJl1QgbZoFT92pJjyM6ul4Aduxj/C2TzwmF1OCiy7hx2pH9H5GwrK6Tu2Go/NNOYJ45GU7B90V9nrtYMR82QZtSVoosa9CYqvsWBK8crITYxIbYmyx1rCC11qyBBQvpqrDqYwWBq0P4lHC8esshkqOE4RLsuGLzPpmxv03DBwyJEVOvMMpWMIXjQlMKku9eMJgyQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=tySZ5RCjxIIjfU3yGj9kEG6GzbI/6P85MLV08QbybXiFByCVzD3IYUwykMae4EqgQUCICQVCYGqAas/arThQjDM9AhMWnZgOztobiGONXQA38kJdxifFmlDS6R96neoO9sNiaAgvBRvWJbuIWNrJuHScQhcvkgQwh5m3At6PvR1OGQN3pHthimUweup4I6DrRaVCKFtT236Cb7EBuN226aWByJX1kdWGTgCHgoDDf11vt8beqN0ecg7DU72Ss0O05h1sHRLTUgqGYaRaXTiW/fN9Gs2sl44/x14dPF9ijN4/TKFxK7TqyNVZpEKaOOzcGKM3SR8OYZCJFhJggZdggA==
  • Authentication-results-original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.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:34:46 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Nodisclaimer: true
  • Thread-index: AQHcmbF131JHt0VrQEG2yzDmCYz1i7V6XACAgAAB1gA=
  • Thread-topic: [PATCH v5] xen: Add Darwin.mk

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

> 
>> 
>> Signed-off-by: Bertrand Marquis <bertrand.marquis@xxxxxxx>
> 
> Acked-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>

Thanks

Bertrand

> 
> Thanks, Roger.


 


Rackspace

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