Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vQwMP-002ZC2-0R for pgsql-bugs@arkaria.postgresql.org; Wed, 03 Dec 2025 23:34:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vQwMO-00H49b-05 for pgsql-bugs@arkaria.postgresql.org; Wed, 03 Dec 2025 23:34:12 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vQwMN-00H49S-2T for pgsql-bugs@lists.postgresql.org; Wed, 03 Dec 2025 23:34:12 +0000 Received: from smtp.outgoing.loopia.se ([93.188.3.37]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vQwMK-0030bd-36 for pgsql-bugs@lists.postgresql.org; Wed, 03 Dec 2025 23:34:11 +0000 Received: from s807.loopia.se (localhost [127.0.0.1]) by s807.loopia.se (Postfix) with ESMTP id A91474B8833 for ; Thu, 04 Dec 2025 00:34:06 +0100 (CET) Received: from s980.loopia.se (unknown [172.22.191.5]) by s807.loopia.se (Postfix) with ESMTP id 98CED4B8F08; Thu, 04 Dec 2025 00:34:06 +0100 (CET) Received: from localhost (unknown [172.22.191.5]) by s980.loopia.se (Postfix) with ESMTP id 9006D22015C5; Thu, 04 Dec 2025 00:34:06 +0100 (CET) X-Virus-Scanned: amavis at amavis.loopia.se X-Spam-Flag: NO X-Spam-Score: -1.2 X-Spam-Level: X-Spam-Status: No, score=-1.2 tagged_above=-999 required=6.2 tests=[ALL_TRUSTED=-1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1] autolearn=disabled Authentication-Results: s471.loopia.se (amavis); dkim=pass (2048-bit key) header.d=yesql.se Received: from s899.loopia.se ([172.22.191.6]) by localhost (s471.loopia.se [172.22.190.35]) (amavis, port 10024) with LMTP id SU-GzJKIAVQS; Thu, 4 Dec 2025 00:34:06 +0100 (CET) X-Loopia-Auth: user X-Loopia-User: daniel@yesql.se X-Loopia-Originating-IP: 89.255.232.236 Received: from smtpclient.apple (customer-89-255-232-236.stosn.net [89.255.232.236]) (Authenticated sender: daniel@yesql.se) by s899.loopia.se (Postfix) with ESMTPSA id 0DD202C8B912; Thu, 04 Dec 2025 00:34:06 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yesql.se; s=loopiadkim1707475645; t=1764804846; bh=XT9n5xb9ANSJZGEh6151ClkVCXJYWa8cVyGjLP84800=; h=Subject:From:In-Reply-To:Date:Cc:References:To; b=F/pqFN96qQsb7SnWWTWRpFK3l114jRwiD/x5mk2sOs5bKsrcR5ztNRLn1HQIHQdub cZjSY0UERRJSYqRK2WDxUdGKOHWCgVOCLaKxqtV2HSj2IEuhfwxqR1E3w6kwXX2cUY H0rvShSP/mfQDQrRVGIIsXbJwRllzZrnWDY4b/GXvigQ0iNP69pf5/72fsVftrDHRu 9ZQwzHW7kH1Ec5h1SQVUFedGAyBL3BW13ym3xQZOSAcpPbN0vCTS/OOlmidmbEq4yq /IfC6q1vYyxor+QMfryIMBNJk2HJC5n9HpUuuLt+SA8Q+B1rbOMaJy7DyvEBgYiDcf kCcLG+3CZGbtQ== Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3776.700.51.11.2\)) Subject: Re: BUG #19095: Test if function exit() is used fail when linked static From: Daniel Gustafsson In-Reply-To: Date: Thu, 4 Dec 2025 00:33:55 +0100 Cc: Michael Paquier , Tom Lane , BharatDB , torsten.rupp@gmx.net, pgsql-bugs@lists.postgresql.org, byavuz81@gmail.com Content-Transfer-Encoding: quoted-printable Message-Id: <22D3D4EC-BCC3-4E52-B5A9-E1C6E363517B@yesql.se> References: <2305435.1762929527@sss.pgh.pa.us> <7C7B32ED-5742-49D5-9380-5E02AA5B03C4@yesql.se> <057A2AED-0116-446B-8986-57FDA70CA5A3@yesql.se> <483765ED-0490-4972-9769-4943716BE204@yesql.se> To: VASUKI M X-Mailer: Apple Mail (2.3776.700.51.11.2) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On 3 Dec 2025, at 12:59, VASUKI M wrote: > This is a refreshed version of the patch to unify the exit() reference = check > performed during libpq builds. Earlier versions had duplicated logic = between > the Makefile and Meson builds, while platform-specific details were = also split > between comments and build rules. Thanks for the update. This patch builds on previous patches posted in = the thread which makes it more complicated to review. Can you please post a = full squashed patch against master so we can be absolutely sure we are = looking at the tree in the same state that you are. -- Daniel Gustafsson