[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2] xen: Add macOS hypervisor build configuration
- To: Jan Beulich <jbeulich@xxxxxxxx>
- From: Bertrand Marquis <Bertrand.Marquis@xxxxxxx>
- Date: Fri, 6 Feb 2026 07:35:05 +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=ffyCm7Pk2R4bH3nv9iG7TXNrGZh+hToGVhl9zu1//zA=; b=A+56A5U0Gwk96OFV0gihy6LsNR3zfvPyBPWXUOq8IhqVtLlV8LgR4Ro1ZCH45e28RTTdIrqfn8UIlXZZhwnN5hzcQFiLqKo519aQVa6/IBY0DVhX9MG22c/uUBQxg6no7rfAV7OExeqZwWhkIJpVlso6DB9ndKy+wIknGaQA2xC1sLMAVFuywxIAhjOYECsjDyEBxvfqg3vkryqLwdKYSBdjPr7KH1so++0+2Y5jfjaAH7dqiqXJFNTGo0PUqkP/+YW4GypynWHiodG4GgNp46VTlpk0f+CevwxhZBCw3lePKGi2XCR2G5RMM5qpX//Yw4baQcqHiZIYKZXZ4jZ9YA==
- 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=ffyCm7Pk2R4bH3nv9iG7TXNrGZh+hToGVhl9zu1//zA=; b=ny6adE19Su3yZV0XcA5k7fLJD0d8yl1mRbZlXh18ROAFf+Vq795VCPaSltCslsgnYz26P1jP7MGPqX5dreOfw0nABYkTYqrQN5qlpP29wqFRV42hucdu/Bj/j4s8BEwZqwLf2U/w2lVpQYpiu3y2b4vK1lv+lrtN43CpxL+k3vr4gjXpBI/MEOb/jSGTIrSDlbFCjy8t8a+qLMxxYWKX1pxNUUTkTq43jNzlIZXrXP4i2SyKJ/pIiRoI5jPcvC5k0JiNoxW6MpcEH8kdTHUAxtUx4JL1SHyXn6Dq03amW/y2rWSHSgUWOTdBCIZxddOc/f0yqEtUXILpx4IRmH1OxA==
- Arc-seal: i=2; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=pass; b=wQfzrrLbeQ4O0FCVvLLQkh8ablNmUhLcZvp9cxL/qLRtKW6mT2HcEAnw6L/r1sTkptL6swMGjPic0BkvtRCktjPW1dfZgEOTV+cR3xsd1nOxFxseU+XfPBtRn2tu04DqQHHVHdlT3a1uRfGzjs+I1W+hHryz8w1CILYC3aBtwkgVlKi3xCehs8sXGCPbJC2jDp2llfZpKDe2wST9WAWO/K8sENUV6bXoY10v2829QDcM8EvqIpqYHEC++yVL1wXH5uXkRgh9fi+gttNukcD/vdR++eZFPzp0UpSsBIqSUHmrgCC2urqa1PKwRFnz7FHifnNvtGLG2BpTkvdIY1+9+Q==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=VormqA62W8MWDP80qKQb7+71qtBaa/IWnq5mQWR+mE4EPe2If65jDja3nciGXN8TJIy6kN6kEK1Sc5+SD16Tg4n0bLF4dZWLmjoF2Hcu64FuzjdCr+5kTEbP+I5kbgrFnJbgdIfdSQidShdnMz7ojwdqoj2p9LdWqY4ngIEwoRIXBIWiRuQoziuxWCl+VW/FijvVPYh0LwRfglSwkwD1jL/OI5cj4E0VDQxbc0nVQ3O2IadISBYnEF7OjUGA0fdT8JMwxnPbj8WmP1xgUMYjO7VKsGTC25v5yixtI7kL+c7bvMYsWp4HgflXIZxZ1qEWxkDgcwhfbxha5c+OT2rSOg==
- Authentication-results-original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
- Cc: Roger Pau Monné <roger.pau@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>
- Delivery-date: Fri, 06 Feb 2026 07:36:19 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
- Nodisclaimer: true
- Thread-index: AQHclpNk83RtAc43+U+zvyNqPofiH7V0VocAgADeUQCAABQugA==
- Thread-topic: [PATCH v2] xen: Add macOS hypervisor build configuration
> On 6 Feb 2026, at 07:22, Jan Beulich <jbeulich@xxxxxxxx> wrote:
>
> On 05.02.2026 18:07, Roger Pau Monné wrote:
>> On Thu, Feb 05, 2026 at 12:33:54PM +0100, Bertrand Marquis wrote:
>>> +## Limitations
>>> +
>>> +- **Hypervisor only**: This only builds the Xen hypervisor, not the tools
>>> +- **Cross-compilation only**: Native builds are not supported
>>
>> Probably a more philosophical question, but is it really a cross
>> compilation if I'm building an arm64 Xen on Apple arm64 silicon?
>>
>> Sure, it might use a different toolchain from native, but it's still a
>> "native" build from an architectural perspective?
>
> "Cross" aiui covers both OS (i.e. ABI) and hardware. Building x86 Linux
> binaries on e.g. Windows is "cross", too. (Strictly speaking it's the
> target triplet that is commonly used in at least GNU - if any part
> differs, it's "cross". It just so happens that Xen uses Linux'es ABI,
> and hence its building is native on identical-arch Linux.)
Agree, i will put a small comment on top of the line in darwin.mk
spelling it out:
Xen uses Linux'es ABI so we are cross compiling on Mac OS.
Force COMPILE_ARCH to a fake value to make sure it is always the case.
Bertrand
>
> Jan
|