[Top] [All Lists]

kernel build issues

To: linux-xfs@xxxxxxxxxxx
Subject: kernel build issues
From: Rob Lembree <lembree@xxxxxxxxxxxxx>
Date: Fri, 29 Jun 2001 14:03:32 -0400
Organization: Metro Link, Inc.
Sender: owner-linux-xfs@xxxxxxxxxxx
Hi there,
        I can't seem to build the XFS kernel properly
on my RH 7.1 machine.

        When I can build the bzImage, I can't build the
modules (it complains about hex values in the sources).

        When I adjust the compiler (using native gcc, not
kgcc), the following build breakage happens.  Do you have
any reports of this, or workarounds to suggest?

gcc -D__KERNEL__ -I/usr/src/linux-2.4/include -Wall -Wstrict-prototypes -O2 
-fomit-frame-pointer -fno-strict-aliasing -Wno-unused -pipe 
-mpreferred-stack-boundary=2 -march=athlon   -Wno-unused  -Wno-parentheses 
-Wno-uninitialized -I. -I/usr/src/linux-2.4/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 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)
xfs_bmap.c:2721: confused by earlier errors, bailing out
make[3]: *** [xfs_bmap.o] Error 2
make[3]: Leaving directory `/usr/src/linux-2.4.2/fs/xfs'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.2/fs/xfs'
make[1]: *** [_subdir_xfs] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.2/fs'
make: *** [_dir_fs] Error 2


Rob Lembree                        Metro Link Incorporated
29 Milk St.                          lembree@xxxxxxxxxxxxx
Nashua, NH 03064-1651             http://www.metrolink.com
Phone:  954.660.2460               Alternate: 603.577.9714
PGP: 1F EE F8 58 30 F1 B1 20       C5 4F 12 21 AD 0D 6B 29

Attachment: lembree.vcf
Description: Card for Rob Lembree

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