Subject: Re: cc1 got fatal signal 11
To: None <port-mac68k@NetBSD.ORG>
From: Nico van Eikema Hommes <hommes@derioc1.organik.uni-erlangen.de>
List: port-mac68k
Date: 03/19/1997 08:20:24
   Hi,

>Scott Reynolds wrote:
>>Jason Wright wrote:
>> cd ../obj_s; gcc -I../ncurses -I./../ncurses  -DNDEBUG -I. -I../include
>> -I/usr/local/include  -DHAVE_CONFIG_H -DTERMINFO=3D\"/usr/local/lib/termi=
nfo\"
>> -O2 -m68030 -fpic -DPIC -c ../ncurses/lib_tparm.c
>> gcc: Internal compiler error: program cc1 got fatal signal 11
>> *** Error code 1
>> Stop.
>This is a known register allocation botch in gcc 2.7.x, and I've been told
>it's fixed in gcc 2.8 (which is, of course, vaporware at this point).
>Some compiler hacker could probably fix this in an hour or two, but I'm
>afraid I can't. :-(

A possible solution might be to change the optimization level for this
particular routine. Try it without -O2, or with -O1. I'm not sure if it
will fix this problem, but this strategy worked in several other cases.

Best wishes,

       Nico van Eikema Hommes

--
  Dr. N.J.R. van Eikema Hommes     Computer-Chemie-Centrum
  hommes@ccc.uni-erlangen.de       Universitaet Erlangen-Nuernberg
  Phone:    +49-(0)9131-856532     Naegelsbachstr. 25
  FAX:      +49-(0)9131-856566     D-91052 Erlangen, Germany