Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
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
Date: Thu, 21 May 1998 12:48:41 +0200	[thread overview]
Message-ID: <19980521124841.36708@alpha.franken.de> (raw)

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


                 reply	other threads:[~1998-05-21 10:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

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