xfs
[Top] [All Lists]

Re: compilers

To: Adam Cioccarelli <alciocca@xxxxxxxxxxxx>
Subject: Re: compilers
From: Jean Francois Martinez <jfm2@xxxxxxxxxxxxxxxx>
Date: Wed, 05 Dec 2001 23:27:12 +0100
Cc: "Linux XFS (E-mail)" <linux-xfs@xxxxxxxxxxx>
References: <FED7EB450413D511ABC100B0D02117323A0769@hal9000.hermes.si> <1007585421.2026.0.camel@UberGeek> <3C0E9977.7EEF4D8@club-internet.fr> <3C0E9B9B.80203@yahoo.com.au>
Sender: owner-linux-xfs@xxxxxxxxxxx
Adam Cioccarelli wrote:
> 
> In what way?
> 
> I have been using gcc 3.0 and gcc 3.0.2 for some time now without any
> problems...
> 

That is until you compile/use the wrong module.  Do an "rpm -ba
kernel.spec"
in order to ensure you compile everything or about evrything.  (And hack
the
SPEC file for forcing use of gcc).  In Linux's history there has been no
case
of a new compiler not breaking kernel.  Not necessarily compiler's fault
since
there is non compliant code rejected by newer compilers (they also
happen to be
more compliant) and some cases where kernel code relies on compiler not
being
too smart.


> Adam
> 
> Jean Francois Martinez wrote:
> 
> > Austin Gonyou wrote:
> >
> >>This is not true. RH 7.1 gcc is not broke(as in can't compile code that
> >>runs), but there was an update to it which fixed certain issues. You
> >>definitely CAN compile kernels with that default gcc though that will
> >>boot. Will you have problems? ymmv. The best course of action is to
> >>either get gcc3, or update your current gcc from updates.redhat.com.
> >>
> >>
> >
> > Gcc3 is known to NOT work with kernel.
> > 
> >

-- 
Jean Francois Martinez

Project Independence http://independence.seul.org
Because Linux should be for everyone


<Prev in Thread] Current Thread [Next in Thread>