NetBSD Problem Report #11195

Received: (qmail 11140 invoked from network); 11 Oct 2000 19:02:46 -0000
Message-Id: <>
Date: Wed, 11 Oct 2000 21:01:49 +0200 (MEST)
Subject: m68k internal compiler error compiling tcl-8.3.2
X-Send-Pr-Version: 3.95

>Number:         11195
>Category:       port-m68k
>Synopsis:       m68k internal compiler error on tcl-8.3.2
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-m68k-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 11 19:03:00 +0000 2000
>Closed-Date:    Fri Feb 08 23:09:57 +0000 2002
>Last-Modified:  Fri Feb 08 23:09:57 +0000 2002
>Originator:     Ignatios Souvatzis
>Release:        1.5_ALPHA2
	just a humble port maintainer
System: NetBSD jocelyn 1.5B NetBSD 1.5B (ISDN20) #3: Wed Aug 30 21:28:46 MEST 2000 is@jocelyn:/build2/i4b/ISDN20 amiga

But only the kernel is 1.5B. Base system is 1.5_ALPHA2 as of end-September.
gcc is:

Using builtin specs.
gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)

Compiling tcl as in the pkg system of today results in an internal compiler
jocelyn tcl !% cd /usr/pkgsrc/net/tcl; make
===> Building for tcl-8.3.2
rm -f .libs/tclExecute.lo
./../generic/tclExecute.c: In function `TclExecuteByteCode':
./../generic/tclExecute.c:2920: internal error--unrecognizable insn:
(insn 8723 11842 8725 (parallel[ 
            (set (reg:SI 1477)
                (div:SI (mem:SI (reg:SI 1952))
                    (mem:SI (reg:SI 1961))))
            (set (reg:SI 1478)
                (mod:SI (mem:SI (reg:SI 1954))
                    (mem:SI (reg:SI 1963))))
        ] ) -1 (insn_list 11824 (insn_list 11827 (insn_list 11839 (insn_list 11842 (nil)))))
    (expr_list:REG_DEAD (reg:SI 1954)
        (expr_list:REG_DEAD (reg:SI 1963)
            (expr_list:REG_DEAD (reg:SI 1952)
                (expr_list:REG_DEAD (reg:SI 1961)
                    (expr_list:REG_UNUSED (reg:SI 1478)
/usr/local/netbsdwork/src/gnu/usr.bin/egcs/common/../../../dist/gcc/toplev.c:1367: Internal compiler error in function fatal_insn
*** Error code 1



From: Ignatios Souvatzis <>
Subject: port-m68k/11195
Date: Thu, 12 Oct 2000 00:05:29 +0200

 I found a workaround:

 force the tcl pkg to use -O2 (like all the system build) instead of -O.

State-Changed-From-To: open->feedback 
State-Changed-By: fair 
State-Changed-When: Sat Feb 2 13:23:22 PST 2002 
Two questions: 

1. NetBSD has updated its toolchain; does this still happen? 

2. If it does still happen, isn't this more properly worked-around 
in the pkgsrc (which would make this a "pkg" category PR)? 

State-Changed-From-To: feedback->closed 
State-Changed-By: scw 
State-Changed-When: Fri Feb 8 23:06:07 GMT 2002 

I've done a test-build of the tcl package using new-toolchain on 
mvme68k without problem. 

Looks like it's an `old' toolchain issue only, and therefore can 
be closed. 

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.