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 1lybQc-0004uI-9c for pgsql-hackers@arkaria.postgresql.org; Wed, 30 Jun 2021 14:43:02 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lybQb-0004Bq-4g for pgsql-hackers@arkaria.postgresql.org; Wed, 30 Jun 2021 14:43:01 +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 1lybQa-0004Bh-TI for pgsql-hackers@lists.postgresql.org; Wed, 30 Jun 2021 14:43:00 +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 1lybQY-0000vm-Pl for pgsql-hackers@postgresql.org; Wed, 30 Jun 2021 14:42:59 +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 15UEgtdU604519; Wed, 30 Jun 2021 10:42:55 -0400 From: Tom Lane To: Alvaro Herrera cc: Michael Paquier , Jacob Champion , "pgsql-hackers@postgresql.org" , Daniel Gustafsson , info@cspug.cz Subject: Re: Preventing abort() and exit() calls in libpq In-reply-to: <202106301439.dji3ms64lxlj@alvherre.pgsql> References: <202106301439.dji3ms64lxlj@alvherre.pgsql> Comments: In-reply-to Alvaro Herrera message dated "Wed, 30 Jun 2021 10:39:29 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <604517.1625064175.1@sss.pgh.pa.us> Date: Wed, 30 Jun 2021 10:42:55 -0400 Message-ID: <604518.1625064175@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Alvaro Herrera writes: > On 2021-Jun-30, Tom Lane wrote: >> You mentioned __gcov_exit, but I'm not sure if we need an >> exception for that. I see it referenced by the individual .o >> files, but the completed .so has no such reference, so at least >> on RHEL8 it's apparently satisfied during .so linkage. Do you >> see something different? > Well, not really. I saw it but only after I removed -fprofile-arcs from > Makefile.shlib's link line; but per my other email, that doesn't really > work. > Everything seems to work well for me after removing abort from that grep. OK, thanks, will push a fix momentarily. regards, tom lane