[djwong-xfs:defrag-freespace 364/365] xfs_bmap.c:(.text+0x5480): multiple definition of `xfs_rtallocate_extent'; fs/xfs/xfs_trace.o:xfs_trace.c:(.text+0x1a240): first defined here

From: kernel test robot
Date: Thu Aug 26 2021 - 06:28:20 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git defrag-freespace
head: 326d55bb2cd6af6a03ca05d6fb4cc6383132ad8c
commit: 028c5ae42fb7471df7ce18d583b454b55a786936 [364/365] xfs: fallocate free space into a file
config: arc-randconfig-r034-20210826 (attached as .config)
compiler: arceb-elf-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git/commit/?id=028c5ae42fb7471df7ce18d583b454b55a786936
git remote add djwong-xfs https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git
git fetch --no-tags djwong-xfs defrag-freespace
git checkout 028c5ae42fb7471df7ce18d583b454b55a786936
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arc SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

arceb-elf-ld: fs/xfs/libxfs/xfs_bmap.o: in function `xfs_rtallocate_extent':
>> xfs_bmap.c:(.text+0x5480): multiple definition of `xfs_rtallocate_extent'; fs/xfs/xfs_trace.o:xfs_trace.c:(.text+0x1a240): first defined here
arceb-elf-ld: fs/xfs/libxfs/xfs_rmap.o: in function `xfs_rtallocate_extent':
xfs_rmap.c:(.text+0xdc0): multiple definition of `xfs_rtallocate_extent'; fs/xfs/xfs_trace.o:xfs_trace.c:(.text+0x1a240): first defined here
arceb-elf-ld: fs/xfs/libxfs/xfs_refcount.o: in function `xfs_rtallocate_extent':
xfs_refcount.c:(.text+0x4c0): multiple definition of `xfs_rtallocate_extent'; fs/xfs/xfs_trace.o:xfs_trace.c:(.text+0x1a240): first defined here
arceb-elf-ld: fs/xfs/xfs_bmap_util.o: in function `xfs_rtallocate_extent':
xfs_bmap_util.c:(.text+0x340): multiple definition of `xfs_rtallocate_extent'; fs/xfs/xfs_trace.o:xfs_trace.c:(.text+0x1a240): first defined here
arceb-elf-ld: fs/xfs/xfs_fsmap.o: in function `xfs_rtallocate_extent':
xfs_fsmap.c:(.text+0x1ac0): multiple definition of `xfs_rtallocate_extent'; fs/xfs/xfs_trace.o:xfs_trace.c:(.text+0x1a240): first defined here
arceb-elf-ld: fs/xfs/xfs_fsops.o: in function `xfs_rtallocate_extent':
xfs_fsops.c:(.text+0x0): multiple definition of `xfs_rtallocate_extent'; fs/xfs/xfs_trace.o:xfs_trace.c:(.text+0x1a240): first defined here
arceb-elf-ld: fs/xfs/xfs_fsrefs.o: in function `xfs_rtallocate_extent':
xfs_fsrefs.c:(.text+0x1340): multiple definition of `xfs_rtallocate_extent'; fs/xfs/xfs_trace.o:xfs_trace.c:(.text+0x1a240): first defined here
arceb-elf-ld: fs/xfs/xfs_ioctl.o: in function `xfs_rtallocate_extent':
xfs_ioctl.c:(.text+0x3540): multiple definition of `xfs_rtallocate_extent'; fs/xfs/xfs_trace.o:xfs_trace.c:(.text+0x1a240): first defined here
arceb-elf-ld: fs/xfs/xfs_mount.o: in function `xfs_rtallocate_extent':
xfs_mount.c:(.text+0x8c0): multiple definition of `xfs_rtallocate_extent'; fs/xfs/xfs_trace.o:xfs_trace.c:(.text+0x1a240): first defined here
arceb-elf-ld: fs/xfs/xfs_reflink.o: in function `xfs_rtallocate_extent':
xfs_reflink.c:(.text+0x12c0): multiple definition of `xfs_rtallocate_extent'; fs/xfs/xfs_trace.o:xfs_trace.c:(.text+0x1a240): first defined here
arceb-elf-ld: fs/xfs/xfs_xchgrange.o: in function `xfs_rtallocate_extent':
xfs_xchgrange.c:(.text+0x640): multiple definition of `xfs_rtallocate_extent'; fs/xfs/xfs_trace.o:xfs_trace.c:(.text+0x1a240): first defined here
arceb-elf-ld: fs/xfs/xfs_extfree_item.o: in function `xfs_rtallocate_extent':
xfs_extfree_item.c:(.text+0x1740): multiple definition of `xfs_rtallocate_extent'; fs/xfs/xfs_trace.o:xfs_trace.c:(.text+0x1a240): first defined here

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip