From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jakub Jelinek To: Andreas Jaeger Cc: GNU libc hacker Subject: Re: New ldconfig Date: Tue, 23 Nov 1999 04:31:00 -0000 Message-id: <19991123133240.K515@mff.cuni.cz> References: <19991123130904.J515@mff.cuni.cz> X-SW-Source: 1999-11/msg00016.html On Tue, Nov 23, 1999 at 01:20:39PM +0100, Andreas Jaeger wrote: > >>>>> Jakub Jelinek writes: > > Jakub> On Tue, Nov 23, 1999 at 12:37:55PM +0100, Andreas Jaeger wrote: > >> > >> I've written a new ldconfig which I'll place under the GPL and like to > >> get added to glibc. ldconfig should be compatible with the current > >> ldconfig, but is missing some (IMHO not needed) options. It has been > >> successfully tested on ix86, powerpc and alpha. > >> > >> The program parses libraries of the same endianness and wordsize as > >> it's compiled for. It currently can not handle 32 and 64 bit > >> libraries simultaneously (if compiled on a 64 bit platform, it parses > >> only 64bit libraries). Is this needed anywhere? > > Jakub> Yes. On sparc and I assume on ia64 as well. > > :-( > > Just for clarification: Do you use the same dynamic linker to load 32 > and 64 bit libraries? It seems that you use 0x103 as cache id for 64 > bit libraries, is this right? Are all 64 bit libraries of this type? No, I use a different dynamic linker (/lib/ld-linux.so.2 x /lib64/ld-linux.so.2) but I use the same /etc/ld.so.cache and ld.so.conf. With the cache ids, I use any cache id | 0x100 for 64bit libraries. > > Jakub> BTW: What was the reason not to integrate H.J.'s latest ldconfig, which > Jakub> already does a few things this ldconfig does not (in addition to 32/64 > Jakub> handling it e.g. removes duplicates etc.)? > > Copyright. Ulrich said a long time ago that he can't accept David's > ldconfig because of copyright problems - and HJ's is AFAIK derived > from David's. Ok, fine. I thought it will be like that. So I'll sit now and hack in the 32/64bit support again and duplicates removal as well. Will get back to you with an updated version soon. Cheers, Jakub ___________________________________________________________________ Jakub Jelinek | jakub@redhat.com | http://sunsite.mff.cuni.cz/~jj Linux version 2.3.18 on a sparc64 machine (1343.49 BogoMips) ___________________________________________________________________