XFS in kernel 2.4.18-6mdk seems to have a problem building with gcc 3.1/3.2:
gcc -D__KERNEL__ -I/usr/src/linux-2.4.18-6mdk-pom/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.18-6mdk-pom/include/linux/modversions.h -nostdinc -I /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/include -I.. -funsigned-char -DKBUILD_BASENAME=xfs_super -c -o xfs_super.o xfs_super.c {standard input}: Assembler messages: {standard input}:1295: Error: suffix or operands invalid for `bsf' make[3]: *** [xfs_super.o] Error 1 make[3]: Leaving directory `/usr/src/linux-2.4.18-6mdk-pom/fs/xfs/linux' make[2]: *** [_modsubdir_linux] Error 2 make[2]: Leaving directory `/usr/src/linux-2.4.18-6mdk-pom/fs/xfs' make[1]: *** [_modsubdir_xfs] Error 2 make[1]: Leaving directory `/usr/src/linux-2.4.18-6mdk-pom/fs' make: *** [_mod_fs] Error 2 [brian@pc linux-2.4.18-6mdk-pom]$ gcc --version gcc (GCC) 3.2 (Mandrake Linux 9.0 3.2-0.1mdk) Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Are Mandrake kernels supposed to build with gcc 3.1/3.2 or should I be using egcs (kgcc) or 2.96 or something else? I notice in the kernel spec file: %define build_gcc31 1 which I pressume means to use gcc 3.1. There is a reference to this problem on the XFS mailing list at http://oss.sgi.com/projects/xfs/mail_archive/200203/msg00012.html Comments? b. -- Brian J. Murrell
msg68521/pgp00000.pgp
Description: PGP signature