xfs
[Top] [All Lists]

Compiling 2.4.0 with "gcc-2.96"

To: linux-xfs@xxxxxxxxxxx
Subject: Compiling 2.4.0 with "gcc-2.96"
From: Seth Mos <knuffie@xxxxxxxxx>
Date: Tue, 09 Jan 2001 10:33:26 +0100
Sender: owner-linux-xfs@xxxxxxxxxxx
Hi,

If I try to compile the kernel with gcc-2.96-69 (the updated rpm for redhat 7) it butts out in xfs_bmap.c

This was just a test to checksee if it would compile at all. If someone is capable of interpreting what this error means, if it could possibly be fixed (for both compilers ofcourse) should it even be a bug.

The kernel compiles fine using 2.91.66 ofcourse. I'm just trying to see what a kernel would look like when compiled with "gcc-2.96" ;-)

gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fno-strict-aliasing -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -Wno-unused -Wno-parentheses -Wno-uninitialized -I. -funsigned-char -Wno-unknown-pragmas -c -o xfs_bmap.o xfs_bmap.c
xfs_bmap.c:543:36: warning: pasting would not give a valid preprocessing token
xfs_bmap.c:2830:36: warning: pasting would not give a valid preprocessing token
xfs_bmap.c: In function `xfs_bmap_del_extent':
xfs_bmap.c:3130: Unrecognizable insn:
(insn/i 254 252 4392 (parallel[
(set (reg:SI 0 eax)
(asm_operands ("") ("=a") 0[
(reg:DI 1 edx)
]
[
(asm_input:DI ("A"))
] ("linux/xfs_linux.h") 266))
(set (reg:SI 1 edx)
(asm_operands ("") ("=d") 1[
(reg:DI 1 edx)
]
[
(asm_input:DI ("A"))
] ("linux/xfs_linux.h") 266))
(clobber (reg:QI 19 dirflag))
(clobber (reg:QI 18 fpsr))
(clobber (reg:QI 17 flags))
] ) -1 (nil)
(nil))
xfs_bmap.c:3130: confused by earlier errors, bailing out
make[3]: *** [xfs_bmap.o] Error 2
make[3]: Leaving directory `/usr/src/linux-2.4-xfs/linux/fs/xfs'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4-xfs/linux/fs/xfs'
make[1]: *** [_subdir_xfs] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4-xfs/linux/fs'
make: *** [_dir_fs] Error 2


Bye

--
Seth
Has anybody seen my lightbulb?
I _really_ need some light here.


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