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]
Other format: [Raw text]

Re: 2.2.92 on i386-pc-linux-gnu


On Tue, Sep 03, 2002 at 12:46:31AM -0700, Ulrich Drepper wrote:

> >ldconfig seems broken in search_dirs, and leaves me with a 64 byte
> >/etc/ld.so.cache.  I'm using my old ldconfig in the meantime and it
> >appears to be working fine.

> I'm not able to reproduce this.  ldconfig seems to work fine on lots
> of systems we have here running glibc 2.2.91+.  Could you look at
> it?  Maybe at least run strace.

Will do.  Given that we only see it on i386 (Jack Howarth doesn't
appear to see the problem on Debian-ppc), it also might be a
miscompile of some sort.  The straces diverge as follows:

(Old working one):

open("/usr/X11R6/lib", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
brk(0x80b0000)                          = 0x80b0000
getdents64(0x3, 0x80adfa0, 0x1000, 0x80ace6c) = 3736
open("/usr/X11R6/lib/libSM.so.6.0", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=31252, ...}) = 0

(New non-working one):

open("/usr/X11R6/lib", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
getdents64(0x3, 0x80b2998, 0x1000, 0x80b17a0) = 3736
close(3)                                = 0

I'll look at this more after work tonight.

Tks,
Jeff Bailey

-- 
At last you cry out in anguish: "Why me?"
God answers: "Why not?"
 - Sheldon Kopp


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