Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* reason for my problem with 2.1 kernels on a Alpha noname found
@ 1998-05-21 10:48 Thomas Bogendoerfer
  0 siblings, 0 replies; only message in thread
From: Thomas Bogendoerfer @ 1998-05-21 10:48 UTC (permalink / raw)
  To: torvalds, linux-kernel, linux-alpha, axp-list

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-05-21 10:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-05-21 10:48 reason for my problem with 2.1 kernels on a Alpha noname found Thomas Bogendoerfer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox