From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 18585 invoked from network); 21 May 1998 10:52:43 -0000 Received: from rachael.franken.de (193.175.24.38) by mail2.redhat.com with SMTP; 21 May 1998 10:52:43 -0000 Received: from hub-fue by rachael.franken.de via rmail with uucp id for redhat.com!axp-list; Thu, 21 May 1998 12:34:43 +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 m0ycSxe-002OtnC; Thu, 21 May 98 12:52 MET DST Received: (from tsbogend@localhost) by alpha.franken.de (8.8.7/8.8.5) id MAA00363; Thu, 21 May 1998 12:48:41 +0200 Message-ID: <19980521124841.36708@alpha.franken.de> Date: Thu, 21 May 1998 12:48:41 +0200 From: Thomas Bogendoerfer To: torvalds@transmeta.com, linux-kernel@vger.rutgers.edu, linux-alpha@vger.rutgers.edu, axp-list@redhat.com Subject: reason for my problem with 2.1 kernels on a Alpha noname found Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.85 Hi, I've found the reason for problem, I've had with the 2.1.x kernels for quite some time. My problem was, that a simple main() { for (;;); } stopped the whole machine. The reason for my problem is a bug in gcc (or two to be exact). Because I couldn't compile isdn_common.c with -O2, I've changed the CFLAGS in Makefile to compile only with -O. This triggers another more unvisible bug in gcc, when compiling arch/alpha/kernel/irq.c, which causes the problem with the hanging. At the moment I'm running a 2.1.102 kernel compiled with -O and irq.c with -O2. And it works. I'll try to find the function in irq.c, which gets miscompiled with -O. Thomas. -- 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>]