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

Franz Sirl Franz.Sirl-kernel@lauterbach.com
Sat Aug 4 08:34:00 GMT 2001


On Wednesday 25 July 2001 13:42, 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,

Ok, here is a standalone testcase for this problem.

BTW, Jakub's gcc-3 patch is still missing in pre2.

Franz.

	* dlfcn/Makefile: Add new testcase tststatic.
	* dlfcn/tststatic.c: New testcase.
	* dlfcn/modstatic.c: Module code for tststatic.



More information about the Libc-alpha mailing list