xfs
[Top] [All Lists]

Re: xfs_vnodeops.c compile problem/question

To: Andi Kleen <ak@xxxxxxx>
Subject: Re: xfs_vnodeops.c compile problem/question
From: Russell Cattelan <cattelan@xxxxxxxxxxx>
Date: Wed, 09 Aug 2000 10:02:48 -0500
Cc: Steve Lord <lord@xxxxxxx>, Jason Holland <jphollan@xxxxxxxxxxxxx>, Linux-Xfs <linux-xfs@xxxxxxxxxxx>
References: <ak@xxxxxxx> <200008091430.JAA07783@xxxxxxxxxxxxxxxxxxxx> <20000809163944.A26859@xxxxxxxxxxxxxxxxxxx>
Reply-to: cattelan@xxxxxxxxxxx
Sender: owner-linux-xfs@xxxxxxxxxxx
Andi Kleen wrote:

> On Wed, Aug 09, 2000 at 09:30:07AM -0500, Steve Lord wrote:
> > > On Wed, Aug 09, 2000 at 09:09:38AM -0500, Jason Holland wrote:
> > > > can anyone help me identify what this error means and possibly how to 
> > > > fix
> > > > it??  i began to get this yesterday after doing a cvs update.  btw, i'm
> > > > running debian potato, the latest frozen.  thanks!
> > >
> > > I'm seeing the same problem. But you should not be using gcc 2.95 with
> > > XFS anyways, because it miscompiles some long long computations. egcs 1.1
> > > seems to be the only compiler that works reliably for XFS right now.
> > >
> > >
> > > -Andi
> >
> >
> > Can you tell me if this fixes it - it will save me a compiler install....

I wouldn't chase this to far, even if you get past th is you will run
into the problem of disk address being incorrectly calculated.
I do have a work around if anybody is really interested.

Note the 2.26.x compiler has less luck trying to compile XFS.


>
>
> It stills breaks. This is SuSE gcc 2.95.2-17, which is about at 
> gcc-2.95-stable
> from February (so a bit newer than 2.95.2 release)
>
> -Andi
>
> fs_vnodeops.c: In function `xfs_free_file_space':
> xfs_vnodeops.c:6038: internal error--unrecognizable insn:
> (insn 376 375 1198 (parallel[
>             (set (reg:SI 0 %eax)
>                 (asm_operands ("") ("=a") 0[
>                         (reg:DI 1 %edx)
>                     ]
>                     [
>                         (asm_input:DI ("A"))
>                     ]  ("xfs_vnodeops.c") 5927))
>             (set (reg:SI 1 %edx)
>                 (asm_operands ("") ("=d") 1[
>                         (reg:DI 1 %edx)
>                     ]
>                     [
>                         (asm_input:DI ("A"))
>                     ]  ("xfs_vnodeops.c") 5927))
>         ] ) -1 (insn_list 373 (nil))
>     (nil))
> make[2]: *** [xfs_vnodeops.o] Error 1
>
> -Andi

--
Russell Cattelan
cattelan@xxxxxxxxxxx




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