Messages in this thread | | | Date | Wed, 2 Jun 2021 14:42:18 -0700 | From | Kees Cook <> | Subject | Re: aarch64-linux-ld: Unexpected GOT/PLT entries detected! |
| |
On Sun, May 30, 2021 at 09:29:28AM +0800, kernel test robot wrote: > Hi Kees, > > FYI, the error/warning still remains. > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > head: df8c66c4cfb91f2372d138b9b714f6df6f506966 > commit: be2881824ae9eb92a35b094f734f9ca7339ddf6d arm64/build: Assert for unwanted sections > date: 9 months ago > config: arm64-randconfig-r012-20210530 (attached as .config) > compiler: aarch64-linux-gcc (GCC) 9.3.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=be2881824ae9eb92a35b094f734f9ca7339ddf6d > git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > git fetch --no-tags linus master > git checkout be2881824ae9eb92a35b094f734f9ca7339ddf6d > # save the attached .config to linux build tree > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64 > > 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 >>): > > >> aarch64-linux-ld: Unexpected GOT/PLT entries detected! > >> aarch64-linux-ld: Unexpected run-time procedure linkages detected! > aarch64-linux-ld: drivers/gpu/drm/pl111/pl111_versatile.o: in function `pl111_versatile_init': > (.text+0x270): undefined reference to `devm_regmap_init_vexpress_config'
When the other linker failures are fixed the GOT/PLT errors go away from me. I'll send those patches separately...
-- Kees Cook
| |