NetBSD Problem Report #6352

Received: (qmail 22206 invoked from network); 24 Oct 1998 13:06:30 -0000
Message-Id: <199810241306.PAA18658@di-frueauf.informatik.uni-karlsruhe.de>
Date: Sat, 24 Oct 1998 15:06:29 +0200 (MEST)
From: frueauf@ira.uka.de
Reply-To: frueauf@ira.uka.de
To: gnats-bugs@gnats.netbsd.org
Subject: libgnumalloc.so.0.0 broken if build with current egcs for m68k
X-Send-Pr-Version: 3.95

>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
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 24 06:20:00 +0000 1998
>Closed-Date:    Mon Nov 30 21:14:24 +0000 1998
>Last-Modified:  Mon Nov 30 21:18:29 +0000 1998
>Originator:     Thorsten Frueauf
>Release:        <NetBSD-current source date> NetBSD current suped from 20.10.98
>Organization:
private
>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.
>Release-Note:
>Audit-Trail:

From: Erik Bertelsen <erik@mediator.uni-c.dk>
To: frueauf@ira.uka.de
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: port-m68k/6352: libgnumalloc.so.0.0 broken if build with current egcs for m68k
Date: Sat, 24 Oct 1998 22:14:14 +0200

 On Sat, Oct 24, 1998 at 03:06:29PM +0200, frueauf@ira.uka.de wrote:
 > 
 > 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

 I've reported this on the tech-toolchain mailing list for mac68k.

 If you compile combined.c with -O0, i.e. without optimization, it seems
 to work.

 My symptoms for this problem have been either cpubound loops or (more recently)
 'fatal signal' as shown above.

 - Erik
State-Changed-From-To: open->closed 
State-Changed-By: frueauf 
State-Changed-When: Mon Nov 30 13:14:24 PST 1998 
State-Changed-Why:  
The recent change to src/gnu/dist/gcc/global.c fixed the problem. 
>Unformatted:
 libgnumalloc.so.0.0 broken if build with current egcs for m68k

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.