Re: Regression tests fail with musl libc because libpq.so can't be loaded
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Eisentraut <peter@eisentraut.org>
Cc: Thomas Munro <thomas.munro@gmail.com>, Bruce Momjian <bruce@momjian.us>,
walther@technowledgy.de, Christophe Pettus <xof@thebuild.com>,
Andrew Dunstan <andrew@dunslane.net>,
PostgreSQL Bugs <pgsql-bugs@lists.postgresql.org>,
Robert Haas <robertmhaas@gmail.com>
Date: 2024-03-26T15:45:55Z
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
Peter Eisentraut <peter@eisentraut.org> writes: > On 26.03.24 00:43, Tom Lane wrote: >> I looked at the musl source code you identified and confirmed that >> only the LD_LIBRARY_PATH string is remembered in a static variable; >> LD_PRELOAD is only accessed locally in that initialization function. >> So we only need to do the attached. (I failed to resist the >> temptation to rewrite the comments.) > Yeah, I was more looking for a comment for posterity for *why* we need > to preserve this variable in particular. The updated comment looks > reasonable. OK, pushed after a bit more comment-fiddling. regards, tom lane