Re: gcc 2.7.2.3 vs gcc 2.8.1

Chad C Giffin (typo@t-net.org)
Tue, 4 Aug 1998 23:27:47 -0400 (EDT)


Good evening...

On Tue, 4 Aug 1998, Matthew D. Pitts wrote:

:To: Taral <taral@mail.utexas.edu>, linux-kernel@vger.rutgers.edu
:Subject: Re: gcc 2.7.2.3 vs gcc 2.8.1
:
:Taral,
:
:> What exactly prevents us from using gcc 2.8.1 to compile the
:> kernel? I keep seeing stuff like "we can't compile
:> <insert patch here> under gcc 2.7.2.3."
:
:If I'm not mistaken, it's because gcc 2.8.1 (aka egcs 1.0.3) tries
:optimizations that don't work with 2.0.x kernels. It does work on the
:2.1.x kernels AFAIK.
:

I have only experienced one problem and that is optimization of particular
inline assembly within ioports.c of arch/i386/kernel/. By replacing this
file with it's counterpart in a tree of 2.1.x, I am fully capable of
using a 2.0.x kernel (built with gcc 2.8.1) without any problem.

I have discussed this briefly with Alan on this list and he stated there
were to be other problems arising in my kernel from use of 2.8.1. However
I have yet to experience any other problems at all.

Chad C Giffin.
typo@t-net.org

-
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.altern.org/andrebalsa/doc/lkml-faq.html