Re: [PATCH] was Re: include file problem (with patch)

From: Ralf Baechle (ralf@uni-koblenz.de)
Date: Tue Jun 06 2000 - 18:22:54 EST


On Mon, Jun 05, 2000 at 09:00:14AM -0400, S. Baker wrote:

> This thread is about a bug in a kernel include file. Here is a
> recap (with a little extra info to help you feel better, and maybe
> we can get over the user code issue and talk about what is important,
> ie fixing a bug):
> - I have a driver that can't be compiled without optimization. I
> tracked the problem down, and provided not only a fix, but sample
> code to demonstrate the problem.
> - I now have two replies that 'appear' to be from authoratative
> sources that don't address the problem at all, just tell me that
> it isn't a problem, due to a completely irrelevant issue.

The answer is that all the kernel code is written with gcc's optimization
behaviour in mind. In practice that means that alot of kernel code won't
compile without optimization.

  Ralf

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Jun 07 2000 - 21:00:26 EST