lkml.org 
[lkml]   [2022]   [Apr]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[jolsa-perf:bpf/fixes 1/4] ld.lld: error: duplicate symbol: kallsyms_lookup_names
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git bpf/fixes
head: ba203a35f44376540c3c5dd72bf9ba0b9cfc4473
commit: c42ec4e0334aacc783148e3571f3e0db53e4220a [1/4] kallsyms: Add kallsyms_lookup_names function
config: arm-randconfig-c002-20220413 (https://download.01.org/0day-ci/archive/20220414/202204140602.5dwlNXPa-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 6b7e6ea489f6dd45a9b0da9ac20871560917b9b0)
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
# install arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
# https://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git/commit/?id=c42ec4e0334aacc783148e3571f3e0db53e4220a
git remote add jolsa-perf https://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git
git fetch --no-tags jolsa-perf bpf/fixes
git checkout c42ec4e0334aacc783148e3571f3e0db53e4220a
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash

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

All errors (new ones prefixed by >>):

>> ld.lld: error: duplicate symbol: kallsyms_lookup_names
>>> defined at analogix_dp_core.c
>>> drivers/gpu/drm/bridge/analogix/analogix_dp_core.o:(kallsyms_lookup_names)
>>> defined at analogix-i2c-dptx.c
>>> drivers/gpu/drm/bridge/analogix/analogix-i2c-dptx.o:(.text+0x1)
--
>> ld.lld: error: duplicate symbol: kallsyms_lookup_names
>>> defined at analogix_dp_core.c
>>> drivers/gpu/drm/bridge/analogix/analogix_dp_core.o:(kallsyms_lookup_names)
>>> defined at analogix_dp_reg.c
>>> drivers/gpu/drm/bridge/analogix/analogix_dp_reg.o:(.text+0x1)
--
>> ld.lld: error: duplicate symbol: kallsyms_lookup_names
>>> defined at kmb_crtc.c
>>> drivers/gpu/drm/kmb/kmb_crtc.o:(kallsyms_lookup_names)
>>> defined at kmb_drv.c
>>> drivers/gpu/drm/kmb/kmb_drv.o:(.text+0x1)
--
>> ld.lld: error: duplicate symbol: kallsyms_lookup_names
>>> defined at kmb_crtc.c
>>> drivers/gpu/drm/kmb/kmb_crtc.o:(kallsyms_lookup_names)
>>> defined at kmb_dsi.c
>>> drivers/gpu/drm/kmb/kmb_dsi.o:(.text+0x1)
--
>> ld.lld: error: duplicate symbol: kallsyms_lookup_names
>>> defined at kmb_crtc.c
>>> drivers/gpu/drm/kmb/kmb_crtc.o:(kallsyms_lookup_names)
>>> defined at kmb_plane.c
>>> drivers/gpu/drm/kmb/kmb_plane.o:(.text+0x1)
--
>> ld.lld: error: duplicate symbol: kallsyms_lookup_names
>>> defined at atmel_hlcdc_crtc.c
>>> drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.o:(kallsyms_lookup_names)
>>> defined at atmel_hlcdc_dc.c
>>> drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.o:(.text+0x1)
--
>> ld.lld: error: duplicate symbol: kallsyms_lookup_names
>>> defined at atmel_hlcdc_crtc.c
>>> drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.o:(kallsyms_lookup_names)
>>> defined at atmel_hlcdc_plane.c
>>> drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.o:(.text+0x1)
--
>> ld.lld: error: duplicate symbol: kallsyms_lookup_names
>>> defined at atmel_hlcdc_crtc.c
>>> drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.o:(kallsyms_lookup_names)
>>> defined at atmel_hlcdc_output.c
>>> drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_output.o:(.text+0x1)
--
>> ld.lld: error: duplicate symbol: kallsyms_lookup_names
>>> defined at shmob_drm_backlight.c
>>> drivers/gpu/drm/shmobile/shmob_drm_backlight.o:(kallsyms_lookup_names)
>>> defined at shmob_drm_crtc.c
>>> drivers/gpu/drm/shmobile/shmob_drm_crtc.o:(.text+0x1)
--
>> ld.lld: error: duplicate symbol: kallsyms_lookup_names
>>> defined at shmob_drm_backlight.c
>>> drivers/gpu/drm/shmobile/shmob_drm_backlight.o:(kallsyms_lookup_names)
>>> defined at shmob_drm_drv.c
>>> drivers/gpu/drm/shmobile/shmob_drm_drv.o:(.text+0x1)
--
>> ld.lld: error: duplicate symbol: kallsyms_lookup_names
>>> defined at shmob_drm_backlight.c
>>> drivers/gpu/drm/shmobile/shmob_drm_backlight.o:(kallsyms_lookup_names)
>>> defined at shmob_drm_plane.c
>>> drivers/gpu/drm/shmobile/shmob_drm_plane.o:(.text+0x1)
..

--
0-DAY CI Kernel Test Service
https://01.org/lkp

\
 
 \ /
  Last update: 2022-04-14 00:55    [W:0.105 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site