From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 21217 invoked from network); 7 Jun 1998 13:47:12 -0000 Received: from rachael.franken.de (193.175.24.38) by mail2.redhat.com with SMTP; 7 Jun 1998 13:47:12 -0000 Received: from hub-fue by rachael.franken.de via rmail with uucp id for redhat.com!axp-list; Sun, 7 Jun 1998 15:46:58 +0200 (MET DST) (Smail-3.2 1996-Jul-4 #4 built DST-Sep-8) Received: by hub-fue.franken.de (Smail3.1.29.1 #35) id m0yiIGv-002Ou5C; Sat, 6 Jun 98 14:40 MET DST Received: (from tsbogend@localhost) by alpha.franken.de (8.8.7/8.8.5) id OAA17575; Sat, 6 Jun 1998 14:16:35 +0200 Message-ID: <19980606141634.59635@alpha.franken.de> Date: Sat, 6 Jun 1998 14:16:34 +0200 From: Thomas Bogendoerfer To: Richard Henderson Cc: axp-list@redhat.com, egcs-bugs@cygnus.com Subject: Re: EGCS and Linux kernel References: <19980604103517.A22507@xcski.com> <19980604213046.B1386@dot.cygnus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.85 In-Reply-To: <19980604213046.B1386@dot.cygnus.com>; from Richard Henderson on Thu, Jun 04, 1998 at 09:30:46PM -0700 On Thu, Jun 04, 1998 at 09:30:46PM -0700, Richard Henderson wrote: > > Still not ready for prime time, I think. > > Quite ready for prime time. but still some minor problems:-) I get this, when compiling 2.1.104: gcc -D__KERNEL__ -I/usr/src/2.1.x/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -mno-fp-regs -ffixed-8 -Wno-uninitialized -c -o page_alloc.o page_alloc.c page_alloc.c: In function `free_pages': page_alloc.c:208: internal error--unrecognizable insn: (jump_insn 337 329 338 (return) -1 (nil) (nil)) {standard input}: Assembler messages: {standard input}:337: Warning: Missing .end or .bend at end of file gcc: Internal compiler error: program cc1 got fatal signal 6 This is caused by the __builtin_return_address(0) in free_pages(). When I change the builtin_return_address for a 0, it gets compiled. Thomas. PS: egcs version 1.0.3a and gcc -v gives: Reading specs from /usr/lib/gcc-lib/alpha-redhat-linux/egcs-2.90.29/specs gcc version egcs-2.90.29 980515 (egcs-1.0.3 release) -- See, you not only have to be a good coder to create a system like Linux, you have to be a sneaky bastard too ;-) [Linus Torvalds in <4rikft$7g5@linux.cs.Helsinki.FI>]