llvm.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Arnd Bergmann <arnd@arndb.de>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
	linux-arm-kernel@lists.infradead.org, arm@kernel.org
Subject: [soc:omap1-multiplatform-5.18 33/33] ld.lld: error: duplicate symbol: clk_disable
Date: Sat, 16 Apr 2022 13:20:34 +0800	[thread overview]
Message-ID: <202204161327.Y9mh0O8D-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git omap1-multiplatform-5.18
head:   fab2b1f2488cb81853e5e8c7d37d58963b8462bc
commit: fab2b1f2488cb81853e5e8c7d37d58963b8462bc [33/33] [NOTYET] ARM: omap1: enable multiplatform
config: arm-omap1_defconfig (https://download.01.org/0day-ci/archive/20220416/202204161327.Y9mh0O8D-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/soc/soc.git/commit/?id=fab2b1f2488cb81853e5e8c7d37d58963b8462bc
        git remote add soc https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git
        git fetch --no-tags soc omap1-multiplatform-5.18
        git checkout fab2b1f2488cb81853e5e8c7d37d58963b8462bc
        # 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: clk_disable
   >>> defined at clock.c
   >>> clock.o:(clk_disable) in archive arch/arm/mach-omap1/built-in.a
   >>> defined at clk.c
   >>> clk/clk.o:(.text+0x2168) in archive drivers/built-in.a
--
>> ld.lld: error: duplicate symbol: clk_enable
   >>> defined at clock.c
   >>> clock.o:(clk_enable) in archive arch/arm/mach-omap1/built-in.a
   >>> defined at clk.c
   >>> clk/clk.o:(.text+0x2400) in archive drivers/built-in.a
--
>> ld.lld: error: duplicate symbol: clk_round_rate
   >>> defined at clock.c
   >>> clock.o:(clk_round_rate) in archive arch/arm/mach-omap1/built-in.a
   >>> defined at clk.c
   >>> clk/clk.o:(.text+0x2758) in archive drivers/built-in.a
--
>> ld.lld: error: duplicate symbol: clk_get_rate
   >>> defined at clock.c
   >>> clock.o:(clk_get_rate) in archive arch/arm/mach-omap1/built-in.a
   >>> defined at clk.c
   >>> clk/clk.o:(.text+0x2A94) in archive drivers/built-in.a
--
>> ld.lld: error: duplicate symbol: clk_set_rate
   >>> defined at clock.c
   >>> clock.o:(clk_set_rate) in archive arch/arm/mach-omap1/built-in.a
   >>> defined at clk.c
   >>> clk/clk.o:(.text+0x2CF4) in archive drivers/built-in.a
--
>> ld.lld: error: duplicate symbol: clk_get_parent
   >>> defined at clock.c
   >>> clock.o:(clk_get_parent) in archive arch/arm/mach-omap1/built-in.a
   >>> defined at clk.c
   >>> clk/clk.o:(.text+0x3634) in archive drivers/built-in.a
--
>> ld.lld: error: duplicate symbol: clk_set_parent
   >>> defined at clock.c
   >>> clock.o:(clk_set_parent) in archive arch/arm/mach-omap1/built-in.a
   >>> defined at clk.c
   >>> clk/clk.o:(.text+0x3A58) in archive drivers/built-in.a
--
>> ld.lld: error: duplicate symbol: clk_register
   >>> defined at clock.c
   >>> clock.o:(clk_register) in archive arch/arm/mach-omap1/built-in.a
   >>> defined at clk.c
   >>> clk/clk.o:(.text+0x46F8) in archive drivers/built-in.a
--
>> ld.lld: error: duplicate symbol: clk_unregister
   >>> defined at clock.c
   >>> clock.o:(clk_unregister) in archive arch/arm/mach-omap1/built-in.a
   >>> defined at clk.c
   >>> clk/clk.o:(.text+0x51FC) in archive drivers/built-in.a

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

                 reply	other threads:[~2022-04-16  5:20 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=202204161327.Y9mh0O8D-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=arm@kernel.org \
    --cc=arnd@arndb.de \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-arm-kernel@lists.infradead.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).