From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 16188 invoked from network); 16 Oct 1998 19:45:00 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 16 Oct 1998 19:45:00 -0000 Received: from ellpspace.math.ualberta.ca (michal@ellpspace.math.ualberta.ca [129.128.88.19]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id PAA26079 for ; Fri, 16 Oct 1998 15:37:46 -0400 Received: (from michal@localhost) by ellpspace.math.ualberta.ca (8.8.8/8.8.8) id NAA11747; Fri, 16 Oct 1998 13:37:34 -0600 From: Michal Jaegermann Message-Id: <199810161937.NAA11747@ellpspace.math.ualberta.ca> Subject: Re: EGCS 1.1b and Alpha kernel compile To: beww@intac.com Date: Fri, 16 Oct 1998 13:37:34 -0600 (MDT) Cc: axp-list@redhat.com In-Reply-To: from "Brian E.W. Wood" at Oct 16, 98 01:44:12 pm Content-Type: text Brian E.W. Wood wrote: > > Has anybody tried to compile a kernel on an alpha with egcs 1.1b? Yes. Doing this all the time. :-) > gcc -D__KERNEL__ -I/usr/src/linux-2.0.33/include -Wall -Wstrict-prototypes -g > -O2 -pipe -mno-fp-regs -c -o slhc.o slhc.c > gcc: Internal compiler error: program cc1 got fatal signal 11 Yes, as well. Drop an optimization on this one particular file to -O and everything will compile ok. This specific bug is triggered here by an expansion of an inline function __ntohs is slhc_uncompress(). Rerun your compiler with -save-temps option to have a closer look what kind of a fun code it really is. :-) I filed a bug report about this the first time in June - I think, but definitely well before 1.1 release - and a few times more on other occassions. Maybe it is hard. I do not know. Alas I never got a single line of feedback. It looks like that somebody tried to do something on the latest snapshot but some other screwup occured. Michal