All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Anup Patel <anup.patel@oss.qualcomm.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
	Himanshu Chauhan <himanshu.chauhan@oss.qualcomm.com>
Subject: [avpatel:riscv_mpxy_imp_v1 2/5] ld.lld: error: duplicate symbol: sbi_mpxy_read_attrs
Date: Wed, 30 Sep 2026 21:10:55 +0800	[thread overview]
Message-ID: <202609302048.lrMAmhfT-lkp@intel.com> (raw)

tree:   https://github.com/avpatel/linux.git riscv_mpxy_imp_v1
head:   ca441e957bb4806b528959ae80efb7e7a9f5447a
commit: 36c74ca9f1dd2278453c544310c73d45beb9c993 [2/5] RISC-V: Move common MPXY helper routines to arch/riscv
config: riscv-nommu_k210_defconfig (https://download.01.org/0day-ci/archive/20260930/202609302048.lrMAmhfT-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 5f609f950d2e80addf5566623013db68394334db)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260930/202609302048.lrMAmhfT-lkp@intel.com/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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202609302048.lrMAmhfT-lkp@intel.com/

All errors (new ones prefixed by >>):

>> ld.lld: error: duplicate symbol: sbi_mpxy_read_attrs
   >>> defined at alternative.c
   >>>            arch/riscv/kernel/alternative.o:(sbi_mpxy_read_attrs) in archive vmlinux.a
   >>> defined at cpu.c
   >>>            arch/riscv/kernel/cpu.o:(.text+0x0) in archive vmlinux.a
--
>> ld.lld: error: duplicate symbol: sbi_mpxy_write_attrs
   >>> defined at alternative.c
   >>>            arch/riscv/kernel/alternative.o:(sbi_mpxy_write_attrs) in archive vmlinux.a
   >>> defined at cpu.c
   >>>            arch/riscv/kernel/cpu.o:(.text+0x40) in archive vmlinux.a
--
>> ld.lld: error: duplicate symbol: sbi_mpxy_get_notifications
   >>> defined at alternative.c
   >>>            arch/riscv/kernel/alternative.o:(sbi_mpxy_get_notifications) in archive vmlinux.a
   >>> defined at cpufeature.c
   >>>            arch/riscv/kernel/cpufeature.o:(.text+0x100) in archive vmlinux.a
--
>> ld.lld: error: duplicate symbol: sbi_mpxy_read_attrs
   >>> defined at alternative.c
   >>>            arch/riscv/kernel/alternative.o:(sbi_mpxy_read_attrs) in archive vmlinux.a
   >>> defined at irq.c
   >>>            arch/riscv/kernel/irq.o:(.text+0x0) in archive vmlinux.a
--
>> ld.lld: error: duplicate symbol: sbi_mpxy_write_attrs
   >>> defined at alternative.c
   >>>            arch/riscv/kernel/alternative.o:(sbi_mpxy_write_attrs) in archive vmlinux.a
   >>> defined at irq.c
   >>>            arch/riscv/kernel/irq.o:(.text+0x40) in archive vmlinux.a
--
>> ld.lld: error: duplicate symbol: sbi_mpxy_send_message_with_resp
   >>> defined at alternative.c
   >>>            arch/riscv/kernel/alternative.o:(sbi_mpxy_send_message_with_resp) in archive vmlinux.a
   >>> defined at irq.c
   >>>            arch/riscv/kernel/irq.o:(.text+0x80) in archive vmlinux.a
--
>> ld.lld: error: duplicate symbol: sbi_mpxy_write_attrs
   >>> defined at alternative.c
   >>>            arch/riscv/kernel/alternative.o:(sbi_mpxy_write_attrs) in archive vmlinux.a
   >>> defined at cacheflush.c
   >>>            arch/riscv/mm/cacheflush.o:(.text+0x40) in archive vmlinux.a
--
>> ld.lld: error: duplicate symbol: sbi_mpxy_read_attrs
   >>> defined at alternative.c
   >>>            arch/riscv/kernel/alternative.o:(sbi_mpxy_read_attrs) in archive vmlinux.a
   >>> defined at traps_misaligned.c
   >>>            arch/riscv/kernel/traps_misaligned.o:(.text+0x0) in archive vmlinux.a
--
>> ld.lld: error: duplicate symbol: sbi_mpxy_write_attrs
   >>> defined at alternative.c
   >>>            arch/riscv/kernel/alternative.o:(sbi_mpxy_write_attrs) in archive vmlinux.a
   >>> defined at traps_misaligned.c
   >>>            arch/riscv/kernel/traps_misaligned.o:(.text+0x40) in archive vmlinux.a
--
>> ld.lld: error: duplicate symbol: sbi_mpxy_send_message_with_resp
   >>> defined at alternative.c
   >>>            arch/riscv/kernel/alternative.o:(sbi_mpxy_send_message_with_resp) in archive vmlinux.a
   >>> defined at traps_misaligned.c
   >>>            arch/riscv/kernel/traps_misaligned.o:(.text+0x80) in archive vmlinux.a
--
>> ld.lld: error: duplicate symbol: sbi_mpxy_send_message_without_resp
   >>> defined at alternative.c
   >>>            arch/riscv/kernel/alternative.o:(sbi_mpxy_send_message_without_resp) in archive vmlinux.a
   >>> defined at traps_misaligned.c
   >>>            arch/riscv/kernel/traps_misaligned.o:(.text+0xc0) in archive vmlinux.a
..

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

                 reply	other threads:[~2026-09-30 13:11 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=202609302048.lrMAmhfT-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=anup.patel@oss.qualcomm.com \
    --cc=himanshu.chauhan@oss.qualcomm.com \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.