2.1.127-pre1 - ld-linux.so.2 dumps core

Joel D. Elkins (jde@binarts.com)
Mon, 02 Nov 1998 01:11:51 -0500


ldd, aka "ld-linux.so.2 --verify", seems to drop core on two boxes (one
SMP one UP) I have with 2.1.127-pre1 using RedHat's latest idea of glibc
(glibc-2.0.7-19.i386.rpm). Also tried stock 2.0.7pre6 with same result.
Same result even with glibc-2.0.99. I've tried all variations of
compilers including egcs-1.1b, pgcc-1.1a, and gcc-2.7.2.3 (kernel build
with the last).

Even an attempt to rebuild glibc fails under this kernel, because at one
point it runs the newly built ld.so -- which naturally dumps core.

Perhaps it's fixed in the newer 127-pre's, but not tested by me because
I rgooch hasn't released devfs patches for them. Oh yeah, devfs is the
only patch I have applied to these kernels.

Here's an ultra informative strace:

10[jde@misery ~]Z% strace /lib/ld-linux.so.2 --verify /usr/bin/vim
execve("/lib/ld-linux.so.2", ["/lib/ld-linux.so.2", "--verify",
"/usr/bin/vim"], [/* 45 vars */]) = 0
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++

Cheers!
/jde/

-- 
Joel D. Elkins N5USU

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/