[arm64:for-next/ftrace 2/9] (.text+0x800): multiple definition of `pcap_init'; arch/um/drivers/pcap_kern.o:pcap_kern.c:(.text+0x40): first defined here

kernel test robot lkp at intel.com
Sat Jan 28 16:05:28 PST 2023


tree:   https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-next/ftrace
head:   dc4824faa265db1bc93449e8ec386a0245404fa6
commit: c27cd083cfb9d392f304657ed00fcde1136704e7 [2/9] Compiler attributes: GCC cold function alignment workarounds
config: um-allyesconfig (https://download.01.org/0day-ci/archive/20230129/202301290725.8aJgJtiQ-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-8) 11.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git/commit/?id=c27cd083cfb9d392f304657ed00fcde1136704e7
        git remote add arm64 https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git
        git fetch --no-tags arm64 for-next/ftrace
        git checkout c27cd083cfb9d392f304657ed00fcde1136704e7
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=um olddefconfig
        make W=1 O=build_dir ARCH=um SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp at intel.com>

All errors (new ones prefixed by >>):

   ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/libpcap.a(pcap.o): in function `pcap_init':
>> (.text+0x800): multiple definition of `pcap_init'; arch/um/drivers/pcap_kern.o:pcap_kern.c:(.text+0x40): first defined here

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



More information about the linux-arm-kernel mailing list