Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oRleF-0007uk-LV for pgsql-hackers@arkaria.postgresql.org; Sat, 27 Aug 2022 02:34:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oRleE-0004YH-HL for pgsql-hackers@arkaria.postgresql.org; Sat, 27 Aug 2022 02:34:10 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oRleD-0004Y8-2K for pgsql-hackers@lists.postgresql.org; Sat, 27 Aug 2022 02:34:10 +0000 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oRle8-0000vP-Hq for pgsql-hackers@lists.postgresql.org; Sat, 27 Aug 2022 02:34:08 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 497143200925; Fri, 26 Aug 2022 22:33:57 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Fri, 26 Aug 2022 22:33:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm1; t=1661567636; x=1661654036; bh=64Nu+gXL/3 WS/pUCfWzMt2VAK3HsaHKtl+NVYx0e970=; b=eKkulGyaTnUK+Gpd6Xz4C6JOZh FL+XzV+BNNdyiS8ltXY7Fkrl5CS27UERHXHcP/AZambNhBx+ulCzfz15GQib59wx rUtZWZy09M++8CluO8BZA9djSPlWa+9Tc2/cnJimyTx3ntWRT8KDW0ANKHX+MQjd bFUHef50GeRE7ZbTAzA7F7pUd96JEk0zMifxaIHEmYorGK035HS1rz+JEcXQHFSX Sg8AGrNOLAtH6llVsam+7OxPOEFetEq57xGVlA89F37vhUYnFNu+6JXniupWZdjj IMVcyH4KuMpSn/UavYRsOlIhzCzFPXxrKRYaF6gK3Dil/zjMhHuU/pCX6ADA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1661567636; x=1661654036; bh=64Nu+gXL/3WS/pUCfWzMt2VAK3Hs aHKtl+NVYx0e970=; b=JrKSd5NcLBiF7LTakg9ZpOiFEiyQCciDmjipSRsMIcNq RiVkwcLU3CohKhEnf99us8WYtlc2A966PZsTreGOn8kGlmW+6xxxbipePC1569YE HZQSaNE27LjbOi5aHYYfNQfCAOxTYwk4MVsLP/D3RAMyKXAU1dstv7RaF9kKu7wB O5AbIiup+LITEIHlk0nv0MI3CwsXDM2Sxv2V2Bevao1KlIu89HQLz3zaGLmo4wfQ WVwz5sFXjnMvmeKlZurBMPDasGe2AvSYU3p6bzV5TvWlxsUxEbMb8Ioe4GFLmzPY d2fQmeDiaBKkBbLeqSpiDuVyacElJMjjroyIrMuE/w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdejiedgiedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdlfeehmdenucfjughrpeffhffvvefukfhfgggtuggjsehgtderredt tddvnecuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesph grqhhuihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepgeffjeevgfevuddvjedtvddt ieejheduueelvddufedtgfefjedvkeevkeeivddvnecuffhomhgrihhnpehpohhsthhgrh gvshhqlhdrohhrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhl fhhrohhmpehmihgthhgrvghlsehprghquhhivghrrdighiii X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 26 Aug 2022 22:33:54 -0400 (EDT) Date: Sat, 27 Aug 2022 11:33:51 +0900 From: Michael Paquier To: Andres Freund Cc: Niyas Sait , Tom Lane , Thomas Munro , Julien Rouhaud , PostgreSQL Hackers Subject: Re: [PATCH] Add native windows on arm64 support Message-ID: References: <20220826012907.gjw3jdqdgsts5y65@awork3.anarazel.de> <20220826032943.nwoepbegzwntbmks@awork3.anarazel.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="m05mnNzdka33v3y0" Content-Disposition: inline In-Reply-To: <20220826032943.nwoepbegzwntbmks@awork3.anarazel.de> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --m05mnNzdka33v3y0 Content-Type: multipart/mixed; boundary="8+EoCmxEVWQ221vG" Content-Disposition: inline --8+EoCmxEVWQ221vG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Aug 25, 2022 at 08:29:43PM -0700, Andres Freund wrote: > It's really not great that 7f3e17b4827 disabled randomization without even a > comment as to why... This story is on this thread, with some processes not able to start: https://www.postgresql.org/message-id/BD0D89EC2438455C9DE0DC94D36912F4@maumau > There actually seems to have been a lot of work in that area. See 617dc6d299c > / bcbf2346d69 and as well as the retrying in 45e004fb4e39. Those weren't > prevented by us disabling ASLR. Indeed. 45e004f looks like the most interesting bit here. FWIW, I would not mind re-enabling that on HEAD, as of something like the attached. I have done a dozen of runs without seeing a test failure, and knowing that we don't support anything older than Win10 makes me feel safer about this change. Any objections? -- Michael --8+EoCmxEVWQ221vG Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="0001-Re-enable-ASLR-on-Windows.patch" Content-Transfer-Encoding: quoted-printable =46rom 0fde47c2d4e65bd9f1f5a7b4607f8b8b95162242 Mon Sep 17 00:00:00 2001 =46rom: Michael Paquier Date: Sat, 27 Aug 2022 10:20:53 +0900 Subject: [PATCH] Re-enable ASLR on Windows --- src/tools/msvc/MSBuildProject.pm | 1 - 1 file changed, 1 deletion(-) diff --git a/src/tools/msvc/MSBuildProject.pm b/src/tools/msvc/MSBuildProje= ct.pm index 62acdda3a1..594729ceb7 100644 --- a/src/tools/msvc/MSBuildProject.pm +++ b/src/tools/msvc/MSBuildProject.pm @@ -347,7 +347,6 @@ sub WriteItemDefinitionGroup .\\$cfgname\\$self->{name}\\$self->{name}.pdb false .\\$cfgname\\$self->{name}\\$self->{name}.map - false Console --=20 2.37.2 --8+EoCmxEVWQ221vG-- --m05mnNzdka33v3y0 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmMJgo8ACgkQnvQgOdby QH2KNRAAmqjnbNHaXZ8MCIx551pOTnHoPJV6ixfaGM9jC/8F1SQBFV9RUpFEg8cM 1McjDvBrw+X9RiUXuX1lbiRjmK2s3Mn08YjkDdAEjxX6SNj/yo+m2jFmNpEzIliM 8HXmWP9QHmTWZioN/0kXGlTuhtC2h1jDiU+zXHUe/sAQSB/e9WZ/AJ85Hd5EsUBz B2ZjLxXL+LYTK3nCXsx0k7BAtzmcRHSdYMQKveMw1Jo/cauGo6LtLezoSyta0Dbw GPZc6tiubrW0MyBaklAbZVK5ahFJDOrYuZX/T7Pc3CDB21c4okqOJymVcMc3eaDx 0ChYqPtqybVT560jOQfg5nA1vYZgnPbZuna55O79U9IswTed146i/j4O4C1+dunC g/ZWeLkX7lPi48JF9sCOQ3XMhKxXHUe7XgMy9ewypnSWGZ/HVYoLMVV8XrM8tbn5 Fz1jOIMQKjdNA2+3iOJCfXRRBO0qZjPHSanu4XPbBWoOOCaWEC/uES7tcLOSrDN/ UzBPVJ7fRPdbQTyuKgUUOHD82aVElyF+EwHa5DYXvNygLykuqIA+MK+1xrs94KPS jyJ9NHo1Jeop33LyTvVGh+MMAApoI8HUhcaQKPU+a19K1qo1Y4ejRXFZAPubwZAz MflbTiVam3NCttVw8CZspJUI5W+DKuliGlwLl+v2BwoWYgwN/iM= =um7m -----END PGP SIGNATURE----- --m05mnNzdka33v3y0--