On Wed, Apr 28, 2021 at 7:40 AM Bruno Haible <br...@clisp.org> wrote: > So, in the normal cases (link with '-lpthread', link without '-lpthread', > and even with dlopen()), everything will work fine. The only problematic > case thus is the the use of LD_PRELOAD. Right? > > I think few packages in a distro will be affected. And few users are > using LD_PRELOAD on their own, because since the time when glibc > started to use 'internal' calls to system calls where possible, there > are not a lot of uses of LD_PRELOAD that still work.
One important use of LD_PRELOAD is for the "fakeroot" program that Debian and derived distributions tend to use to build packages. I haven't followed along carefully enough to know whether this is likely to cause problems for what we're talking about now.