[OpenAFS-devel] bug building against RedHat 7.3 new kernel: 2.4.18-5
Joe Little
jlittle@open-it.org
Fri, 21 Jun 2002 09:35:06 -0700 (PDT)
A major NFS v3 bug in RH7.3's kernel has brought about a new kernel from
the company. At Stanford University, we build off of RedHat's release and
distribute OpenAFS as a client. We have quickly jumped to OpenAFS 1.2.5,
but the SRPM, which builds on kernel 2.4.18-4, fails to build on 2.4.18-5.
It may have to do with other subtle changes in the new kernel (possibly
scheduler changes)
Here is the pertinent failure section in the RPM build:
Building in directory: MODLOAD-2.4.18-5-i386-MP
make[4]: Entering directory
`/home/redhat/BUILD/openafs-1.2.5/src/libafs/MODLOAD-2.4.18-5-i386-MP'
gcc -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -march=i486
-malign-loops=2 -malign-jumps=2 -malign-functions=2 -D__KERNEL__
-DCPU=586 -DKERNEL -D_KERNEL -DMODULE -DAFS_SMP -DREDHAT_FIX -I. -I../
-I/usr/src/redhat/BUILD/openafs-1.2.5/src/config -c ../afs/afs_atomlist.c;
gcc -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -march=i486
-malign-loops=2 -malign-jumps=2 -malign-functions=2 -D__KERNEL__
-DCPU=586 -DKERNEL -D_KERNEL -DMODULE -DAFS_SMP -DREDHAT_FIX -I. -I../
-I/usr/src/redhat/BUILD/openafs-1.2.5/src/config -c ../afs/afs_lhash.c;
gcc -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -march=i486
-malign-loops=2 -malign-jumps=2 -malign-functions=2 -D__KERNEL__
-DCPU=586 -DKERNEL -D_KERNEL -DMODULE -DAFS_SMP -DREDHAT_FIX -I. -I../
-I/usr/src/redhat/BUILD/openafs-1.2.5/src/config -c ../afs/afs_analyze.c;
In file included from ../asm/uaccess.h:8,
from ../afs/sysincludes.h:65,
from ../afs/afs_analyze.c:19:
../linux/sched.h:454:15: #if with no expression
make[4]: *** [afs_analyze.o] Error 1
make[4]: Leaving directory
`/home/redhat/BUILD/openafs-1.2.5/src/libafs/MODLOAD-2.4.18-5-i386-MP'
make[3]: *** [linux_compdirs] Error 2
make[3]: Leaving directory `/home/redhat/BUILD/openafs-1.2.5/src/libafs'
make[2]: *** [libafs] Error 2
make[2]: Leaving directory `/home/redhat/BUILD/openafs-1.2.5'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/home/redhat/BUILD/openafs-1.2.5'
make: *** [only_libafs] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.63905 (%build)
Has the maintainer of the RPM binaries on OpenAFS seen this yet? For us,
the new kernel is a requirement since the old one happily takes down
NetApps and Solaris boxes running NFS -- its not a 100% AFS world yet :)