Re: [BUILD_FAILURE] linux-next: Tree for March 31 build fails onfs/novfs sys_flistxattr()

From: Stephen Rothwell
Date: Mon Mar 31 2008 - 07:41:45 EST


On Mon, 31 Mar 2008 16:49:18 +0530 Kamalesh Babulal <kamalesh@xxxxxxxxxxxxxxxxxx> wrote:
>
> Hi Stephen,
>
> The next-20080331 allyesconfig, build fails on x86_64 machine
>
> fs/novfs/built-in.o: In function `sys_flistxattr':
> /root/kernels/linux-2.6.25-rc7/fs/novfs/inode.c:4658: multiple definition of `sys_flistxattr'
> fs/xattr.o:/root/kernels/linux-2.6.25-rc7/fs/xattr.c:457: first defined here
> ld: Warning: size of symbol `sys_flistxattr' changed from 112 in fs/xattr.o to 75 in fs/novfs/built-in.o
> fs/novfs/built-in.o: In function `sys_fsetxattr':
> /root/kernels/linux-2.6.25-rc7/fs/novfs/inode.c:4672: multiple definition of `sys_fsetxattr'
> fs/xattr.o:/root/kernels/linux-2.6.25-rc7/fs/xattr.c:295: first defined here
> ld: Warning: size of symbol `sys_fsetxattr' changed from 164 in fs/xattr.o to 97 in fs/novfs/built-in.o
> fs/novfs/built-in.o: In function `sys_fgetxattr':
> /root/kernels/linux-2.6.25-rc7/fs/novfs/inode.c:4645: multiple definition of `sys_fgetxattr'
> fs/xattr.o:/root/kernels/linux-2.6.25-rc7/fs/xattr.c:384: first defined here
> ld: Warning: size of symbol `sys_fgetxattr' changed from 128 in fs/xattr.o to 91 in fs/novfs/built-in.o
> make[1]: *** [fs/built-in.o] Error 1
> make: *** [fs] Error 2

Yes, well this from fs/novfs/inode.c was asking for it really :-)

asmlinkage ssize_t sys_flistxattr(int fd, char __user * list, size_t size)
{
.
.

--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/

Attachment: pgp00000.pgp
Description: PGP signature