(.init.text+0x134): multiple definition of `plat_irq_setup'; arch/sh/kernel/cpu/sh2/setup-sh7619.o:(.init.text+0x30): first defined here
From: kbuild test robot
Date: Mon Mar 11 2019 - 03:10:37 EST
Hi Takashi,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 12ad143e1b803e541e48b8ba40f550250259ecdd
commit: c97617a81a7616d49bc3700959e08c6c6f447093 ALSA: hda/ca0132 - Fix build error without CONFIG_PCI
date: 5 weeks ago
config: sh-allmodconfig (attached as .config)
compiler: sh4-linux-gnu-gcc (Debian 8.2.0-11) 8.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout c97617a81a7616d49bc3700959e08c6c6f447093
# save the attached .config to linux build tree
GCC_VERSION=8.2.0 make.cross ARCH=sh
All errors (new ones prefixed by >>):
sh4-linux-gnu-ld: arch/sh/boards/of-generic.o: in function `plat_irq_setup':
>> (.init.text+0x134): multiple definition of `plat_irq_setup'; arch/sh/kernel/cpu/sh2/setup-sh7619.o:(.init.text+0x30): first defined here
sh4-linux-gnu-ld: arch/sh/boards/of-generic.o: in function `arch_init_clk_ops':
>> (.init.text+0x118): multiple definition of `arch_init_clk_ops'; arch/sh/kernel/cpu/sh2/clock-sh7619.o:(.init.text+0x0): first defined here
make[1]: *** [vmlinux] Error 1
make[1]: Target '_all' not remade because of errors.
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip