Re: Linux 2.0.3x & gcc 2.8

Matthias Urlichs (smurf@work.smurf.noris.de)
5 Feb 1998 09:07:12 +0100


In dist.linux.kernel, article <886557009.30047@noris.de>,
Kurt Garloff <garloff@kg1.ping.de> writes:
> On Tue, 3 Feb 1998, Ian Eure wrote:
>
> > > 1 - replace ioport.c with file from devel kernel; compile as normal.
> > > 2 - compile ioport.c with 2.7.2.3, rest with 2.8.0, relink.
> >
> > Thanks. I assume that the "official" fix will be in 2.0.34?
>
> No, you have to convince Alan Cox, that it should. Seems he doesn't like
> to fix anything for gcc-280.
>
The ioport.c problem (sys_iopl() fails to change eflags) is a legitimate
problem with the source code, as the optimizer is quite right in assuming
that the variable we're modifying is a parameter on the stack and thus a
change will not affect anything and thus it can be optimized away.

I do hope that'll end up in 2.0.34, and it's already in 2.1.* anyways.

The other problems do need to be slugged out ;-) with the GCC people,
though, IMHO.

-- 
Matthias Urlichs
noris network GmbH