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 1oT62P-0003Tq-Pf for pgsql-hackers@arkaria.postgresql.org; Tue, 30 Aug 2022 18:32:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oT62O-00086Q-6R for pgsql-hackers@arkaria.postgresql.org; Tue, 30 Aug 2022 18:32:36 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oT62N-00086G-PT for pgsql-hackers@lists.postgresql.org; Tue, 30 Aug 2022 18:32:35 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oT62H-0004oD-DH for pgsql-hackers@lists.postgresql.org; Tue, 30 Aug 2022 18:32:34 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 27UIWQkj3718740; Tue, 30 Aug 2022 14:32:26 -0400 From: Tom Lane To: Andres Freund cc: pgsql-hackers@lists.postgresql.org Subject: Re: Postmaster self-deadlock due to PLT linkage resolution In-reply-to: <20220830182000.fbbecg3w3z4p2s2h@awork3.anarazel.de> References: <3384826.1661802235@sss.pgh.pa.us> <20220830171720.iai6jwwo756z7ivw@awork3.anarazel.de> <3705480.1661880279@sss.pgh.pa.us> <20220830174116.mmhyi3rfysudybsx@awork3.anarazel.de> <3713731.1661882861@sss.pgh.pa.us> <20220830182000.fbbecg3w3z4p2s2h@awork3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Tue, 30 Aug 2022 11:20:00 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3718737.1661884346.1@sss.pgh.pa.us> Date: Tue, 30 Aug 2022 14:32:26 -0400 Message-ID: <3718738.1661884346@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Andres Freund writes: > On 2022-08-30 14:07:41 -0400, Tom Lane wrote: >> Do we want to install this just for NetBSD, or more widely? >> I think we'd better back-patch it for NetBSD, so I'm inclined >> to be conservative about the change. > It's likely a good idea to enable it everywhere applicable, but I agree that > we shouldn't unnecessarily do so in the backbranches. So I'd be inclined to > add it to the netbsd template for the backbranches. > For HEAD I can see putting it into all the applicable templates, adding an > AC_LINK_IFELSE() test, or just putting it into the meson stuff. For the moment I'll stick it into the netbsd template. I'm not on board with having the meson stuff generating different executables than the Makefiles do, so if someone wants to propose applying this widely, they'll need to fix both. Seems like that is a good thing to consider after the meson patches land. We don't need unnecessary churn in that area before that. regards, tom lane