hi,
Try compiling with gcc 2.91.66 (or get either the kgcc
or egcs-compat rpm, both of which are 2.91.66 I think).
If you want to stick with your current compiler, you'll
need to use the development cvs tree which has Steve's
recent-compiler-versions fixes in it).
http://linux-xfs.sgi.com/projects/xfs/faq.html ...
"Q: Are there any known issues about gcc 2.95 for compiling
the XFS kernel tree?"
cheers.
On May 3, 6:31pm, Steve Wray wrote:
> Subject: compilation failure
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Mandrake 8.0 system,
> got the release 1 thru CVS,
> configured and tried
> make dep clean bzImage modules
>
> make modules chokes and dies with:
>
> make[2]: Nothing to be done for `modules'.
> make[2]: Leaving directory
> `/home/steve/linux-2.4-xfs-r1.0/linux/fs/vfat'
> make -C xfs modules
> make[2]: Entering directory
> `/home/steve/linux-2.4-xfs-r1.0/linux/fs/xfs'
> gcc -D__KERNEL__ -I/home/steve/linux-2.4-xfs-r1.0/linux/include
> - -Wall -Wstrict-prototypes -O2 -fno-strict-aliasing
> - -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=k6
> - -DMODULE -DMODVERSIONS -include
> /home/steve/linux-2.4-xfs-r1.0/linux/include/linux/modversions.h
> - -Wno-unused -Wno-parentheses -Wno-uninitialized -I.
> - -I/home/steve/linux-2.4-xfs-r1.0/linux/fs -funsigned-char
> - -Wno-unknown-pragmas -c -o xfs_bmap.o xfs_bmap.c
> 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 3626 3620 (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[2]: *** [xfs_bmap.o] Error 2
> make[2]: Leaving directory
> `/home/steve/linux-2.4-xfs-r1.0/linux/fs/xfs'
> make[1]: *** [_modsubdir_xfs] Error 2
> make[1]: Leaving directory `/home/steve/linux-2.4-xfs-r1.0/linux/fs'
> make: *** [_mod_fs] Error 2
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>
>
> iQA/AwUBOvD7UghKySqSS+rVEQKT9QCg/S8PVnQj0yUOVBlDBd0N3a2DhHcAoLlm
> QOrj/+7O+IubzsAuMVX39GJ6
> =S+0t
> -----END PGP SIGNATURE-----
>-- End of excerpt from Steve Wray
--
Nathan
|