Subject: Re: 1.5R botched ld.elf_so ?
To: None <>
From: john heasley <>
List: current-users
Date: 04/09/2001 21:29:06
Tue, Jan 30, 2001 at 12:31:01PM -0800, john heasley:
> i have built 1.5R on a sparc (ss20 ross 125mhz) running 1.5q, but
> once installed everthing (touch, grep, ..) either gets segv or
> busE and dumps core.
> here's a stack trace for touch (built w/ symbols); the addresses
> seem way out of range.

i'm still having trouble with ld.elf_so (on sparc), with 1.5T source
from ~last friday.  all dynamically linked executables core dump.  any
clues to as to what might cause what would appear to be an error in
relocation?  does anyone else have this problem?

# ktrace tail
pid 23324 (tail), uid 0: exited on signal 11 (core dumped)
Segmentation fault (core dumped)

# kdump
 23324 ktrace   EMUL  "netbsd"
 23324 ktrace   RET   ktrace 0
 23324 ktrace   CALL  execve(0xeffff777,0xeffff6a8,0xeffff6b0)
 23324 ktrace   NAMI  "/usr/bin/tail"
 23324 ktrace   NAMI  "/usr/libexec/ld.elf_so"
 23324 tail     EMUL  "netbsd"
 23324 tail     RET   execve JUSTRETURN
 23324 tail     PSIG  SIGSEGV SIG_DFL
 23324 tail     NAMI  "tail.core"

> if i replace ld.elf_so with 1.5q version from the snapshot, everything
> works.  i also tried to rebuild ld.elf_so separate from the dist, but
> while this produces a .so different from that of 'make build', it fails
> in the same fashion.
> what am i doing wrong? 
> tia.