Re: [PATCH] Add native windows on arm64 support

Peter Eisentraut <peter@eisentraut.org>

From: Peter Eisentraut <peter@eisentraut.org>
To: Tom Lane <tgl@sss.pgh.pa.us>, Michael Paquier <michael@paquier.xyz>
Cc: Anthony Roberts <anthony.roberts@linaro.org>, Andrew Dunstan <andrew@dunslane.net>, Mike Holmes <mike.holmes@linaro.org>, Andres Freund <andres@anarazel.de>, Thomas Munro <thomas.munro@gmail.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>, Lina Iyer <lina.iyer@linaro.org>
Date: 2023-09-13T19:12:46Z
Lists: pgsql-hackers
On 31.08.23 06:44, Tom Lane wrote:
> I agree.  I'm really uncomfortable with claiming support for
> Windows-on-ARM if we don't have a buildfarm member testing it.
> For other platforms that have a track record of multiple
> hardware support, it might not be a stretch ... but Windows was
> so resolutely Intel-only for so long that "it works on ARM" is
> a proposition that I won't trust without hard evidence.  There
> are too many bits of that system that might not have gotten the
> word yet, or at least not gotten sufficient testing.
> 
> My vote for this is we don't commit without a buildfarm member.

I think we can have a multi-tiered approach, where we can commit support 
but consider it experimental until we have buildfarm coverage.



Commits

  1. MSVC: Support building for AArch64.

  2. Remove "#ifdef WIN32" guards from src/port/win32*.c

  3. Adjust XML test case to avoid unstable behavior.

  4. Enable RandomizedBaseAddress (ASLR) on Windows with MSVC builds