[clk:clk-mediatek 5/62] arc-elf-ld: clk-mt8173-apmixedsys.c:undefined reference to `mtk_clk_unregister_pllfhs'

kernel test robot lkp at intel.com
Sat Mar 18 05:27:30 PDT 2023


tree:   https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-mediatek
head:   eddc63094855f411455db85b77eb8439201dc779
commit: 45a5cbe05d1f562b24db8ce67bd1bb3a3a9ec425 [5/62] clk: mediatek: mt8173: Add support for frequency hopping through FHCTL
config: arc-randconfig-r043-20230312 (https://download.01.org/0day-ci/archive/20230318/202303182041.EbxBxTlR-lkp@intel.com/config)
compiler: arc-elf-gcc (GCC) 12.1.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/clk/linux.git/commit/?id=45a5cbe05d1f562b24db8ce67bd1bb3a3a9ec425
        git remote add clk https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git
        git fetch --no-tags clk clk-mediatek
        git checkout 45a5cbe05d1f562b24db8ce67bd1bb3a3a9ec425
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arc olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arc SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp at intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202303182041.EbxBxTlR-lkp@intel.com/

All errors (new ones prefixed by >>):

   arc-elf-ld: drivers/clk/mediatek/clk-mt8173-apmixedsys.o: in function `clk_mt8173_apmixed_remove':
   clk-mt8173-apmixedsys.c:(.text+0x24): undefined reference to `mtk_clk_unregister_pllfhs'
>> arc-elf-ld: clk-mt8173-apmixedsys.c:(.text+0x24): undefined reference to `mtk_clk_unregister_pllfhs'
   arc-elf-ld: drivers/clk/mediatek/clk-mt8173-apmixedsys.o: in function `clk_mt8173_apmixed_probe':
   clk-mt8173-apmixedsys.c:(.text+0xb6): undefined reference to `fhctl_parse_dt'
>> arc-elf-ld: clk-mt8173-apmixedsys.c:(.text+0xb6): undefined reference to `fhctl_parse_dt'
>> arc-elf-ld: clk-mt8173-apmixedsys.c:(.text+0xd0): undefined reference to `mtk_clk_register_pllfhs'
>> arc-elf-ld: clk-mt8173-apmixedsys.c:(.text+0xd0): undefined reference to `mtk_clk_register_pllfhs'
   arc-elf-ld: clk-mt8173-apmixedsys.c:(.text+0x142): undefined reference to `mtk_clk_unregister_pllfhs'
   arc-elf-ld: clk-mt8173-apmixedsys.c:(.text+0x142): undefined reference to `mtk_clk_unregister_pllfhs'

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests



More information about the linux-arm-kernel mailing list