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: Thomas Munro <thomas.munro@gmail.com>
Cc: 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-18T14:23:32Z
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
Thomas Munro <thomas.munro@gmail.com> writes: > (Hmm, I think it's not that unreasonable on their part to assume the > initial environment is immutable if their implementation doesn't > mutate it, and our doing so is undeniably UB; surprising, maybe, given > that the technique works on that other popular brand of C library on > that kind of kernel, not to mention dozens of old Unixen of yore... Does their implementation also ignore the effects of putenv() or setenv() on LD_LIBRARY_PATH? They have no moral high ground whatsoever if that's the case. But if it doesn't, an alternative route to a solution could be to scan the original environment, strdup and putenv each entry to move it to freshly malloc'd space, and then reclaim the old environment area. regards, tom lane