On Feb 4, 2010, at 10:48 AM, Allan, Benjamin wrote: > Both branches are failing to build (using the attached config, build scripts) > on 2.6.32.2 with the same error.
Just to be sure, what tag did you use to checkout PVFS? > And of course a view through lxr shows no such struct elements as those the > compiler seeks. > Am I somehow misconfiguring such that the build branches through some code > intended for > older kernels? It looks like the checks fail to find linux/slab.h, which probably means your kernel sources just weren't configured properly. How did you make /usr/src/kernels/build-2.6.32.2? If you somehow created a source RPM first, you may need to use /lib/modules/2.6.32.2/build instead. > The base os is fedora 12, with my own 2.6.32.2 x64 kernel running. > Is there a similar platform build running nightly somewhere? would someone be > interested in the > output if I set one up? We have fedora 10, but its running the default kernel there. If you're willing to setup a nightly build, we'd definitely be interested in the output. The scripts in the test/automated/ directory do a lot of the work for you, you pretty much just need to run testscrpt.sh after modifying a few parameters at the top of the script. The results get reported to the tinderbox website at: http://www.pvfs.org/pvfs2-nightly-builds/tinderbox2/PVFS2/status.html > > Please note the kzalloc and fsuid errors appear to be unrelated, so even if i > ugly-hack my way around > the first one the second one persists. I suspect that this is just a configure issue with your kernel sources. Can you see if pointing pvfs at the the /lib/modules/2.6.32.2/build directory fixes the problem? -sam > Lots of attachments (config.log and how I ran the builds) > > Here's where the build fails for both: > > make -C /usr/src/kernels/build-2.6.32.2 \ > KBUILD_SRC=/usr/src/kernels/linux-2.6.32.2 \ > > KBUILD_EXTMOD="/home/baallan/lee/obj-local-fed-32/src/kernel/linux-2.6" -f > /usr/src/kernels/linux-2.6.32.2/Makefile \ > modules > gcc > -Wp,-MD,/home/baallan/lee/obj-local-fed-32/src/kernel/linux-2.6/.pvfs2-utils.o.d > -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.4.2/include -Iinclude > -Iinclude2 -I/usr/src/kernels/linux-2.6.32.2/include > -I/usr/src/kernels/linux-2.6.32.2/arch/x86/include -include > include/linux/autoconf.h > -I/home/baallan/lee/obj-local-fed-32/src/kernel/linux-2.6 -D__KERNEL__ -Wall > -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common > -Werror-implicit-function-declaration -Wno-format-security > -fno-delete-null-pointer-checks -Os -m64 -march=core2 -mno-red-zone > -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protector > -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare > -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow > -Wframe-larger-than=2048 -fno-omit-frame-pointer -fno-optimize-sibling-calls > -g -pg -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow > -fno-dwarf2-cfi-asm -fconserv! e-stack -I/home/baallan/lee/pvfs2-2-8-branch/ -I/home/baallan/lee/obj-local-fed-32/ -I/home/baallan/lee/pvfs2-2-8-branch/include -I/home/baallan/lee/obj-local-fed-32/include -I/home/baallan/lee/pvfs2-2-8-branch/src/io/dev -I/home/baallan/lee/pvfs2-2-8-branch/src/io/bmi -I/home/baallan/lee/pvfs2-2-8-branch/src/common/quickhash -I/home/baallan/lee/pvfs2-2-8-branch/src/proto -I/home/baallan/lee/pvfs2-2-8-branch/src/common/gossip -I/home/baallan/lee/pvfs2-2-8-branch/src/common/misc -DPVFS2_VERSION="\"2.8.1\"" -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(pvfs2_utils)" -D"KBUILD_MODNAME=KBUILD_STR(pvfs2)" -D"DEBUG_HASH=6" -D"DEBUG_HASH2=45" -c -o /home/baallan/lee/obj-local-fed-32/src/kernel/linux-2.6/pvfs2-utils.o /home/baallan/lee/obj-local-fed-32/src/kernel/linux-2.6/pvfs2-utils.c > In file included from > /home/baallan/lee/obj-local-fed-32/src/kernel/linux-2.6/pvfs2-utils.c:8: > /home/baallan/lee/obj-local-fed-32/src/kernel/linux-2.6/pvfs2-kernel.h:1285: > error: conflicting types for ‘kzalloc’ > /usr/src/kernels/linux-2.6.32.2/include/linux/slab.h:313: note: previous > definition of ‘kzalloc’ was here > /home/baallan/lee/obj-local-fed-32/src/kernel/linux-2.6/pvfs2-utils.c: In > function ‘pvfs2_gen_credentials’: > /home/baallan/lee/obj-local-fed-32/src/kernel/linux-2.6/pvfs2-utils.c:26: > error: ‘struct task_struct’ has no member named ‘fsuid’ > /home/baallan/lee/obj-local-fed-32/src/kernel/linux-2.6/pvfs2-utils.c:27: > error: ‘struct task_struct’ has no member named ‘fsgid’ > /home/baallan/lee/obj-local-fed-32/src/kernel/linux-2.6/pvfs2-utils.c: In > function ‘pvfs2_inode_getxattr’: > /home/baallan/lee/obj-local-fed-32/src/kernel/linux-2.6/pvfs2-utils.c:777: > error: ‘struct task_struct’ has no member named ‘fsuid’ > /home/baallan/lee/obj-local-fed-32/src/kernel/linux-2.6/pvfs2-utils.c:778: > error: ‘struct task_struct’ has no member named ‘fsgid’ > /home/baallan/lee/obj-local-fed-32/src/kernel/linux-2.6/pvfs2-utils.c: In > function ‘pvfs2_inode_removexattr’: > /home/baallan/lee/obj-local-fed-32/src/kernel/linux-2.6/pvfs2-utils.c:1048: > error: ‘XATTR_REPLACE’ undeclared (first use in this function) > /home/baallan/lee/obj-local-fed-32/src/kernel/linux-2.6/pvfs2-utils.c:1048: > error: (Each undeclared identifier is reported only once > /home/baallan/lee/obj-local-fed-32/src/kernel/linux-2.6/pvfs2-utils.c:1048: > error: for each function it appears in.) > /home/baallan/lee/obj-local-fed-32/src/kernel/linux-2.6/pvfs2-utils.c: In > function ‘pvfs2_create_file’: > /home/baallan/lee/obj-local-fed-32/src/kernel/linux-2.6/pvfs2-utils.c:1221: > error: ‘struct task_struct’ has no member named ‘fsuid’ > /home/baallan/lee/obj-local-fed-32/src/kernel/linux-2.6/pvfs2-utils.c:1221: > error: ‘struct task_struct’ has no member named ‘fsgid’ > /home/baallan/lee/obj-local-fed-32/src/kernel/linux-2.6/pvfs2-utils.c: In > function ‘pvfs2_create_dir’: > /home/baallan/lee/obj-local-fed-32/src/kernel/linux-2.6/pvfs2-utils.c:1308: > error: ‘struct task_struct’ has no member named ‘fsuid’ > /home/baallan/lee/obj-local-fed-32/src/kernel/linux-2.6/pvfs2-utils.c:1308: > error: ‘struct task_struct’ has no member named ‘fsgid’ > /home/baallan/lee/obj-local-fed-32/src/kernel/linux-2.6/pvfs2-utils.c: In > function ‘pvfs2_create_symlink’: > /home/baallan/lee/obj-local-fed-32/src/kernel/linux-2.6/pvfs2-utils.c:1402: > error: ‘struct task_struct’ has no member named ‘fsuid’ > /home/baallan/lee/obj-local-fed-32/src/kernel/linux-2.6/pvfs2-utils.c:1402: > error: ‘struct task_struct’ has no member named ‘fsgid’ > > <trunk.2.6.32.2.config.log><branch.config.log.gz><buildlocal.fed.32branch.sh.txt><buildlocal.fed.32trunk.sh.txt>_______________________________________________ > Pvfs2-developers mailing list > [email protected] > http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers _______________________________________________ Pvfs2-developers mailing list [email protected] http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers
