delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/22/17:27:49

Sender: nate AT cartsys DOT com
Message-ID: <35DF0C4C.7AF2ADA1@cartsys.com>
Date: Sat, 22 Aug 1998 11:22:04 -0700
From: Nate Eldredge <nate AT cartsys DOT com>
MIME-Version: 1.0
To: Bill Currie <bill AT taniwha DOT tssc DOT co DOT nz>
CC: djgpp AT delorie DOT com
Subject: Re: Linux and GNU C
References: <000a01bdc5db$c9a84600$166064a4 AT anandbis> <MPG DOT 103e32ee3276e42d989680 AT news DOT planete DOT net> <35D4FDF9 DOT 703EE43D AT taniwha DOT tssc DOT co DOT nz>

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019