Subject: bin/3108: building standard xxx library dumps core when invoking join
To: None <gnats-bugs@gnats.netbsd.org>
From: None <frueauf@ira.uka.de>
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
>Last-Modified:
>Originator:     Thorsten Frueauf
>Organization:
private
>Release:        <NetBSD-current source date> NetBSD current 13.01.1997
>Environment:
	
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

HP9000/400T:
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

>Description:
	
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
d/trad-core.c
building standard bfd library
Segmentation fault - core dumped
ranlib libbfd.a

or:
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.
c
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.

>How-To-Repeat:
	
Try to build the current tree on an m68k machine.

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