This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


Franz Sirl <Franz.Sirl-kernel@lauterbach.com> writes:

> 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?

rpm failed mmapping libnss_files.so and therefore getpwuid failed,

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]