Hi Peter,
[FYI, it's a private test report for your RFC patch.]
[auto build test ERROR on tip/sched/core]
[also build test ERROR on kselftest/next tip/master linus/master v5.13-rc2]
[cannot apply to next-20210521]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url:
https://github.com/0day-ci/linux/commits/Peter-Oskolkov/UMCG-early-previe...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git
1699949d3314e5d1956fb082e4cd4798bf6149fc
config: riscv-randconfig-r031-20210523 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
e84a9b9bb3051c35dea993cdad7b3d2575638f85)
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/0day-ci/linux/commit/cefa48e9b296faf3d52b8ebb7dd53f712...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Peter-Oskolkov/UMCG-early-preview-RFC-patchset/20210522-232442
git checkout cefa48e9b296faf3d52b8ebb7dd53f7123993ee0
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=riscv
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 >>):
In file included from arch/riscv/kernel/syscall_table.c:18:
In file included from arch/riscv/include/asm/unistd.h:13:
In file included from arch/riscv/include/uapi/asm/unistd.h:24:
> include/uapi/asm-generic/unistd.h:877:34: error: use of
undeclared identifier 'sys_umcg_api_version'
__SYSCALL(__NR_umcg_api_version, sys_umcg_api_version)
^
> include/uapi/asm-generic/unistd.h:879:36: error: use of
undeclared identifier 'sys_umcg_register_task'
__SYSCALL(__NR_umcg_register_task, sys_umcg_register_task)
^
> include/uapi/asm-generic/unistd.h:881:38: error: use of
undeclared identifier 'sys_umcg_unregister_task'
__SYSCALL(__NR_umcg_unregister_task, sys_umcg_unregister_task)
^
> include/uapi/asm-generic/unistd.h:883:27: error: use of
undeclared identifier 'sys_umcg_wait'; did you mean 'sys_epoll_wait'?
__SYSCALL(__NR_umcg_wait, sys_umcg_wait)
^~~~~~~~~~~~~
sys_epoll_wait
arch/riscv/kernel/syscall_table.c:14:37: note: expanded from macro '__SYSCALL'
#define __SYSCALL(nr, call) [nr] = (call),
^
include/linux/syscalls.h:1154:17: note: 'sys_epoll_wait' declared here
asmlinkage long sys_epoll_wait(int epfd, struct epoll_event __user *events,
^
In file included from arch/riscv/kernel/syscall_table.c:18:
In file included from arch/riscv/include/asm/unistd.h:13:
In file included from arch/riscv/include/uapi/asm/unistd.h:24:
> include/uapi/asm-generic/unistd.h:885:27: error: use of
undeclared identifier 'sys_umcg_wake'
__SYSCALL(__NR_umcg_wake,
sys_umcg_wake)
^
> include/uapi/asm-generic/unistd.h:887:27: error: use of
undeclared identifier 'sys_umcg_swap'
__SYSCALL(__NR_umcg_swap,
sys_umcg_swap)
^
> include/uapi/asm-generic/unistd.h:889:35: error: use of
undeclared identifier 'sys_umcg_create_group'; did you mean
'sysfs_create_group'?
__SYSCALL(__NR_umcg_create_group,
sys_umcg_create_group)
^~~~~~~~~~~~~~~~~~~~~
sysfs_create_group
arch/riscv/kernel/syscall_table.c:14:37: note: expanded from macro '__SYSCALL'
#define __SYSCALL(nr, call) [nr] = (call),
^
include/linux/sysfs.h:285:18: note: 'sysfs_create_group' declared here
int __must_check sysfs_create_group(struct kobject *kobj,
^
In file included from arch/riscv/kernel/syscall_table.c:18:
In file included from arch/riscv/include/asm/unistd.h:13:
In file included from arch/riscv/include/uapi/asm/unistd.h:24:
> include/uapi/asm-generic/unistd.h:891:36: error: use of
undeclared identifier 'sys_umcg_destroy_group'
__SYSCALL(__NR_umcg_destroy_group, sys_umcg_destroy_group)
^
> include/uapi/asm-generic/unistd.h:893:34: error: use of
undeclared identifier 'sys_umcg_poll_worker'
__SYSCALL(__NR_umcg_poll_worker, sys_umcg_poll_worker)
^
> include/uapi/asm-generic/unistd.h:895:33: error: use of
undeclared identifier 'sys_umcg_run_worker'
__SYSCALL(__NR_umcg_run_worker, sys_umcg_run_worker)
^
> include/uapi/asm-generic/unistd.h:897:37: error: use of
undeclared identifier 'sys_umcg_preempt_worker'
__SYSCALL(__NR_umcg_preempt_worker, sys_umcg_preempt_worker)
^
11 errors generated.
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for LOCKDEP
Depends on DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT && (FRAME_POINTER ||
MIPS || PPC || S390 || MICROBLAZE || ARM || ARC || X86)
Selected by
- DEBUG_LOCK_ALLOC && DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT
vim +/sys_umcg_api_version +877 include/uapi/asm-generic/unistd.h
875
876 #define __NR_umcg_api_version 447
877 __SYSCALL(__NR_umcg_api_version, sys_umcg_api_version)
878 #define __NR_umcg_register_task 448
879 __SYSCALL(__NR_umcg_register_task, sys_umcg_register_task)
880 #define __NR_umcg_unregister_task 449
881 __SYSCALL(__NR_umcg_unregister_task, sys_umcg_unregister_task)
882 #define __NR_umcg_wait 450
883 __SYSCALL(__NR_umcg_wait, sys_umcg_wait)
884 #define
__NR_umcg_wake 451
885 __SYSCALL(__NR_umcg_wake, sys_umcg_wake)
886 #define
__NR_umcg_swap 452
887 __SYSCALL(__NR_umcg_swap, sys_umcg_swap)
888 #define
__NR_umcg_create_group 453
889 __SYSCALL(__NR_umcg_create_group, sys_umcg_create_group)
890 #define __NR_umcg_destroy_group 454
891 __SYSCALL(__NR_umcg_destroy_group, sys_umcg_destroy_group)
892 #define __NR_umcg_poll_worker 455
893 __SYSCALL(__NR_umcg_poll_worker, sys_umcg_poll_worker)
894 #define __NR_umcg_run_worker 456
895 __SYSCALL(__NR_umcg_run_worker, sys_umcg_run_worker)
896 #define __NR_umcg_preempt_worker 457
897 __SYSCALL(__NR_umcg_preempt_worker, sys_umcg_preempt_worker)
898
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org