[PATCH] Re: Changed shared library loading strategy on PPC, why?

Franz Sirl Franz.Sirl-kernel@lauterbach.com
Wed Jul 25 04:49:00 GMT 2001


At 13:42 25.07.2001, Andreas Jaeger wrote:
>Franz Sirl <Franz.Sirl-kernel@lauterbach.com> writes:
>
> > At 08:34 25.07.2001, Andreas Jaeger wrote:
> >>Olaf Hering <olh@suse.de> writes:
> >>
> >> > On Tue, Jul 24, Andreas Jaeger wrote:
> >> >
> >> >> Btw. Olaf is running a complete build of glibc and will tell the
> >> >> results later, but I'm convinced that this fixes the problems we
> >> >> encountered.
> >> >
> >> > I did a fresh build of binutils , glibc and rpm with the patch applied
> >> > and it works now.
> >>
> >>Since Geoff said previously for both patches:
> >>
> >> > Anyway, all the patches look fine to me.  It's only a heuristic,
> >> > it's known to break for various reasons, the important thing is that
> >> > it works most of the time.
> >>
> >>I'm going to commit this now since this version works better,
> >
> > Thanks. Is there a way to create a testcase for static binaries
> > accessing a shared lib?
>
>Just build a static binary that uses e.g. getpwuid.  Feel free to send
>patches,

I mean a selfcontained example without using any of the usual shared libs. 
It nakes me wonder such a testcase isn't already in glibc anyway. At which 
point did rpm fail? Opening the shared lib? Did the getpwuid return wrong 
results?

Franz.



More information about the Libc-alpha mailing list