[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202208301324.UnOvJU07-lkp@intel.com>
Date: Tue, 30 Aug 2022 13:46:43 +0800
From: kernel test robot <lkp@...el.com>
To: Linus Walleij <linus.walleij@...aro.org>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [arm-integrator:virt-to-pfn-v6.0-rc1 22/24] main.c:undefined
reference to `virt_to_pfn'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git virt-to-pfn-v6.0-rc1
head: fd7709c9f1119794e96665ae423d79d93bfe43fc
commit: f87ff66fb349ec7d2840f4ebc552bfa0018cabb4 [22/24] riscv: Make virt_to_pfn() a real function
config: riscv-nommu_virt_defconfig (https://download.01.org/0day-ci/archive/20220830/202208301324.UnOvJU07-lkp@intel.com/config)
compiler: riscv64-linux-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/linusw/linux-integrator.git/commit/?id=f87ff66fb349ec7d2840f4ebc552bfa0018cabb4
git remote add arm-integrator https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git
git fetch --no-tags arm-integrator virt-to-pfn-v6.0-rc1
git checkout f87ff66fb349ec7d2840f4ebc552bfa0018cabb4
# 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=riscv SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
riscv64-linux-ld: init/main.o: in function `.L0 ':
>> main.c:(.init.text+0x988): undefined reference to `virt_to_pfn'
>> riscv64-linux-ld: main.c:(.init.text+0x9c6): undefined reference to `virt_to_pfn'
riscv64-linux-ld: kernel/fork.o: in function `.L0 ':
>> fork.c:(.text+0x90): undefined reference to `virt_to_pfn'
riscv64-linux-ld: kernel/fork.o: in function `.L.1':
fork.c:(.text+0x316): undefined reference to `virt_to_pfn'
riscv64-linux-ld: kernel/resource.o: in function `alloc_resource':
>> resource.c:(.text+0x54c): undefined reference to `virt_to_pfn'
riscv64-linux-ld: mm/swap.o:swap.c:(.text+0xbe2): more undefined references to `virt_to_pfn' follow
--
0-DAY CI Kernel Test Service
https://01.org/lkp
Powered by blists - more mailing lists