Subject: bin/18262: ld.elf_so failures
To: None <gnats-bugs@gnats.netbsd.org>
From: None <rquinn@sec.sprint.net>
List: netbsd-bugs
Date: 09/11/2002 03:32:59
>Number: 18262
>Category: bin
>Synopsis: ld.elf_so failures
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Sep 11 03:33:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Rob Quinn
>Release: 1.6H - current, i386 and sparc
>Organization:
>Environment:
NetBSD strike.sec.sprint.net 1.6H NetBSD 1.6H (STRIKE) #186: Wed Sep 11 05:52:38 EDT 2002 rquinn@strike.sec.sprint.net:/usr/obj/STRIKE i386
NetBSD struck.sec.sprint.net 1.6H NetBSD 1.6H (STRUCK) #10: Mon Sep 9 10:02:05 EDT 2002 root@struck.sec.sprint.net:/usr/obj/STRUCK sparc
>Description:
Many programs core dump after latest build. Here's the latest build itself core dumping, right after it installed ld.elf_so:
strike:/usr/src #./build.sh -u -o
[...]
/usr/obj/tooldir/bin/i386--netbsdelf-gcc -fpic -DELFSIZE=32 -DLIBDIR=\"/usr/li
b\" -D_PATH_RTLD=\"/usr/libexec/ld.elf_so\" -I/usr/src/libexec/ld.elf_so -DRTLD_
LOADER -D_RTLD_SOURCE -nostdinc -isystem /usr/include -c -traditional-cpp /usr/
src/libexec/ld.elf_so/arch/i386/rtld_start.S
/usr/obj/tooldir/bin/i386--netbsdelf-gcc -O3 -Wall -Wstrict-prototypes -Wmissin
g-prototypes -Wpointer-arith -Wno-uninitialized -Werror -fpic -DELFSIZE=32 -DL
IBDIR=\"/usr/lib\" -D_PATH_RTLD=\"/usr/libexec/ld.elf_so\" -I/usr/src/libexec/ld
.elf_so -DRTLD_LOADER -D_RTLD_SOURCE -nostdinc -isystem /usr/include -c /usr/sr
c/libexec/ld.elf_so/arch/i386/mdreloc.c
/usr/obj/tooldir/bin/i386--netbsdelf-ld -Bshareable -Bsymbolic -e .rtld_start -
-script /usr/src/libexec/ld.elf_so/arch/i386/ld.so.script -o ld.elf_so rtld_star
t.o mdreloc.o rtld.o reloc.o symbol.o malloc.o xmalloc.o xprintf.o debug.o map_o
bject.o load.o search.o headers.o paths.o -L/usr/obj/usr/src/lib/libc -L/usr/lib
-non_shared -lc_pic
PATH=/usr/obj/tooldir/lib/groff:${PATH} /usr/obj/tooldir/bin/nbgroff -Tascii -mt
ty-char -mandoc /usr/src/libexec/ld.elf_so/ld.elf_so.1 > ld.elf_so.cat1.tmp &&
mv ld.elf_so.cat1.tmp ld.elf_so.cat1
(cd /usr/src/libexec/ld.elf_so && /usr/obj/tooldir/bin/nbmake install)
STRIP=/usr/obj/tooldir/bin/i386--netbsdelf-strip /usr/obj/tooldir/bin/nbinstall
-c -p -r -o root -g wheel -m 555 ld.elf_so /usr/libexec/ld.elf_so
Segmentation fault - core dumped
STRIP=/usr/obj/tooldir/bin/i386--netbsdelf-strip /usr/obj/tooldir/bin/nbinstall
-c -p -r -o root -g wheel -m 444 /usr/src/libexec/ld.elf_so/ld.elf_so.1 /usr/s
hare/man/man1/ld.elf_so.1
Segmentation fault - core dumped
*** Error code 139
Stop.
nbmake: stopped in /usr/src/libexec/ld.elf_so
*** Error code 1
Stop.
nbmake: stopped in /usr/src
*** Error code 1
Stop.
nbmake: stopped in /usr/src
>How-To-Repeat:
Install latest -current sources.
>Fix:
Roll back to an old /usr/libexec/ld.elf_so.
>Release-Note:
>Audit-Trail:
>Unformatted: