Re: [PATCH] Fix ARM64/MSVC atomic memory ordering issues on Win11 by adding explicit DMB barriers
Greg Burd <greg@burd.me>
From: "Greg Burd" <greg@burd.me>
To: "PostgreSQL Hackers" <pgsql-hackers@lists.postgresql.org>
Cc: "Thomas Munro" <thomas.munro@gmail.com>,
"Nathan Bossart" <nathandbossart@gmail.com>,
"Peter Eisentraut" <peter@eisentraut.org>,
"Dave Cramer" <davecramer@gmail.com>, "Andres Freund" <andres@anarazel.de>
Date: 2025-12-10T16:31:36Z
Lists: pgsql-hackers
Attachments
- v6-0001-Enable-build-on-Windows-11-ARM64-with-MSVC.patch (application/octet-stream)
Hello. Rebased with only minor changes to meson.build this patch is ready for review/commit as it is passing tests on my aarch64 Win11 MSVC system. Also note that this system I'm testing on is ready to become a member of the buildfarm (application submitted) and monitor this combo in perpetuity. FWIW, Dave's bug report to Microsoft [1] seems to be a duplicate of [2] and the duplicate is about to be auto-closed. best. -greg [1] https://developercommunity.visualstudio.com/t/MSVCs-_InterlockedCompareExchange-doe/11004239 [2] https://developercommunity.visualstudio.com/t/MSVC-compiler-optimization-in-PostgreSQL/10982137