[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202202250133.pL6WVC3v-lkp@intel.com>
Date: Fri, 25 Feb 2022 03:09:52 +0800
From: kernel test robot <lkp@...el.com>
To: Guo Ren <guoren@...ux.alibaba.com>
Cc: llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
linux-kernel@...r.kernel.org, Palmer Dabbelt <palmer@...osinc.com>
Subject: [csky-linux:riscv_compat_v6 17/20] arch/riscv/kernel/vdso.c:221:15:
error: use of undeclared identifier 'compat_vdso_info'
tree: https://github.com/c-sky/csky-linux riscv_compat_v6
head: 4aafa1859382d5a159bdafe2956453feafd38845
commit: 77ed3d205a86f67815d8d074ff26e73ac1905772 [17/20] riscv: compat: vdso: Add setup additional pages implementation
config: riscv-buildonly-randconfig-r003-20220223 (https://download.01.org/0day-ci/archive/20220225/202202250133.pL6WVC3v-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project d271fc04d5b97b12e6b797c6067d3c96a8d7470e)
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
# install riscv cross compiling tool for clang build
# apt-get install binutils-riscv64-linux-gnu
# https://github.com/c-sky/csky-linux/commit/77ed3d205a86f67815d8d074ff26e73ac1905772
git remote add csky-linux https://github.com/c-sky/csky-linux
git fetch --no-tags csky-linux riscv_compat_v6
git checkout 77ed3d205a86f67815d8d074ff26e73ac1905772
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
>> arch/riscv/kernel/vdso.c:221:15: error: use of undeclared identifier 'compat_vdso_info'
__vdso_init(&compat_vdso_info);
^
1 error generated.
vim +/compat_vdso_info +221 arch/riscv/kernel/vdso.c
217
218 static int __init vdso_init(void)
219 {
220 __vdso_init(&vdso_info);
> 221 __vdso_init(&compat_vdso_info);
222
223 return 0;
224 }
225 arch_initcall(vdso_init);
226
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Powered by blists - more mailing lists