Hi Robin,
FYI, the error/warning still remains.
tree:
https://github.com/Freescale/linux-fslc 5.10-2.1.x-imx
head: 3b81a70be1099d44fdafaa6766bf75a2bd9e297e
commit: 94edc79e7319431d303ba9f150381f40b9cd636b [11267/15242] LF-4103: firmware: imx:
svc: misc: fix build error
config: nios2-randconfig-r005-20211004 (attached as .config)
compiler: nios2-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/94edc79e7319431d303ba9f150...
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 94edc79e7319431d303ba9f150381f40b9cd636b
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir
ARCH=nios2 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 >>):
nios2-linux-ld: drivers/clk/imx/clk-composite-8m.o: in function
`imx8m_clk_hw_composite_flags':
> clk-composite-8m.c:(.text+0x430): undefined reference to
`imx_src_is_m4_enabled'
clk-composite-8m.c:(.text+0x430): relocation
truncated to fit: R_NIOS2_CALL26 against `imx_src_is_m4_enabled'
nios2-linux-ld: drivers/clk/imx/clk-gate2.o: in function
`clk_gate2_do_shared_clks':
> clk-gate2.c:(.text+0x84): undefined reference to
`imx_src_is_m4_enabled'
clk-gate2.c:(.text+0x84): relocation truncated to
fit: R_NIOS2_CALL26 against `imx_src_is_m4_enabled'
nios2-linux-ld: drivers/clk/imx/clk-pfd.o: in function `clk_pfd_enable':
> clk-pfd.c:(.text+0x38): undefined reference to
`imx_src_is_m4_enabled'
clk-pfd.c:(.text+0x38): relocation truncated to fit:
R_NIOS2_CALL26 against `imx_src_is_m4_enabled'
nios2-linux-ld: drivers/clk/imx/clk-pfd.o: in function `clk_pfd_disable':
clk-pfd.c:(.text+0x98): undefined reference to `imx_src_is_m4_enabled'
clk-pfd.c:(.text+0x98): relocation truncated to fit: R_NIOS2_CALL26 against
`imx_src_is_m4_enabled'
nios2-linux-ld: drivers/clk/imx/clk-pllv3.o: in function `clk_pllv3_wait_lock':
> clk-pllv3.c:(.text+0x184): undefined reference to
`imx_src_is_m4_enabled'
clk-pllv3.c:(.text+0x184): relocation truncated to
fit: R_NIOS2_CALL26 against `imx_src_is_m4_enabled'
nios2-linux-ld: drivers/clk/imx/clk-pllv3.o:clk-pllv3.c:(.text+0x3d0): more undefined
references to `imx_src_is_m4_enabled' follow
drivers/clk/imx/clk-pllv3.o: in function `clk_pllv3_do_shared_clks':
clk-pllv3.c:(.text+0x3d0): relocation truncated to fit: R_NIOS2_CALL26 against
`imx_src_is_m4_enabled'
nios2-linux-ld: drivers/clk/imx/clk-imx8mm.o: in function `imx8mm_clocks_probe':
> clk-imx8mm.c:(.text+0x14c): undefined reference to
`check_m4_enabled'
clk-imx8mm.c:(.text+0x14c): relocation truncated to fit:
R_NIOS2_CALL26 against `check_m4_enabled'
nios2-linux-ld: drivers/clk/imx/clk-imx8mp.o: in function `imx8mp_clocks_probe':
> clk-imx8mp.c:(.text+0x2e4): undefined reference to
`check_m4_enabled'
clk-imx8mp.c:(.text+0x2e4): relocation truncated to fit:
R_NIOS2_CALL26 against `check_m4_enabled'
nios2-linux-ld: drivers/clk/imx/clk-imx8mq.o: in function `imx8mq_clocks_probe':
> clk-imx8mq.c:(.text+0x48): undefined reference to
`check_m4_enabled'
clk-imx8mq.c:(.text+0x48): relocation truncated to fit:
R_NIOS2_CALL26 against `check_m4_enabled'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org