Subject: make core dumps on sparc
To: None <port-sparc@NetBSD.ORG>
From: Erik E. Fair <fair@clock.org>
List: port-sparc
Date: 09/25/1997 04:19:54
trying to set up my build systems for a clean build of the whole tree today
(after the 04:30 PDT tree commit), and I ran "make cleandir" in /usr/src on
the sparc. And make died. I built a debug-symbol version of make, and got
this after death again:

[...]
===> lib/csu/c++
rm -f a.out [Ee]rrs mklog core *.core   c++rt0.o
Segmentation fault - core dumped
*** Error code 139
% pwd
/usr/src/lib/csu/c++
% gdb /usr/bin/make make.core
[...]
Core was generated by `make'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/libexec/ld.so...done.
Reading symbols from /usr/lib/libc.so.12.17...done.
#0  0x1009480c in free ()
(gdb) bt
#0  0x1009480c in free ()
#1  0x19a48 in Lst_Destroy (l=0x231a0, freeProc=0x1e094 <_DYNAMIC+148>)
    at /usr/src/usr.bin/make/lst.lib/lstDestroy.c:98
#2  0x12390 in Parse_End () at parse.c:2565
#3  0xdd80 in main (argc=0, argv=0xeffff684) at main.c:821

It's late and I'm just a touch tired to deal with this now, but I toss this
out to you all in case someone might want to take a poke at it before I
wake up again.

	Erik <fair@clock.org>