Subject: 1.5R botched ld.elf_so ?
To: None <current-users@netbsd.org>
From: john heasley <heas@shrubbery.net>
List: current-users
Date: 01/30/2001 12:31:01
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.

% ./touch foo
Segmentation fault (core dumped)
% gdb -c touch.core touch
GNU gdb 4.17
This GDB was configured as "sparc--netbsd"...
Core was generated by `touch'.
Program terminated with signal 11, Segmentation fault.
#0  0x100252b4 in ?? ()
(gdb) whe
#0  0x100252b4 in ?? ()
#1  0x10025820 in ?? ()
#2  0x100257ec in ?? ()
#3  0x100276c8 in ?? ()
#4  0x1002779c in ?? ()
#5  0x10027460 in ?? ()
#6  0x100237cc in ?? ()
#7  0x10023a20 in ?? ()

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.