From: kernel test robot <lkp@intel.com>
To: Jiri Olsa <jolsa@kernel.org>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
linux-kernel@vger.kernel.org
Subject: [jolsa-perf:bpf/fixes 1/4] ld.lld: error: duplicate symbol: kallsyms_lookup_names
Date: Thu, 14 Apr 2022 06:53:56 +0800 [thread overview]
Message-ID: <202204140602.5dwlNXPa-lkp@intel.com> (raw)
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
reply other threads:[~2022-04-13 22:54 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202204140602.5dwlNXPa-lkp@intel.com \
--to=lkp@intel.com \
--cc=jolsa@kernel.org \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).