This is the mail archive of the
mailing list for the glibc project.
Re: ready for 2.3?
- From: Marcus Brinkmann <Marcus dot Brinkmann at ruhr-uni-bochum dot de>
- To: libc-alpha at sources dot redhat dot com
- Date: Mon, 30 Sep 2002 19:21:19 +0200
- Subject: Re: ready for 2.3?
On Mon, Sep 30, 2002 at 10:14:22AM -0700, Ulrich Drepper wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> Marcus Brinkmann wrote:
> > and spent the whole last week on compiling glibc
> > 'gain and again until I got the overzealous hidden symbols digged out of
> > their hiding place. A couple of other fixes are already committed by
> > Roland in the last days.
> Why overzealous? Why do you need to call implementations outside the libc?
I am not sure I understand the last question. But the ld.so in the Hurd
needs to get the glibc definitions of __libc_read, __libc_write, __xstat64,
__fxstat64, __getpid etc to make dlopen work properly at runtime. The full
list of shared functions is in sysdeps/mach/hurd/Versions. Making them
hidden prototypes causes them to not get a PLT entry in ld.so, which breaks
stuff (because the minimal implementation in sysdeps/mach/hurd/dl-sysdeps.c
is called instead the glibc definition).
After I got the PLT entries in ld.so, and made sure that the glibc functions
where exported under their real name (and not __GI_ prefixed), everything
worked as expected. dlopen (and thus nss) works again.
`Rhubarb is no Egyptian god.' GNU http://www.gnu.org email@example.com
Marcus Brinkmann The Hurd http://www.gnu.org/software/hurd/