Re: shadowing libc



Behdad Esfahbod wrote:
> > LD_PRELOAD works only on glibc systems, on Solaris, and - under a
> > different name - on Tru64. Not on the many other platforms that GNOME
> > runs on.
>
> We don't care /that much/ about other systems.  The main concern
> other than Linux and Windows have been Solaris.

LD_PRELOAD doesn't exist on Windows. And on Linux, it can be a big hassle
to use it: The section "GLIBC" in the plasticfs-1.9/BUILDING file in
http://plasticfs.sourceforge.net/ is frightening. It implies that in order
to use LD_PRELOAD with glibc in some situations, it is required to rebuild
glibc with a particular configure option and use the rebuilt glibc inside
LD_PRELOAD as well. Thus basically libc gets loaded twice by every program.

> What LD_PRELOAD buys is uniformity of locale data on the Linux platform

Yes, but if it's too much of a hassle to use, it doesn't help us.

Bruno




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]