Mail Archives: djgpp/1998/08/22/17:27:49
Bill Currie wrote:
>
> Thibaut Murez wrote:
> > Hi I'm a newbie in Linux' world and i'd like to know why one must not
> > compile the kernel using gcc 2.8 or higher ?
>
> There's a bug in one of the kernel header files that works with
> gcc-2.7.2.x but not with gcc-2.8+. This only applies to 2.0.x kernels
> and 2.1.x below 90 or so (can't remember the number, but I rembeber the
> fuss:).
You can easily work around it by adding `volatile' to the declaration of
the `eflags' arg of `sys_iopl' in `arch/i386/kernel/ioport.c'. I did
that to my 2.0.x kernel and never looked back. In fact, I don't know
why they don't add it to the source tree-- it's well known.
--
Nate Eldredge
nate AT cartsys DOT com
- Raw text -