tree:
https://github.com/zen-kernel/zen-kernel 5.13/futex2
head: 67f7da92d1cb45a815c7046f8719942a728216d0
commit: 7d77f3e4579cbf82b0d527a4d077caa02e61e313 [2/5] futex2: Implement vectorized wait
config: nds32-defconfig (attached as .config)
compiler: nds32le-linux-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
#
https://github.com/zen-kernel/zen-kernel/commit/7d77f3e4579cbf82b0d527a4d...
git remote add zen-kernel-zen-kernel
https://github.com/zen-kernel/zen-kernel
git fetch --no-tags zen-kernel-zen-kernel 5.13/futex2
git checkout 7d77f3e4579cbf82b0d527a4d077caa02e61e313
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross O=build_dir
ARCH=nds32 SHELL=/bin/bash
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 >>):
10 | #define __SYSCALL(nr, call) [nr] = (call),
| ^
include/uapi/asm-generic/unistd.h:865:1: note: in expansion of macro
'__SYSCALL'
865 | __SYSCALL(__NR_mount_setattr, sys_mount_setattr)
| ^~~~~~~~~
arch/nds32/kernel/syscall_table.c:10:36: note: (near initialization for
'sys_call_table[442]')
10 | #define __SYSCALL(nr, call) [nr] = (call),
| ^
include/uapi/asm-generic/unistd.h:865:1: note: in expansion of macro
'__SYSCALL'
865 | __SYSCALL(__NR_mount_setattr, sys_mount_setattr)
| ^~~~~~~~~
arch/nds32/kernel/syscall_table.c:10:36: warning: initialized field overwritten
[-Woverride-init]
10 | #define __SYSCALL(nr, call) [nr] = (call),
| ^
include/uapi/asm-generic/unistd.h:869:1: note: in expansion of macro
'__SYSCALL'
869 | __SYSCALL(__NR_landlock_create_ruleset, sys_landlock_create_ruleset)
| ^~~~~~~~~
arch/nds32/kernel/syscall_table.c:10:36: note: (near initialization for
'sys_call_table[444]')
10 | #define __SYSCALL(nr, call) [nr] = (call),
| ^
include/uapi/asm-generic/unistd.h:869:1: note: in expansion of macro
'__SYSCALL'
869 | __SYSCALL(__NR_landlock_create_ruleset, sys_landlock_create_ruleset)
| ^~~~~~~~~
arch/nds32/kernel/syscall_table.c:10:36: warning: initialized field overwritten
[-Woverride-init]
10 | #define __SYSCALL(nr, call) [nr] = (call),
| ^
include/uapi/asm-generic/unistd.h:871:1: note: in expansion of macro
'__SYSCALL'
871 | __SYSCALL(__NR_landlock_add_rule, sys_landlock_add_rule)
| ^~~~~~~~~
arch/nds32/kernel/syscall_table.c:10:36: note: (near initialization for
'sys_call_table[445]')
10 | #define __SYSCALL(nr, call) [nr] = (call),
| ^
include/uapi/asm-generic/unistd.h:871:1: note: in expansion of macro
'__SYSCALL'
871 | __SYSCALL(__NR_landlock_add_rule, sys_landlock_add_rule)
| ^~~~~~~~~
arch/nds32/kernel/syscall_table.c:10:36: warning: initialized field overwritten
[-Woverride-init]
10 | #define __SYSCALL(nr, call) [nr] = (call),
| ^
include/uapi/asm-generic/unistd.h:873:1: note: in expansion of macro
'__SYSCALL'
873 | __SYSCALL(__NR_landlock_restrict_self, sys_landlock_restrict_self)
| ^~~~~~~~~
arch/nds32/kernel/syscall_table.c:10:36: note: (near initialization for
'sys_call_table[446]')
10 | #define __SYSCALL(nr, call) [nr] = (call),
| ^
include/uapi/asm-generic/unistd.h:873:1: note: in expansion of macro
'__SYSCALL'
873 | __SYSCALL(__NR_landlock_restrict_self, sys_landlock_restrict_self)
| ^~~~~~~~~
In file included from arch/nds32/include/uapi/asm/unistd.h:10,
from arch/nds32/include/asm/unistd.h:6,
from arch/nds32/kernel/syscall_table.c:16:
include/uapi/asm-generic/unistd.h:875: warning: "__NR_futex_wait" redefined
875 | #define __NR_futex_wait 447
|
In file included from arch/nds32/include/uapi/asm/unistd.h:10,
from arch/nds32/include/asm/unistd.h:6,
from include/uapi/linux/unistd.h:8,
from include/linux/syscalls.h:83,
from arch/nds32/kernel/syscall_table.c:4:
include/uapi/asm-generic/unistd.h:879: note: this is the location of the previous
definition
879 | #define __NR_futex_wait 449
|
arch/nds32/kernel/syscall_table.c:10:36: warning: initialized field overwritten
[-Woverride-init]
10 | #define __SYSCALL(nr, call) [nr] = (call),
| ^
include/uapi/asm-generic/unistd.h:29:37: note: in expansion of macro
'__SYSCALL'
29 | #define __SC_COMP(_nr, _sys, _comp) __SYSCALL(_nr, _sys)
| ^~~~~~~~~
include/uapi/asm-generic/unistd.h:876:1: note: in expansion of macro
'__SC_COMP'
876 | __SC_COMP(__NR_futex_wait, sys_futex_wait, compat_sys_futex_wait)
| ^~~~~~~~~
arch/nds32/kernel/syscall_table.c:10:36: note: (near initialization for
'sys_call_table[447]')
10 | #define __SYSCALL(nr, call) [nr] = (call),
| ^
include/uapi/asm-generic/unistd.h:29:37: note: in expansion of macro
'__SYSCALL'
29 | #define __SC_COMP(_nr, _sys, _comp) __SYSCALL(_nr, _sys)
| ^~~~~~~~~
include/uapi/asm-generic/unistd.h:876:1: note: in expansion of macro
'__SC_COMP'
876 | __SC_COMP(__NR_futex_wait, sys_futex_wait, compat_sys_futex_wait)
| ^~~~~~~~~
arch/nds32/kernel/syscall_table.c:10:36: warning: initialized field overwritten
[-Woverride-init]
10 | #define __SYSCALL(nr, call) [nr] = (call),
| ^
include/uapi/asm-generic/unistd.h:878:1: note: in expansion of macro
'__SYSCALL'
878 | __SYSCALL(__NR_futex_wake, sys_futex_wake)
| ^~~~~~~~~
arch/nds32/kernel/syscall_table.c:10:36: note: (near initialization for
'sys_call_table[448]')
10 | #define __SYSCALL(nr, call) [nr] = (call),
| ^
include/uapi/asm-generic/unistd.h:878:1: note: in expansion of macro
'__SYSCALL'
878 | __SYSCALL(__NR_futex_wake, sys_futex_wake)
| ^~~~~~~~~
In file included from arch/nds32/include/uapi/asm/unistd.h:10,
from arch/nds32/include/asm/unistd.h:6,
from arch/nds32/kernel/syscall_table.c:16:
include/uapi/asm-generic/unistd.h:879: warning: "__NR_futex_wait" redefined
879 | #define __NR_futex_wait 449
|
include/uapi/asm-generic/unistd.h:875: note: this is the location of the previous
definition
875 | #define __NR_futex_wait 447
|
> include/uapi/asm-generic/unistd.h:880:11: error:
'__NR_futex_waitv' undeclared here (not in a function); did you mean
'sys_futex_wait'?
880 | __SC_COMP(__NR_futex_waitv, sys_futex_waitv,
compat_sys_futex_waitv)
| ^~~~~~~~~~~~~~~~
arch/nds32/kernel/syscall_table.c:10:30: note: in definition of macro
'__SYSCALL'
10 | #define __SYSCALL(nr, call) [nr] = (call),
| ^~
include/uapi/asm-generic/unistd.h:880:1: note: in expansion of macro
'__SC_COMP'
880 | __SC_COMP(__NR_futex_waitv, sys_futex_waitv, compat_sys_futex_waitv)
| ^~~~~~~~~
> include/uapi/asm-generic/unistd.h:880:11: error: array index in
initializer not of integer type
880 | __SC_COMP(__NR_futex_waitv,
sys_futex_waitv, compat_sys_futex_waitv)
| ^~~~~~~~~~~~~~~~
arch/nds32/kernel/syscall_table.c:10:30: note: in definition of macro
'__SYSCALL'
10 | #define __SYSCALL(nr, call) [nr] = (call),
| ^~
include/uapi/asm-generic/unistd.h:880:1: note: in expansion of macro
'__SC_COMP'
880 | __SC_COMP(__NR_futex_waitv, sys_futex_waitv, compat_sys_futex_waitv)
| ^~~~~~~~~
include/uapi/asm-generic/unistd.h:880:11: note: (near initialization for
'sys_call_table')
880 | __SC_COMP(__NR_futex_waitv, sys_futex_waitv, compat_sys_futex_waitv)
| ^~~~~~~~~~~~~~~~
arch/nds32/kernel/syscall_table.c:10:30: note: in definition of macro
'__SYSCALL'
10 | #define __SYSCALL(nr, call) [nr] = (call),
| ^~
include/uapi/asm-generic/unistd.h:880:1: note: in expansion of macro
'__SC_COMP'
880 | __SC_COMP(__NR_futex_waitv, sys_futex_waitv, compat_sys_futex_waitv)
| ^~~~~~~~~
include/uapi/asm-generic/unistd.h:880:29: error: 'sys_futex_waitv' undeclared
here (not in a function); did you mean 'sys_futex_wait'?
880 | __SC_COMP(__NR_futex_waitv, sys_futex_waitv, compat_sys_futex_waitv)
| ^~~~~~~~~~~~~~~
arch/nds32/kernel/syscall_table.c:10:37: note: in definition of macro
'__SYSCALL'
10 | #define __SYSCALL(nr, call) [nr] = (call),
| ^~~~
include/uapi/asm-generic/unistd.h:880:1: note: in expansion of macro
'__SC_COMP'
880 | __SC_COMP(__NR_futex_waitv, sys_futex_waitv, compat_sys_futex_waitv)
| ^~~~~~~~~
arch/nds32/kernel/syscall_table.c:10:36: warning: initialized field overwritten
[-Woverride-init]
10 | #define __SYSCALL(nr, call) [nr] = (call),
| ^
arch/nds32/include/uapi/asm/unistd.h:15:1: note: in expansion of macro
'__SYSCALL'
15 | __SYSCALL(__NR_cacheflush, sys_cacheflush)
| ^~~~~~~~~
arch/nds32/kernel/syscall_table.c:10:36: note: (near initialization for
'sys_call_table[244]')
10 | #define __SYSCALL(nr, call) [nr] = (call),
| ^
arch/nds32/include/uapi/asm/unistd.h:15:1: note: in expansion of macro
'__SYSCALL'
15 | __SYSCALL(__NR_cacheflush, sys_cacheflush)
| ^~~~~~~~~
arch/nds32/kernel/syscall_table.c:10:36: warning: initialized field overwritten
[-Woverride-init]
10 | #define __SYSCALL(nr, call) [nr] = (call),
| ^
arch/nds32/include/uapi/asm/unistd.h:16:1: note: in expansion of macro
'__SYSCALL'
16 | __SYSCALL(__NR_fp_udfiex_crtl, sys_fp_udfiex_crtl)
| ^~~~~~~~~
arch/nds32/kernel/syscall_table.c:10:36: note: (near initialization for
'sys_call_table[245]')
10 | #define __SYSCALL(nr, call) [nr] = (call),
| ^
arch/nds32/include/uapi/asm/unistd.h:16:1: note: in expansion of macro
'__SYSCALL'
16 | __SYSCALL(__NR_fp_udfiex_crtl, sys_fp_udfiex_crtl)
| ^~~~~~~~~
vim +880 include/uapi/asm-generic/unistd.h
874
875 #define __NR_futex_wait 447
876 __SC_COMP(__NR_futex_wait, sys_futex_wait, compat_sys_futex_wait)
877 #define __NR_futex_wake 448
878 __SYSCALL(__NR_futex_wake, sys_futex_wake)
879 #define __NR_futex_wait 449
880 __SC_COMP(__NR_futex_waitv, sys_futex_waitv, compat_sys_futex_waitv)
881
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org