Sender: nate AT cartsys DOT com Message-ID: <35DF0C4C.7AF2ADA1@cartsys.com> Date: Sat, 22 Aug 1998 11:22:04 -0700 From: Nate Eldredge MIME-Version: 1.0 To: Bill Currie CC: djgpp AT delorie DOT com Subject: Re: Linux and GNU C References: <000a01bdc5db$c9a84600$166064a4 AT anandbis> <35D4FDF9 DOT 703EE43D AT taniwha DOT tssc DOT co DOT nz> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk 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