Subject: bin/3108: building standard xxx library dumps core when invoking join
To: None <>
From: None <>
List: netbsd-bugs
Date: 01/14/1997 23:27:51
>Number:         3108
>Category:       bin
>Synopsis:       building standard xxx library dumps core when invoking join
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 14 16:35:00 1997
>Originator:     Thorsten Frueauf
>Release:        <NetBSD-current source date> NetBSD current 13.01.1997
Amiga 3000:
System: NetBSD di_frueauf 1.2B NetBSD 1.2B (CYBERDYNE) #0: Fri Dec 27 17:50:15 UCT 1996 milano@di_frueauf:/usr/src/sys/arch/amiga/compile/CYBERDYNE amiga

NetBSD cybersil 1.2B NetBSD 1.2B (Milano) #0: Fri Jan 10 19:20:54 MET 1997     milano@cybersil:/usr/src/sys/arch/hp300/compile/Milano hp300

Toshiba Tecra 500CDT:
NetBSD cyberlap 1.2B NetBSD 1.2B (CYBERLAP) #1: Tue Jan 14 14:20:19 CET 1997     frueauf@cyberlap:/usr/src/sys/arch/i386/compile/CYBERLAP i386

Normaly I log when I build the new sources after integration and check for
targets which did not build. This time I found some segmanetation faults
in the /src/gnu/* every time a standard xxx library was build, e.g.:

===> gdb/bfd
cc -O -I/usr/src/gnu/usr.bin/gdb/bfd/arch/m68k -I/usr/src/gnu/usr.bin/gdb/bfd  -
I/usr/src/gnu/usr.bin/gdb/bfd/../include -Werror  -c /usr/src/gnu/usr.bin/gdb/bf
building standard bfd library
Segmentation fault - core dumped
ranlib libbfd.a

cc -O -I/usr/src/gnu/libexec/uucp/libunix/../common_sources  -DOWNER=\"uucp\" -D
SBINDIR=\"/usr/libexec/uucp\" -Werror  -c /usr/src/gnu/libexec/uucp/libunix/tcp.
building standard unix library
nm: cohtty.o: no name list
Segmentation fault - core dumped
ranlib libunix.a

Strange enough that make does not fail with Error. I found a join.core in each
of those dirs:

-rw-------  1 root  wheel  237924 Jan 14 22:51 join.core
Program terminated with signal 11, Segmentation fault.
#0  0x326c in ?? ()

This happens on hp300, amiga and i386. I tryed to rebuild join, but this did
not change anything. I also tryed to `make cleandir` in the above dirs -
no change.

Try to build the current tree on an m68k machine.

No idea, sorry. :-( Maybe this came with the lite2 integration.
building standard xxx library dumps core when invoking join