Re: BUG #19095: Test if function exit() is used fail when linked static

Daniel Gustafsson <daniel@yesql.se>

From: Daniel Gustafsson <daniel@yesql.se>
To: VASUKI M <vasukim1992002@gmail.com>
Cc: Michael Paquier <michael@paquier.xyz>, Tom Lane <tgl@sss.pgh.pa.us>, BharatDB <bharatdbpg@gmail.com>, torsten.rupp@gmx.net, pgsql-bugs@lists.postgresql.org, byavuz81@gmail.com
Date: 2025-12-03T23:33:55Z
Lists: pgsql-bugs, pgsql-hackers
> On 3 Dec 2025, at 12:59, VASUKI M <vasukim1992002@gmail.com> 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