On 01/04/19 4:00 PM, kbuild test robot wrote:
Hi Madhavan,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on powerpc/next]
[also build test ERROR on v5.1-rc3 next-20190401]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system]
url:
https://github.com/0day-ci/linux/commits/Madhavan-Srinivasan/powerpc-perf-init-platform-pmu-driver-from-core-book3s/20190401-104458
base: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next
config: powerpc-pmac32_defconfig (attached as .config)
compiler: powerpc-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0
reproduce:
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
GCC_VERSION=7.2.0 make.cross ARCH=powerpc
All errors (new ones prefixed by >>):
arch/powerpc/perf/core-book3s.o: In function `init_ppc64_pmu':
core-book3s.c:(.init.text+0xc): undefined reference to `init_power5_pmu'
core-book3s.c:(.init.text+0x18): undefined reference to `init_power5p_pmu'
core-book3s.c:(.init.text+0x24): undefined reference to `init_power6_pmu'
core-book3s.c:(.init.text+0x30): undefined reference to `init_power7_pmu'
core-book3s.c:(.init.text+0x3c): undefined reference to `init_power8_pmu'
core-book3s.c:(.init.text+0x48): undefined reference to `init_power9_pmu'
core-book3s.c:(.init.text+0x54): undefined reference to `init_ppc970_pmu'
core-book3s.c:(.init.text+0x6c): undefined reference to
`init_generic_compat_pmu'
My bad, missed to add the code under CONFIG_64.
will send out a newer version.
Maddy
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation