Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:125381 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by qa.php.net (Postfix) with ESMTPS id DE1E31A00C5 for ; Mon, 2 Sep 2024 08:47:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1725266954; bh=zkLk88aReYngkn8d5k9U+2Y+0cBvyfdx3fq1ofvydLs=; h=Date:Subject:To:References:From:In-Reply-To:From; b=OL9htoI9/2AFtkU74TT27s6eYIvuyg5AFaAJPiDfZBkK3qQkxU6z/r0CzCA74FZKi yhT/v/KCqth7jcbc7vqyYFdsi1wp0rxCnJsdXSsGRNe+z/pre4xQFyzy4zEWbVKRq9 +pOMO9JTqpOM6Q799o6ZTXSCvicoVvoEKNBAxSUzBB+zfvfHbqT88MxZej+3p9s6jG WJczlViuGlkzBBmCsm9uKikuNciO8dmlbt3+XkEGbfI/fjmNT1dWP1YJscqryQVAnL ycheSgaMIUGci1yQynIIqNKb57cJIE8gBjey9OkZfxTdo8H2FKh1+eO4VdS128dzVQ rixEUkIWpxOIQ== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 1247B18007C for ; Mon, 2 Sep 2024 08:49:13 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: *** X-Spam-Status: No, score=3.9 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,RCVD_IN_SBL_CSS, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail-ej1-f41.google.com (mail-ej1-f41.google.com [209.85.218.41]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Mon, 2 Sep 2024 08:49:12 +0000 (UTC) Received: by mail-ej1-f41.google.com with SMTP id a640c23a62f3a-a8a16c53d3cso10049766b.1 for ; Mon, 02 Sep 2024 01:47:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seld.be; s=google; t=1725266834; x=1725871634; darn=lists.php.net; h=in-reply-to:from:content-language:references:to:subject:user-agent :mime-version:date:message-id:from:to:cc:subject:date:message-id :reply-to; bh=wV8po1xaY2ORcXwwjDVn8FPpnDvRL/YuCS1t/rmWp44=; b=jY1NYTm7XQPPL8rTVomgkZ8jyKVERJt7o/VeSVCYQgsOUSxGgq4suKJoh+p1RSwX0a wWpxsngVuFD9ipX6g1oL6GiW2QRCvSvqK6SyJXNOR/h539/TQS+GklLnMwDFNADTDoCq wdX9ld5M+cEVi4cai+NXC80tpEzE6lRv4tAY7LktozO9bfLELvw87qz7fci45ocqzV/0 yEnCIQZe9OiXmmQs8jCJy/4pcc/pTARYk1fI1iupxJrK12Zjddu/WDtkNTv3Bwm9RQZM TxMUOZWa93aet/xWb2NbZN4qw3BBI6fQVj6F1C+ZH2RQgoIyO/q98Z6umn6+R8CZgc1A fFZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725266834; x=1725871634; h=in-reply-to:from:content-language:references:to:subject:user-agent :mime-version:date:message-id:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=wV8po1xaY2ORcXwwjDVn8FPpnDvRL/YuCS1t/rmWp44=; b=Wv6OJeY9zS9DR/coCXDFDKjjygfHWkF+MW1+IiFlTL1xiFwtdaP6C1qL0Io//NVZ0g EvaePnXa3bmKaeoBmztLVBgDGrUb8S1fNiOkjsc9xCI/D1fbH/7CBSHdPtWYSZGNgnWE t63WOIpzaMIPrR3aJZlsGobioBlm8ihNyZEzkdZQYp+CTHG+TbGirWizce3iKrOwYUpq hgvrIXuDDJ5DLIG3ZorwOrPcFursJEUuhxpk0h50FieC4bK6zljPdapPmlnpxDpfId/+ HE724svCGGasmJve/98JtvQwKElWU/SEkuu+rFla8WrVrQXCBZ3fZvKr0N8SQsNeYhqs tUWw== X-Forwarded-Encrypted: i=1; AJvYcCXcfkNTaSdTmr+xne5z/0q2dGHzvIqtE8qBjIO+a44WL/kbpHg4TK/vXlBMja+YruNATEz5z5O9ZSA=@lists.php.net X-Gm-Message-State: AOJu0Yya35+pm0wmUTBZaqrzH99Xj8bCziF3N8DKECBA23osAKWry2bH POoNkzQL+WqQRTh87hG1XdgpwMa2tbBWtslzYIoitAL8VC61Lag2plUYA+nF/TtCaV+1dIJBsK4 SdiQ= X-Google-Smtp-Source: AGHT+IF9RPFTP5WIgqoVbEg9bx8bKt5jwdEuz5doUKCXoHllNr75Bbkitef5PYQ8MzTBndg1ZW3/Og== X-Received: by 2002:a17:907:1c23:b0:a86:8165:1802 with SMTP id a640c23a62f3a-a897fad8ccamr809589066b.66.1725266834126; Mon, 02 Sep 2024 01:47:14 -0700 (PDT) Received: from [192.168.28.79] (mob-194-230-148-53.cgn.sunrise.net. [194.230.148.53]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a89892225dcsm525479066b.208.2024.09.02.01.47.13 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 02 Sep 2024 01:47:13 -0700 (PDT) Content-Type: multipart/alternative; boundary="------------KpPb9d5A0LIzSVM7WUgr9b0P" Message-ID: <4be490c7-358d-4165-acd4-322938a1de9e@seld.be> Date: Mon, 2 Sep 2024 10:47:11 +0200 Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PHP-DEV] Ship PHP builds for Windows on arm64? To: "Christoph M. Becker" , internals-win@lists.php.net, PHP Internals References: <722c3b54-5517-4266-b606-f69e1428c353@gmx.de> Content-Language: fr In-Reply-To: <722c3b54-5517-4266-b606-f69e1428c353@gmx.de> From: j.boggiano@seld.be (Jordi Boggiano) This is a multi-part message in MIME format. --------------KpPb9d5A0LIzSVM7WUgr9b0P Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hey, On 28.08.2024 21:16, Christoph M. Becker wrote: > (1) The libraries on which several extensions rely are not yet available > for Windows on arm64; at least the winlib-builder[2] would need to be > improved in this regard, but of course, some libraries may not even > support Windows on arm64 yet. > > (2) To my knowledge, none of the core developers has a Windows on arm64 > environment available, and I presume that nobody wants to run an arm64 > emulator on an x64 machine. And since there are no public GH runners > for that platform (that might change in a couple of months, though[3]), > we cannot actually test (let alone develop) these builds. I don't have much knowledge about the compiler aspects but to your point 1 from what I understand (as a user of a Surface Pro 11) some apps are built for ARM64 but with some x64 compatibility in mind, that's referred to as ARM64EChttps://learn.microsoft.com/en-us/windows/arm/arm64ec - I've seen this done for Microsoft Office which needs to support some legacy x64 plugins and also foobar2000 to support x64 plugins that are abandoned and won't be recompiled any time soon. I'm thinking this might help with lib dependencies here? As for 2, I kinda need my computer still but I can offer to test run some builds if it helps. Best, Jordi -- Jordi Boggiano @seldaek -https://seld.be --------------KpPb9d5A0LIzSVM7WUgr9b0P Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Hey,

On 28.08.2024 21:16, Christoph M. Becker wrote:
(1) The libraries on which several extensions rely are not yet available
for Windows on arm64; at least the winlib-builder[2] would need to be
improved in this regard, but of course, some libraries may not even
support Windows on arm64 yet.

(2) To my knowledge, none of the core developers has a Windows on arm64
environment available, and I presume that nobody wants to run an arm64
emulator on an x64 machine.  And since there are no public GH runners
for that platform (that might change in a couple of months, though[3]),
we cannot actually test (let alone develop) these builds.
I don't have much knowledge about the compiler aspects but to your point 1 from what I understand (as a user of a Surface Pro 11) some apps are built for ARM64 but with some x64 compatibility in mind, that's referred to as ARM64EC https://learn.microsoft.com/en-us/windows/arm/arm64ec - I've seen this done for Microsoft Office which needs to support some legacy x64 plugins and also foobar2000 to support x64 plugins that are abandoned and won't be recompiled any time soon. I'm thinking this might help with lib dependencies here?

As for 2, I kinda need my computer still but I can offer to test run some builds if it helps.

Best,
Jordi

-- 
Jordi Boggiano
@seldaek - https://seld.be
--------------KpPb9d5A0LIzSVM7WUgr9b0P--