xfs
[Top] [All Lists]

Re: compile errors

To: Andrew Park <apark@xxxxxxxxxxxxxxx>
Subject: Re: compile errors
From: Steve Lord <lord@xxxxxxx>
Date: Thu, 27 Apr 2000 11:46:05 -0500
Cc: linux-xfs@xxxxxxxxxxx, suzukis@xxxxxxxxxxxxxxxxxxxxxx, ealonso@xxxxxxxxxxxxxxxxx
In-reply-to: Message from Andrew Park <apark@xxxxxxxxxxxxxxx> of "Thu, 27 Apr 2000 12:18:44 EDT." <Pine.SOL.4.21.0004271205440.23546-100000@xxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx


> On 27 Apr 2000 suzukis@xxxxxxxxxxxxxxxxxxxxxx wrote:
> 
> > > I have gcc version 2.7.2.3. Do I  need to upgrade?
> > 
> > Yes, it's a bit too old to try SGI Linux kernel source.
> > Please try egcs-1.1.2. egcs-1.0.x can compile too,
> > but I recommend egcs-1.1.2.
> 
> Well, some may say that it is old, but gcc 2.7.2.3 IS the official
> compiler of the linux Kernel.  I (IMHO) think it is rather stupid if
> XFS wouldn't compile with the official linux kernel compiler.  I'd like to
> know the following then
> 
>       1.  Is SGI pushing to have XFS accepted into official linux kernel
>           sources?
> 
>       2.  If so, then why create extra work now, by having things that'll
>           break with official kernel compiler?
> 
>       3.  If not (of #1) what is SGI intending?
> 
> Thank you

We are not pushing to get into the official tree yet. We know we have a number
of things to cleanup before we do that - some of which are much bigger than
the compiler issue. Currently we are concentrating on functionality and
correctness, after that comes performance, after that comes getting into
the official tree.

I you really want to build with an older compiler then I think all you have
to do is remove the  -Wno-unknown-pragmas from the xfs/Makefile and
xfs/linux/Makefile, and then go remove all the pragmas which it starts
complaining about.

The pragmas are still there because I want to find a way to tell gcc that
this is an infrequently executed code path. If you know how to do that I
will change them all.

Basically it comes down to having bigger fish to fry right now.

Steve Lord


> 
> 
> Andrew Park
>            
> ___________________________________________________________________________ 
> CDFlab Systems Administrator                          www.cdf.utoronto.ca |
> Team BlueShirt Developer                            www.blueshirt.org   |
> ---------------------------------------------------------------------------
> 



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