tree:
https://android.googlesource.com/kernel/common android11-5.4
head: 68ecddcda842c77056d25f446fc30573c625c828
commit: a5ebd44814f4303c7b249833698574d48ebf1aae [8789/10079] UPSTREAM: arm64: Introduce a
way to disable the 32bit vdso
config: arm-randconfig-r001-20210120 (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 9.3.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
git remote add android-common
https://android.googlesource.com/kernel/common
git fetch --no-tags android-common android11-5.4
git checkout a5ebd44814f4303c7b249833698574d48ebf1aae
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm
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 >>):
arch/arm/kernel/vdso.c: In function 'tk_is_cntvct':
> arch/arm/kernel/vdso.c:284:49: error:
'VDSO_CLOCKMODE_ARCHTIMER' undeclared (first use in this function); did you mean
'VDSO_CLOCKMODE_TIMENS'?
284 | if
(tk->tkr_mono.clock->archdata.clock_mode != VDSO_CLOCKMODE_ARCHTIMER)
| ^~~~~~~~~~~~~~~~~~~~~~~~
| VDSO_CLOCKMODE_TIMENS
arch/arm/kernel/vdso.c:284:49: note: each undeclared identifier is reported only once
for each function it appears in
vim +284 arch/arm/kernel/vdso.c
278
279 static bool tk_is_cntvct(const struct timekeeper *tk)
280 {
281 if (!IS_ENABLED(CONFIG_ARM_ARCH_TIMER))
282 return false;
283
284 if (tk->tkr_mono.clock->archdata.clock_mode !=
VDSO_CLOCKMODE_ARCHTIMER)
285 return false;
286
287 return true;
288 }
289
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org