xfs
[Top] [All Lists]

Re: xfs compile error with gcc pre3.1

To: Steve Lord <lord@xxxxxxx>
Subject: Re: xfs compile error with gcc pre3.1
From: Sipos Ferenc <sferi@xxxxxxxxxxxxxxxxxx>
Date: 01 Mar 2002 19:25:12 +0100
Cc: "'Xfs \\ Mailing \\\\ List " "\\ \\ (E-mail)'\\\\\\" <linux-xfs@xxxxxxxxxxx>
In-reply-to: <1014995709.24545.180.camel@xxxxxxxxxxxxxxxxxxxx>
References: <1014969806.8820.4.camel@xxxxxxxxxxxxxxxxxx> <1014995709.24545.180.camel@xxxxxxxxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
Thx for your help. It works.

Paco

2002-03-01, P keltezéssel Steve Lord ezt írta:
> On Fri, 2002-03-01 at 02:03, Sipos Ferenc wrote:
> > Hi!
> > 
> > The stock kernel without xfs compiles fine, but with xfs doesn't. Here
> > is the error:
> > 
> > xfs_super.c:822: warning: `linvfs_dentry_to_fh' defined but not used
> > xfs_super.c:859: warning: `linvfs_fh_to_dentry' defined but not used
> > {standard input}: Assembler messages:
> > {standard input}:1164: Error: suffix or operands invalid for `bsf'
> > make[4]: *** [xfs_super.o] Error 1
> > make[3]: *** [first_rule] Error 2
> > make[2]: *** [_subdir_linux] Error 2
> > make[1]: *** [_subdir_xfs] Error 2
> > make: *** [_dir_fs] Error 2
> > 
> > It would be great, if someone would fix this, I'd like to throw out gcc
> > 2.96. Thx.
> 
> For now you could change this:
> 
>         sb->s_blocksize_bits = ffs(sb->s_blocksize) - 1;
> 
> to this:
> 
>       sb->s_blocksize_bits = BBSHIFT;
> 
> That is the only ffs call in there.
> 
> Steve
> 
> 
> > 
> > Paco
> -- 
> 
> Steve Lord                                      voice: +1-651-683-3511
> Principal Engineer, Filesystem Software         email: lord@xxxxxxx
> 


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