lkml.org 
[lkml]   [2021]   [Nov]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectpowerpc-linux-ld: warning: orphan section `.init.plt' from `drivers/mfd/rsmu_core.o' being placed in section `.init.plt'
Hi Min,

First bad commit (maybe != root cause):

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: a4849f6000e29235a2707f22e39da6b897bb9543
commit: a1867f85e06edacd82956d3422caa2b9074f4321 mfd: Add Renesas Synchronization Management Unit (SMU) support
date: 5 months ago
config: powerpc-randconfig-r034-20211123 (https://download.01.org/0day-ci/archive/20211126/202111261824.M3qMRnY5-lkp@intel.com/config)
compiler: powerpc-linux-gcc (GCC) 11.2.0
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
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a1867f85e06edacd82956d3422caa2b9074f4321
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout a1867f85e06edacd82956d3422caa2b9074f4321
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=powerpc SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> powerpc-linux-ld: warning: orphan section `.init.plt' from `drivers/mfd/rsmu_core.o' being placed in section `.init.plt'
powerpc-linux-ld: arch/powerpc/sysdev/cpm_gpio.o:(.rodata+0xd0): undefined reference to `cpm1_gpiochip_add16'
powerpc-linux-ld: arch/powerpc/sysdev/cpm_gpio.o:(.rodata+0x194): undefined reference to `cpm1_gpiochip_add32'
powerpc-linux-ld: arch/powerpc/sysdev/cpm_gpio.o:(.rodata+0x258): undefined reference to `cpm1_gpiochip_add16'
powerpc-linux-ld: arch/powerpc/sysdev/cpm_gpio.o:(.rodata+0x31c): undefined reference to `cpm1_gpiochip_add16'
powerpc-linux-ld: arch/powerpc/platforms/8xx/m8xx_setup.o: in function `cpm_cascade':
m8xx_setup.c:(.text+0x28): undefined reference to `cpm_get_irq'
powerpc-linux-ld: arch/powerpc/platforms/8xx/m8xx_setup.o: in function `mpc8xx_set_rtc_time':
m8xx_setup.c:(.text+0x46): undefined reference to `mpc8xx_immr'
powerpc-linux-ld: m8xx_setup.c:(.text+0x52): undefined reference to `mpc8xx_immr'
powerpc-linux-ld: arch/powerpc/platforms/8xx/m8xx_setup.o: in function `mpc8xx_get_rtc_time':
m8xx_setup.c:(.text+0x92): undefined reference to `mpc8xx_immr'
powerpc-linux-ld: m8xx_setup.c:(.text+0x9e): undefined reference to `mpc8xx_immr'
powerpc-linux-ld: arch/powerpc/platforms/8xx/m8xx_setup.o: in function `mpc8xx_restart':
m8xx_setup.c:(.text+0xda): undefined reference to `mpc8xx_immr'
powerpc-linux-ld: arch/powerpc/platforms/8xx/m8xx_setup.o:m8xx_setup.c:(.text+0xe6): more undefined references to `mpc8xx_immr' follow
powerpc-linux-ld: arch/powerpc/platforms/8xx/m8xx_setup.o: in function `mpc8xx_pics_init':
m8xx_setup.c:(.init.text+0x2c8): undefined reference to `cpm_pic_init'

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

\
 
 \ /
  Last update: 2021-11-26 11:46    [W:0.021 / U:1.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site