lkml.org 
[lkml]   [1998]   [May]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectreason for my problem with 2.1 kernels on a Alpha noname found
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

\
 
 \ /
  Last update: 2005-03-22 13:42    [W:0.023 / U:0.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site