* [zen-kernel-zen-kernel:5.12/muqss 9/16] aarch64-linux-gnu-ld: kernel/sysctl.o:undefined reference to `hrtimer_granularity_us'
@ 2021-07-10 22:35 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-07-10 22:35 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 3248 bytes --]
tree: https://github.com/zen-kernel/zen-kernel 5.12/muqss
head: a80522ac87ce290e80c283fa17988a4a0e57fd04
commit: 17886fe82995e8dbfe595e1d5de8717f3ffc73ed [9/16] Make hrtimer granularity and minimum hrtimeout configurable in sysctl. Set default granularity to 100us and min timeout to 500us.
config: arm64-buildonly-randconfig-r004-20210711 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 8d69635ed9ecf36fd0ca85906bfde17949671cbe)
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 arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
# https://github.com/zen-kernel/zen-kernel/commit/17886fe82995e8dbfe595e1d5de8717f3ffc73ed
git remote add zen-kernel-zen-kernel https://github.com/zen-kernel/zen-kernel
git fetch --no-tags zen-kernel-zen-kernel 5.12/muqss
git checkout 17886fe82995e8dbfe595e1d5de8717f3ffc73ed
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross O=build_dir ARCH=arm64 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
aarch64-linux-gnu-ld: Unexpected GOT/PLT entries detected!
aarch64-linux-gnu-ld: Unexpected run-time procedure linkages detected!
>> aarch64-linux-gnu-ld: kernel/sysctl.o:(.data+0x508): undefined reference to `hrtimer_granularity_us'
aarch64-linux-gnu-ld: kernel/time/hrtimer.o: in function `schedule_usec_hrtimeout':
>> hrtimer.c:(.text+0x38ec): undefined reference to `hrtimer_granularity_us'
aarch64-linux-gnu-ld: kernel/time/hrtimer.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `hrtimer_granularity_us' which may bind externally can not be used when making a shared object; recompile with -fPIC
hrtimer.c:(.text+0x38ec): dangerous relocation: unsupported relocation
>> aarch64-linux-gnu-ld: hrtimer.c:(.text+0x38f0): undefined reference to `hrtimer_granularity_us'
aarch64-linux-gnu-ld: kernel/seccomp.o: in function `seccomp_run_filters':
seccomp.c:(.text+0x1e94): undefined reference to `__cant_migrate'
aarch64-linux-gnu-ld: kernel/bpf/bpf_iter.o: in function `bpf_iter_run_prog':
bpf_iter.c:(.text+0x1650): undefined reference to `__cant_migrate'
aarch64-linux-gnu-ld: kernel/bpf/devmap.o: in function `dev_map_run_prog':
devmap.c:(.text+0x8f8): undefined reference to `__cant_migrate'
aarch64-linux-gnu-ld: kernel/bpf/cpumap.o: in function `cpu_map_bpf_prog_run_xdp':
cpumap.c:(.text+0x2354): undefined reference to `__cant_migrate'
aarch64-linux-gnu-ld: kernel/events/core.o: in function `bpf_overflow_handler':
core.c:(.text+0x192f8): undefined reference to `__cant_migrate'
aarch64-linux-gnu-ld: net/core/flow_dissector.o:flow_dissector.c:(.text+0xa5c): more undefined references to `__cant_migrate' follow
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 37258 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-07-10 22:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-10 22:35 [zen-kernel-zen-kernel:5.12/muqss 9/16] aarch64-linux-gnu-ld: kernel/sysctl.o:undefined reference to `hrtimer_granularity_us' kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.