Bug 762695 (GLUSTER-963)

Summary: kernel compilation fails
Product: [Community] GlusterFS Reporter: Raghavendra Bhat <rabhat>
Component: write-behindAssignee: Raghavendra G <raghavendra>
Status: CLOSED DUPLICATE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: 3.0.4CC: gluster-bugs, vijay
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Raghavendra Bhat 2010-05-27 13:11:07 UTC
Kernel compilation fails in glusterfs-3.0.5rc2.Setup is distributed replicate.  The steps run are:

Untar the linux kernel tarball on the mountpoint.

then,

make defconfig
make dep 
make bzImage 
make modules

It fails sometimes in "make defconfig" and sometimes in make bzImage.
In "make defconfig" it fails saying undefined reference to a file.

In "make bzImage" it fails saying this.

raghu@bigbang:/mnt/hd/linux-2.6.31.1$ sudo make bzImage
Password:
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  SYMLINK include/asm -> include/asm-x86
  CALL    scripts/checksyscalls.sh
  CHK     include/linux/compile.h
  CC      init/version.o
init/version.c:41: error: expected ',' or ';' before 'LINUX_COMPILE_BY'
init/version.c:46: error: expected ',' or ';' before 'LINUX_COMPILE_BY'
make[1]: *** [init/version.o] Error 1
make: *** [init] Error 2
raghu@bigbang:/mnt/hd/linux-2.6.31.1$ 



It happens with patch submitted for write behind which enforces the ordering of overlapping writes(for bug 762666). Without that patch compilation works fine.

Comment 1 Raghavendra G 2010-05-31 08:47:21 UTC

*** This bug has been marked as a duplicate of bug 934 ***