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

Re: [RFC PATCH] xen: Add macOS hypervisor build support


  • To: Jan Beulich <jbeulich@xxxxxxxx>
  • From: Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Date: Wed, 4 Feb 2026 17:22:33 +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=0fSC02YMDefO3K14W1SRqWL1Q+a33EDCPQPp4S2Nqck=; b=EpFu7KMWN6cgpElH+bblYct4FxAj/lNFs/fXZshSS0cN45KE9qWQnYnDRmlbkxrwp9+769D8SAKUsS50EagmGqGCDUWbBsZVBCm2WTWL/qbFh1EqlsVoXwLfgrvH+C/D6IYw8aDobdW+/YwELnai8SMck0DQWa5ti7ZXEIWjJFmNlHP7VIPDw2jGE/Pm5anxigre0OwxTy2n9My+QLlGGXg3hqjj77fwd59LfqW70C8PNQTpVIYliF92aYigUB8MgWzpXuBXzEzfwpDyqiBPmQ3kNKWqoIyKj9ldY1dEy05z388EM1V7upT8R12Pg3uy1bfPtMpB7qophhpXe1f0ew==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=l5OL5FtrmSO9WhqXpjsHUYVBVnSKDYQRQ036cZ2pwDepvGnAbBsaUy0gzPj5e7KGlEAd1/D6U/9qZ9TuF61LF8FKZck3UsI0U6NOq96jsnrGYDbMl3gGpkjsSS6ApmXGiOd78GTEaUENmnonMx/vOpWa/ALPBunTvTkrTLzgsHhJa+y/RGiTalSvhjeVta9+iJdjuXq5AoyS93ujjBmXoygk7k8RJkGm7gexJ1unxUhjfw8wY/iHAn15MQIElDkFsZo8zkOeFCyUmW9o4EMWFVmqETQsmBCOvtR3FJeTdeELL36+ZD6fPUAWT4bJzPzEw6K0On1TIC4klyvO0olnBA==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com;
  • Cc: Bertrand Marquis <bertrand.marquis@xxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Wed, 04 Feb 2026 16:22:47 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On Wed, Feb 04, 2026 at 04:31:12PM +0100, Jan Beulich wrote:
> On 04.02.2026 14:16, Bertrand Marquis wrote:
> > Xen does not currently document how to build the hypervisor on macOS, and
> > there is no Darwin configuration for a Homebrew-based toolchain. In
> > addition, the Makefile silent-mode detection can be tripped by -I paths
> > that contain an "s", which hides build commands unexpectedly.
> 
> This wants submitting as a standalone fix, so it can be backported. But see
> also below. I don't, however, understand how -I could be useful here - our
> build system is self-contained, so any include directives used should be
> satisfiable without any -I.
> 
> > --- /dev/null
> > +++ b/config/Darwin.mk
> > @@ -0,0 +1,4 @@
> > +include $(XEN_ROOT)/config/StdGNU.mk
> 
> Darwin isn't really a GNU environment, is it? The definitions in that file
> may be suitable, but perhaps a brief comment is warranted?

It's similar to FreeBSD in that regard, which is also not a GNU
environment as the compiler and toolchain is LLVM.  However the LLVM
toolchain attempt to be command line and output compatible with the
GNU one AFAIK.

FreeBSD.mk also includes StdGNU.mk.  Maybe we want to rename StdGNU.mk
to generic.mk or common.mk?

Thanks, Roger.



 


Rackspace

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