Subject: Re: Internal compiler error in function fatal_insn
To: None <port-macppc@netbsd.org>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: tech-toolchain
Date: 03/21/2000 08:38:05
(Cc'ed tech-toolchain)

In <Pine.NEB.4.21.0003201224580.24512-100000@woffi.planix.com>
andreas@planix.com wrote:

> I have NetBSD-current 1.4P (Jan 14) on a PowerBook G3/400 and I am
> trying to do a 'make build' to get -current again. I can successfully
> build and boot a new (1.4U/March 16) kernel, but 'make build' fails
> with and 'Internal compiler error..' in  /usr/src/crypto-us/lib/libcrypto:
> 
> /usr/src/crypto-us/lib/libcrypto/../../dist/openssl/crypto/des/fcrypt_b.c: In function `fcrypt_body':
> /usr/src/crypto-us/lib/libcrypto/../../dist/openssl/crypto/des/fcrypt_b.c:144: internal error--insn does not satisfy its constraints:
> (insn 2973 2062 2975 (set (reg:SI 14 r14)
>         (unspec[ 
>                 (symbol_ref:SI ("des_SPtrans"))
>                 (reg:SI 65 lr)
>             ]  8)) 398 {*movsi_got_internal} (nil)
>     (nil))
> /usr/src/gnu/usr.bin/egcs/common/../../../dist/gcc/toplev.c:1367: Internal compiler error in function fatal_insn
> *** Error code 1
> 
> Stop.
> *** Error code 1

I got the similar error on arm32 with CFLAGS="-O2 -mcpu=strongarm"
in src/usr.sbin/pwd_mkdb:

dependall ===> usr.sbin/pwd_mkdb
mkdep -a  -I/usr/src/usr.sbin/pwd_mkdb/../../lib/libc/include \
-D__DBINTERFACE_PRIVATE /usr/src/usr.sbin/pwd_mkdb/pwd_mkdb.c \
/usr/src/usr.sbin/pwd_mkdb/../../lib/libc/gen/getpwent.c
cc -O2 -mcpu=strongarm -Wall -Wstrict-prototypes -Wmissing-prototypes \
-Wpointer-arith -Werror   -I/usr/src/usr.sbin/pwd_mkdb/../../lib/libc/include \
-D__DBINTERFACE_PRIVATE -c /usr/src/usr.sbin/pwd_mkdb/pwd_mkdb.c
/usr/src/usr.sbin/pwd_mkdb/pwd_mkdb.c: In function `main':
/usr/src/usr.sbin/pwd_mkdb/pwd_mkdb.c:433: internal error--unrecognizable insn:
(insn 3498 3495 705 (set (reg:QI 9 r9)
        (mem:QI (plus:SI (reg:SI 9 r9)
                (const_int -2233)))) -1 (insn_list 683 (insn_list 704 \
(insn_list 3468 (insn_list 715 (insn_list 3474 (insn_list 731 \
(insn_list 721 (insn_list 694 (insn_list 752 (insn_list 3485 \
(insn_list 779 (insn_list 3495 (nil)))))))))))))
    (nil))
/usr/src/gnu/usr.bin/egcs/common/../../../dist/gcc/toplev.c:1367: \
Internal compiler error in function fatal_insn
*** Error code 1

Stop.

---
Izumi Tsutsui
tsutsui@ceres.dti.ne.jp