[trace:trace/core 2/16] ld.lld: error: duplicate symbol: __bpf_trace_btf_ids_dev_reg_evt

kernel test robot <[email protected]> Sat, 01 Aug 2026 01:17:01 +0800
Newsgroups dev.linux.lists.oe-kbuild-all
Message-ID <[email protected]>
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace trace/core
head:   c33330b2ec170dd38b3284a72bc6a07a49cc9a65
commit: 576dcb9014ef62dbf031d5038de059ff53474d87 [2/16] tracing: Expose tracepoint BTF ids via tracefs
config: i386-randconfig-061-20260731 (https://download.01.org/0day-ci/archive/20260801/[email protected]/config)
compiler: clang version 22.1.3 (https://github.com/llvm/llvm-project e9846648fd6183ee6d8cbdb4502213fcf902a211)
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260801/[email protected]/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All errors (new ones prefixed by >>):

>> ld.lld: error: duplicate symbol: __bpf_trace_btf_ids_dev_reg_evt
   >>> defined at trace.h:32 (drivers/net/wireless/mediatek/mt76/trace.h:32)
   >>>            drivers/net/wireless/mediatek/mt76/trace.o:(__bpf_trace_btf_ids_dev_reg_evt) in archive vmlinux.a
   >>> defined at usb_trace.h:27 (drivers/net/wireless/mediatek/mt76/usb_trace.h:27)
   >>>            drivers/net/wireless/mediatek/mt76/usb_trace.o:(.bss+0x0) in archive vmlinux.a

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki