Re: Regression tests fail with musl libc because libpq.so can't be loaded
Bruce Momjian <bruce@momjian.us>
From: Bruce Momjian <bruce@momjian.us>
To: Thomas Munro <thomas.munro@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Christophe Pettus <xof@thebuild.com>, Andrew Dunstan <andrew@dunslane.net>, Wolfgang Walther <walther@technowledgy.de>, PostgreSQL Bugs <pgsql-bugs@lists.postgresql.org>
Date: 2024-03-20T01:27:23Z
Lists: pgsql-bugs, pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Allow "make check"-style testing to work with musl C library.
- d82605bcd666 14.12 landed
- 8a92b70c11ba 17.0 landed
- 7651fd387697 16.3 landed
- 7124e7d528a8 12.19 landed
- 3c3f4fd741d0 15.7 landed
- 243e9953281f 13.15 landed
-
Fix compiler warnings on MSYS2
- 8c6d30f21139 13.0 cited
On Wed, Mar 20, 2024 at 02:12:54PM +1300, Thomas Munro wrote: > On Wed, Mar 20, 2024 at 12:54 PM Bruce Momjian <bruce@momjian.us> wrote: > > So this would truncate the process title on all Linux that have an LD_ > > environment entry, even those without musl? > > Yep. How long is /proc/XXX/cmdline (check with wc -c /proc/...) in a > postmaster near you? You'd always get that much, plus as much of $ cat /proc/2000/cmdline |wc -c 30 > /proc/XXX/environ as we can find before you reach LD_XXX=, which on a > typical system would, I guess, usually be never. If it's a problem > you could try to arrange for LD_ XXX to come later in environ[]. What > I observe is that they seem to get copied in backwards, wrt the > environment exported by the parent, so if you set DUMMY=XXXXXXXX just > before starting the process it'll make sacrificial space in the right > place (but I'm not sure where that effect is coming from so don't > quote me). I am just cautious about changing behavior on our most common platform for a libc library I have never heard of. -- Bruce Momjian <bruce@momjian.us> https://momjian.us EDB https://enterprisedb.com Only you can decide what is important to you.