reason for my problem with 2.1 kernels on a Alpha noname found

Thomas Bogendoerfer (tsbogend@alpha.franken.de)
Thu, 21 May 1998 12:48:41 +0200


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>]

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu