Hi,
I am trying to compile today's 2.5-xfs from cvs using gcc-3.1. I get the
following error:
gcc -Wp,-MD,./.page_buf_locking.o.d -D__KERNEL__
-I/usr/src/linux-2.5-xfs/linux/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O3 -march=i686 -fomit-frame-pointer -fno-strict-aliasing
-fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc
-iwithprefix include -I. -funsigned-char
-DKBUILD_BASENAME=page_buf_locking -c -o page_buf_locking.o
pagebuf/page_buf_locking.c
{standard input}: Assembler messages:
{standard input}:404: Error: suffix or operands invalid for `bsf'
make[2]: *** [page_buf_locking.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.5-xfs/linux/fs/xfs'
make[1]: *** [xfs] Error 2
make[1]: Leaving directory `/usr/src/linux-2.5-xfs/linux/fs'
make: *** [fs] Error 2
The system I am using was built with gcc-3.1 and the 2.5-xfs cvs kernel
headers. It uses the 2.5-xfs cvs kernel from a few days ago, built
with gcc-3.04 and the 2.4.18 kernel headers. Today's 2.5-xfs cvs builds
ok with these.
I found a mention of a similar problem mentioned on the web, with a
suggestion to make a change to the ffs() function from asm/bitops.h.
This didn't work. The error message was the same.
Does anyone have any suggestions?
Thanks, Ron
|