tree:
https://github.com/Freescale/linux-fslc 5.10-2.1.x-imx
head: f28a9b90c506241e614212f2ce314d8f5460819d
commit: 6375d33dce9af7567e197f84b698fb268888eada [1724/9999] soc: imx8m: change to use
platform driver
config: powerpc64-randconfig-p002-20220120
(
https://download.01.org/0day-ci/archive/20220123/202201230158.IOSt99j4-lk...)
compiler: powerpc64le-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://github.com/Freescale/linux-fslc/commit/6375d33dce9af7567e197f84b6...
git remote add freescale-fslc
https://github.com/Freescale/linux-fslc
git fetch --no-tags freescale-fslc 5.10-2.1.x-imx
git checkout 6375d33dce9af7567e197f84b698fb268888eada
# 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(a)intel.com>
All errors (new ones prefixed by >>):
powerpc64le-linux-ld: warning: discarding dynamic section .glink
powerpc64le-linux-ld: warning: discarding dynamic section .plt
powerpc64le-linux-ld: linkage table error against `linflex_string_write'
powerpc64le-linux-ld: stubs don't match calculated size
powerpc64le-linux-ld: can not build stubs: bad value
powerpc64le-linux-ld: drivers/soc/imx/soc-imx8m.o: in function `imx8_soc_info':
soc-imx8m.c:(.text+0x324): undefined reference to `__arm_smccc_smc'
> powerpc64le-linux-ld: soc-imx8m.c:(.text+0x398): undefined
reference to `__arm_smccc_smc'
powerpc64le-linux-ld:
drivers/soc/imx/soc-imx8m.o: in function `check_m4_enabled':
soc-imx8m.c:(.text+0x508): undefined reference to `__arm_smccc_smc'
powerpc64le-linux-ld: drivers/tty/serial/fsl_linflexuart.o: in function
`linflex_set_termios':
fsl_linflexuart.c:(.text+0x1288): undefined reference to `linflex_string_write'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org