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

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Bilal Yavuz <byavuz81@gmail.com>
Cc: VASUKI M <vasukim1992002@gmail.com>, Peter Eisentraut <peter@eisentraut.org>, Daniel Gustafsson <daniel@yesql.se>, Tom Lane <tgl@sss.pgh.pa.us>, BharatDB <bharatdbpg@gmail.com>, torsten.rupp@gmx.net, pgsql-bugs@lists.postgresql.org
Date: 2025-12-10T05:14:23Z
Lists: pgsql-bugs, pgsql-hackers
On Wed, Dec 10, 2025 at 08:11:37AM +0900, Michael Paquier wrote:
> On Tue, Dec 09, 2025 at 03:47:13PM +0300, Bilal Yavuz wrote:
>> I agree with both of you. We do the same thing for 'ZIC' binary, so I
>> think putting it to pgxs_empty is the correct fix.
> 
> Thanks for double-checking.  I was not 100% sure if my analysis was
> completely right as I was looking at this file for the first time.

On top of the rest, I have double-checked the buildfarm and things
seem fine with 4a8e6f43a6b5, so the last piece about pthread_exit() is
now done with 8268e66ac64c.
--
Michael