[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: xfs compile error with gcc pre3.1



I found this on LKML...

http://www.uwsg.iu.edu/hypermail/linux/kernel/0111.3/1332.html

> Try changing the "g" in the definition of ffs() (asm/bitops.h) to
> "rm"; the "g" constrains incorrectly allows immediate operands.

but this is over my head, try it at your own risk.

-Eric

On 1 Mar 2002, Sipos Ferenc wrote:

> Hi!
>
> I'm using the 2.4.18 cvs kernel, no extra patches. I use gcc pre3.1
> because it's in redhat rawhide, so it is the default compiler at the
> moment, that's why I'd like to compile my xfs kernel with it.
>
> Paco
>
> 2002-03-01, P keltezéssel Skylar Thompson ezt írta:
> > On Fri, Mar 01, 2002 at 09:03:26AM +0100, 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.
> >
> > Could you give the stable gcc v3 (3.0.4, IIRC) a try? Also, what kernel
> > version and patch version are you using? I've never had any trouble with
> > gcc v3.02 and any XFS-enabled kernel.
> >
> > > Paco
> >
> > --
> > -- Skylar Thompson (skylar@attglobal.net)
>