From: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
---|---|
To: | Christophe Pettus <xof(at)thebuild(dot)com> |
Cc: | Wolfgang Walther <walther(at)technowledgy(dot)de>, Thomas Munro <thomas(dot)munro(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Bugs <pgsql-bugs(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Regression tests fail with musl libc because libpq.so can't be loaded |
Date: | 2024-03-17 20:33:40 |
Message-ID: | CAD5tBcLWM+QT0+VKWUHiBX2Ey5eCc8jVL5APb1U5iaePV_eAvg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs pgsql-hackers |
On Sun, Mar 17, 2024 at 11:45 AM Christophe Pettus <xof(at)thebuild(dot)com> wrote:
>
>
> > On Mar 17, 2024, at 06:11, Wolfgang Walther <walther(at)technowledgy(dot)de>
> wrote:
> > The missing macro is on purpose and unlikely to change:
> https://openwall.com/lists/musl/2013/03/29/13
>
> Indeed.
>
That seems a little shortsighted. If other libc implementations find it
appropriate to have similar macros why should they be different?
> > I also found this thread, which discusses exactly our case:
> https://www.openwall.com/lists/musl/2022/08/17/1
>
> While getting proper setproctitle functionality on musl would be great, my
> goal was more modest: Have it correctly set PS_USE_NONE when compiling
> against musl.
>
One simple thing might be for us to enclose the block in ps_status.c at
lines 49-59 in #ifndef PS_USE_NONE/#endif. Then you could compile with
-DPS_USE_NONE in your CPPFLAGS.
cheers
andrew
From | Date | Subject | |
---|---|---|---|
Next Message | Christophe Pettus | 2024-03-17 21:05:54 | Re: Regression tests fail with musl libc because libpq.so can't be loaded |
Previous Message | Christophe Pettus | 2024-03-17 15:44:45 | Re: Regression tests fail with musl libc because libpq.so can't be loaded |
From | Date | Subject | |
---|---|---|---|
Next Message | David Rowley | 2024-03-17 20:56:32 | Re: Popcount optimization using AVX512 |
Previous Message | Dmitry Dolgov | 2024-03-17 20:02:08 | Re: broken JIT support on Fedora 40 |