Subject: port-m68k/6352: libgnumalloc.so.0.0 broken if build with current egcs for m68k
To: None <gnats-bugs@gnats.netbsd.org>
From: None <frueauf@ira.uka.de>
List: netbsd-bugs
Date: 10/24/1998 15:06:29
>Number:         6352
>Category:       port-m68k
>Synopsis:       libgnumalloc.so.0.0 broken if build with current egcs for m68k
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 24 06:20:00 1998
>Last-Modified:
>Originator:     Thorsten Frueauf
>Organization:
private
>Release:        <NetBSD-current source date> NetBSD current suped from 20.10.98
>Environment:
	
System: NetBSD di-frueauf 1.3H NetBSD 1.3H (CYBERDYNE-UVM) #3: Wed Oct 21 15:44:30 MEST 1998 milano@di-frueauf:/usr/src/sys/arch/amiga/compile/CYBERDYNE-UVM amiga


>Description:
	
I build the current egcs on my amiga (gcc version egcs-2.91.57 19980901
(egcs-1.1 release)) and a `make build` from /src stopped at:

[...]
depend ===> bin
depend ===> bin/cat
mkdep -a /usr/src/bin/cat/cat.c
cc: Internal compiler error: program cpp got fatal signal 11

So this was after /src/gnu/lib/* got installed. After I restored an old
/usr/lib/libgnumalloc.so.0.0 the compiler worked again.

There seems to be a serious codegen bug when building libgnumalloc
which breaks gcc. I rebuild the malloc lib with -O2 and -O - same
effect.

>How-To-Repeat:
	
Build and install /src/gnu/lib/malloc on a current m68k system (in my
case amiga) with current egcs and watch it break afterwards.

>Fix:
	
No idea, sorry.
>Audit-Trail:
>Unformatted:
libgnumalloc.so.0.0 broken if build with current egcs for m68k