| From: | Daniel Gustafsson <daniel(at)yesql(dot)se> |
|---|---|
| To: | Michael Paquier <michael(at)paquier(dot)xyz> |
| Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, BharatDB <bharatdbpg(at)gmail(dot)com>, torsten(dot)rupp(at)gmx(dot)net, pgsql-bugs(at)lists(dot)postgresql(dot)org, VASUKI M <vasukim1992002(at)gmail(dot)com> |
| Subject: | Re: BUG #19095: Test if function exit() is used fail when linked static |
| Date: | 2025-11-14 12:11:15 |
| Message-ID: | 057A2AED-0116-446B-8986-57FDA70CA5A3@yesql.se |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs pgsql-hackers |
> On 12 Nov 2025, at 09:15, Michael Paquier <michael(at)paquier(dot)xyz> wrote:
>
> On Wed, Nov 12, 2025 at 09:13:09AM +0100, Daniel Gustafsson wrote:
>> On 12 Nov 2025, at 07:38, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>>> Personally I'm okay with whitelisting pthread_exit() as
>>> Torsten suggested.
>>
>> +1, we already have a few whitelisted entries and pthread_exit seems perfectly
>> reasonable to add to that list.
>
> WFM.
The attached trivial diff adds this to the whitelist clause in the Makefile. I
experimented with adding this to Meson, and while it's trivial enough to do the
run_command with libpq_so.full_path, it's less clear to me exactly where in the
build it should be added. I've pinged my colleague Bilal who is much better at
Meson than me to collaborate on that as a separate fix.
--
Daniel Gustafsson
| Attachment | Content-Type | Size |
|---|---|---|
| pthread_exit_whitelist.diff | application/octet-stream | 629 bytes |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Andres Freund | 2025-11-14 14:01:06 | Re: BUG #19095: Test if function exit() is used fail when linked static |
| Previous Message | Horimoto Yasuhiro | 2025-11-14 09:32:03 | Re: postgresql16-contrib-16.11-1PGDG.rhel9.x86_64 fails to install on Rocky9 due to OPENSSSL version mismatch (not available) |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Andrey Borodin | 2025-11-14 12:11:50 | Re: IPC/MultixactCreation on the Standby server |
| Previous Message | Daniel Gustafsson | 2025-11-14 11:53:41 | Re: [Patch] Mention md5 is deprecated in postgresql.conf.sample |