[cel:topic-nfsd-tracepoints 51/162] ld: fs/lockd/xdrtrace.o:include/trace/../../fs/lockd/xdrtrace.h:97: multiple definition of `__tracepoint_decode_voidargs'; fs/nfsd/xdrtrace.o:include/trace/../../fs/nfsd/xdrtrace.h:60: first defined here

From: kernel test robot
Date: Thu Nov 18 2021 - 14:10:01 EST


tree: git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux topic-nfsd-tracepoints
head: 4f44bfc71b2fdbce5b8b0a85e1b6937ccb6c3977
commit: 9c7eb0f8cb451e64aac52bf42c91b952633b943d [51/162] lockd: Add a tracepoint to record decoded NLM void arguments
config: i386-randconfig-a002-20211003 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/cel/linux.git/commit/?id=9c7eb0f8cb451e64aac52bf42c91b952633b943d
git remote add cel git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux
git fetch --no-tags cel topic-nfsd-tracepoints
git checkout 9c7eb0f8cb451e64aac52bf42c91b952633b943d
# save the attached .config to linux build tree
make W=1 ARCH=i386

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

All errors (new ones prefixed by >>):

>> ld: fs/lockd/xdrtrace.o:include/trace/../../fs/lockd/xdrtrace.h:97: multiple definition of `__tracepoint_decode_voidargs'; fs/nfsd/xdrtrace.o:include/trace/../../fs/nfsd/xdrtrace.h:60: first defined here
ld: fs/lockd/xdrtrace.o: in function `__SCT__tp_func_decode_voidargs':
>> xdrtrace.c:(.static_call.text+0x0): multiple definition of `__SCT__tp_func_decode_voidargs'; fs/nfsd/xdrtrace.o:xdrtrace.c:(.static_call.text+0x0): first defined here
ld: fs/lockd/xdrtrace.o: in function `__traceiter_decode_voidargs':
>> include/trace/../../fs/lockd/xdrtrace.h:97: multiple definition of `__traceiter_decode_voidargs'; fs/nfsd/xdrtrace.o:include/trace/../../fs/nfsd/xdrtrace.h:60: first defined here
>> ld: fs/lockd/xdrtrace.o:include/trace/../../fs/lockd/xdrtrace.h:97: multiple definition of `__SCK__tp_func_decode_voidargs'; fs/nfsd/xdrtrace.o:include/trace/../../fs/nfsd/xdrtrace.h:60: 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