Re: [PATCH] Add native windows on arm64 support
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Niyas Sait <niyas.sait@linaro.org>
Cc: Andres Freund <andres@anarazel.de>, Tom Lane <tgl@sss.pgh.pa.us>, Thomas Munro <thomas.munro@gmail.com>, Julien Rouhaud <rjuju123@gmail.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2022-05-10T01:01:55Z
Lists: pgsql-hackers
On Mon, May 09, 2022 at 12:44:22PM +0100, Niyas Sait wrote: > Microsoft updated documentation [1] and clarified that ASLR cannot be > disabled for Arm64 targets. > > Because ASLR can't be disabled on ARM, ARM64, or ARM64EC architectures, > > /DYNAMICBASE:NO isn't supported for these targets. Better than nothing, I guess, though this does not stand as a reason explaining why this choice has been made. And it looks like we will never know. We are going to need more advanced testing to check that DYNAMICBASE is stable enough if we begin to enable it. Perhaps we should really look at that for all the build targets we currently support rather than just ARM, for the most modern Win32 environments if we are going to cut support for most of the oldest releases.. -- Michael
Commits
-
MSVC: Support building for AArch64.
- a516b3f00d74 19 (unreleased) landed
-
Remove "#ifdef WIN32" guards from src/port/win32*.c
- 09eb633e1baa 17.0 cited
-
Adjust XML test case to avoid unstable behavior.
- 4ea07e7cf3c6 16.0 landed
-
Enable RandomizedBaseAddress (ASLR) on Windows with MSVC builds
- 36389a060ca6 16.0 landed