xfs
[Top] [All Lists]

Re: Xfs Compile problem

To: Steve Lord <lord@xxxxxxx>
Subject: Re: Xfs Compile problem
From: Reggy Ekkebus <reggy@xxxxxxxx>
Date: Thu, 21 Jun 2001 17:29:32 +0200 (CEST)
Cc: <linux-xfs@xxxxxxxxxxx>
In-reply-to: <200106211520.KAA32147@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
On Thu, 21 Jun 2001, Steve Lord wrote:

>
> Hi,
>
> You either need an older compiler (install compat-egcs-6.2-1.1.2.14 on
> redhat 7.1 and use kgcc to build), or a newer kernel. The xfs code
> appears to stretch the compiler to its limits and break it in a few
> places. Some people have reported problems with xfs and the gcc in
> RedHat 7.1. I have been running OK with it for a while, but I just
> bumped up to the latest rawhide version. I have also tried gcc 3.0
> and it mostly works, I have at least one code section which it messes
> up register assignments - in general gcc and 64 bit assignments can
> tend to lead to it forgetting it has reused a register.
>
> The particular problem in xfs_bmap.c is worked around in the latest
> cvs tree, there are also kernel patches against newer kernels here:
>
> ftp://oss.sgi.com/projects/xfs/download/patches/
>
> and newer rpms here:
>
> ftp://oss.sgi.com/projects/xfs/download/testing/Release-1.0.1-PR1/
>
> Steve
>
>
> >
> > Hello,
> >
> >
> > I have a problem compileing Xfs with linux-2.4.2.
> > I installed XFS with the XFS+RH7.1 ISO and that works great,
> > but when I try to compile the kernel I get the following error(s):
> >
> >
> > xfs_bmap.c:543:9: warning: pasting "." and "xs_add_exlist" does not give a
> > valid preprocessing token
> > xfs_bmap.c:2830:9: warning: pasting "." and "xs_del_exlist" does not give
> > a valid preprocessing token
> > xfs_bmap.c: In function `xfs_bmap_alloc':
> > xfs_bmap.c:2721: Unrecognizable insn:
> > (insn/i 137 3604 3598 (parallel[
> >             (set (reg:SI 0 eax)
> >                 (asm_operands ("") ("=a") 0[
> >                         (reg:DI 1 edx)
> >                     ]
> >                     [
> >                         (asm_input:DI ("A"))
> >                     ]  ("linux/xfs_linux.h") 287))
> >             (set (reg:SI 1 edx)
> >                 (asm_operands ("") ("=d") 1[
> >                         (reg:DI 1 edx)
> >                     ]
> >                     [
> >                         (asm_input:DI ("A"))
> >                     ]  ("linux/xfs_linux.h") 287))
> >             (clobber (reg:QI 19 dirflag))
> >             (clobber (reg:QI 18 fpsr))
> >             (clobber (reg:QI 17 flags))
> >         ] ) -1 (nil)
> >     (nil))
> > xfs_bmap.c:2721: confused by earlier errors, bailing out
> > make[3]: *** [xfs_bmap.o] Error 2
> > make[2]: *** [first_rule] Error 2
> > make[1]: *** [_subdir_xfs] Error 2
> > make: *** [_dir_fs] Error 2
> >
> > ------------------
> >
> > If you need any additional information please mail me back.
> >
> >
> >
> > Best Regards,
> >
> >
> > Reggy Ekkebus
>
>


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