Re: Regression tests fail with musl libc because libpq.so can't be loaded
Thomas Munro <thomas.munro@gmail.com>
From: Thomas Munro <thomas.munro@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
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-18T22:48:50Z
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
Attachments
- v2-0001-Don-t-clobber-LD_-environment-variables.patch (application/octet-stream) patch v2-0001
On Tue, Mar 19, 2024 at 10:17 AM Thomas Munro <thomas.munro@gmail.com> wrote: > ... (though my patch could be a little sneakier and steal > all the bytes right up to the = sign to get more space for our > message!). Here's one like that. No musl here -- does this work Wolfgang? Do we think it's generous enough with space in practice that we could just always do this for __linux__ systems without anyone noticing (ie including glibc users)? Should we be more specific about which LD_* variables? Do people not doing hacking/testing ever really set those, eg on production servers? This code path was once used by up to a dozen or so OSes but they're all dead, only Linux, Solaris and macOS left, and I don't have any reason to think they suffer from this problem and Macs don't even follow the SysV LD_ naming convention, hence gating on Linux.