tree:
https://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-misc.git lto-5.7-2
head: 8b6fa2174c4f82a1641d894ef53fc8b5a1d4031e
commit: 9a098db5a93b27ae0b3819c498c6b747f9a4a481 [11/29] lto: Use C version for
SYSCALL_ALIAS / cond_syscall
config: c6x-allnoconfig (attached as .config)
compiler: c6x-elf-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 checkout 9a098db5a93b27ae0b3819c498c6b747f9a4a481
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=c6x
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 >>):
kernel/time/posix-stubs.c:25:17: warning: no previous prototype for
'sys_ni_posix_timers' [-Wmissing-prototypes]
25 | asmlinkage long sys_ni_posix_timers(void)
| ^~~~~~~~~~~~~~~~~~~
In file included from kernel/time/posix-stubs.c:9:
> kernel/time/posix-stubs.c:34:37: error: conflicting types for
'sys_timer_create'
34 | #define SYS_NI(name)
SYSCALL_ALIAS(sys_##name, sys_ni_posix_timers)
| ^~~~
include/linux/linkage.h:32:7: note: in definition of macro 'SYSCALL_ALIAS'
32 | long a(void) __attribute__((alias(__stringify(name))))
| ^
kernel/time/posix-stubs.c:41:1: note: in expansion of macro 'SYS_NI'
41 | SYS_NI(timer_create);
| ^~~~~~
In file included from kernel/time/posix-stubs.c:13:
include/linux/syscalls.h:613:17: note: previous declaration of
'sys_timer_create' was here
613 | asmlinkage long sys_timer_create(clockid_t which_clock,
| ^~~~~~~~~~~~~~~~
In file included from kernel/time/posix-stubs.c:9:
> kernel/time/posix-stubs.c:34:37: error: conflicting types for
'sys_timer_gettime'
34 | #define SYS_NI(name)
SYSCALL_ALIAS(sys_##name, sys_ni_posix_timers)
| ^~~~
include/linux/linkage.h:32:7: note: in definition of macro 'SYSCALL_ALIAS'
32 | long a(void) __attribute__((alias(__stringify(name))))
| ^
kernel/time/posix-stubs.c:42:1: note: in expansion of macro 'SYS_NI'
42 | SYS_NI(timer_gettime);
| ^~~~~~
In file included from kernel/time/posix-stubs.c:13:
include/linux/syscalls.h:616:17: note: previous declaration of
'sys_timer_gettime' was here
616 | asmlinkage long sys_timer_gettime(timer_t timer_id,
| ^~~~~~~~~~~~~~~~~
In file included from kernel/time/posix-stubs.c:9:
> kernel/time/posix-stubs.c:34:37: error: conflicting types for
'sys_timer_getoverrun'
34 | #define SYS_NI(name)
SYSCALL_ALIAS(sys_##name, sys_ni_posix_timers)
| ^~~~
include/linux/linkage.h:32:7: note: in definition of macro 'SYSCALL_ALIAS'
32 | long a(void) __attribute__((alias(__stringify(name))))
| ^
kernel/time/posix-stubs.c:43:1: note: in expansion of macro 'SYS_NI'
43 | SYS_NI(timer_getoverrun);
| ^~~~~~
In file included from kernel/time/posix-stubs.c:13:
include/linux/syscalls.h:618:17: note: previous declaration of
'sys_timer_getoverrun' was here
618 | asmlinkage long sys_timer_getoverrun(timer_t timer_id);
| ^~~~~~~~~~~~~~~~~~~~
In file included from kernel/time/posix-stubs.c:9:
> kernel/time/posix-stubs.c:34:37: error: conflicting types for
'sys_timer_settime'
34 | #define SYS_NI(name)
SYSCALL_ALIAS(sys_##name, sys_ni_posix_timers)
| ^~~~
include/linux/linkage.h:32:7: note: in definition of macro 'SYSCALL_ALIAS'
32 | long a(void) __attribute__((alias(__stringify(name))))
| ^
kernel/time/posix-stubs.c:44:1: note: in expansion of macro 'SYS_NI'
44 | SYS_NI(timer_settime);
| ^~~~~~
In file included from kernel/time/posix-stubs.c:13:
include/linux/syscalls.h:619:17: note: previous declaration of
'sys_timer_settime' was here
619 | asmlinkage long sys_timer_settime(timer_t timer_id, int flags,
| ^~~~~~~~~~~~~~~~~
In file included from kernel/time/posix-stubs.c:9:
> kernel/time/posix-stubs.c:34:37: error: conflicting types for
'sys_timer_delete'
34 | #define SYS_NI(name)
SYSCALL_ALIAS(sys_##name, sys_ni_posix_timers)
| ^~~~
include/linux/linkage.h:32:7: note: in definition of macro 'SYSCALL_ALIAS'
32 | long a(void) __attribute__((alias(__stringify(name))))
| ^
kernel/time/posix-stubs.c:45:1: note: in expansion of macro 'SYS_NI'
45 | SYS_NI(timer_delete);
| ^~~~~~
In file included from kernel/time/posix-stubs.c:13:
include/linux/syscalls.h:622:17: note: previous declaration of
'sys_timer_delete' was here
622 | asmlinkage long sys_timer_delete(timer_t timer_id);
| ^~~~~~~~~~~~~~~~
In file included from kernel/time/posix-stubs.c:9:
> kernel/time/posix-stubs.c:34:37: error: conflicting types for
'sys_clock_adjtime'
34 | #define SYS_NI(name)
SYSCALL_ALIAS(sys_##name, sys_ni_posix_timers)
| ^~~~
include/linux/linkage.h:32:7: note: in definition of macro 'SYSCALL_ALIAS'
32 | long a(void) __attribute__((alias(__stringify(name))))
| ^
kernel/time/posix-stubs.c:46:1: note: in expansion of macro 'SYS_NI'
46 | SYS_NI(clock_adjtime);
| ^~~~~~
In file included from kernel/time/posix-stubs.c:13:
include/linux/syscalls.h:930:17: note: previous declaration of
'sys_clock_adjtime' was here
930 | asmlinkage long sys_clock_adjtime(clockid_t which_clock,
| ^~~~~~~~~~~~~~~~~
In file included from kernel/time/posix-stubs.c:9:
> kernel/time/posix-stubs.c:34:37: error: conflicting types for
'sys_getitimer'
34 | #define SYS_NI(name) SYSCALL_ALIAS(sys_##name,
sys_ni_posix_timers)
| ^~~~
include/linux/linkage.h:32:7: note: in definition of macro 'SYSCALL_ALIAS'
32 | long a(void) __attribute__((alias(__stringify(name))))
| ^
kernel/time/posix-stubs.c:47:1: note: in expansion of macro 'SYS_NI'
47 | SYS_NI(getitimer);
| ^~~~~~
In file included from kernel/time/posix-stubs.c:13:
include/linux/syscalls.h:596:17: note: previous declaration of 'sys_getitimer'
was here
596 | asmlinkage long sys_getitimer(int which, struct __kernel_old_itimerval __user
*value);
| ^~~~~~~~~~~~~
In file included from kernel/time/posix-stubs.c:9:
> kernel/time/posix-stubs.c:34:37: error: conflicting types for
'sys_setitimer'
34 | #define SYS_NI(name) SYSCALL_ALIAS(sys_##name,
sys_ni_posix_timers)
| ^~~~
include/linux/linkage.h:32:7: note: in definition of macro 'SYSCALL_ALIAS'
32 | long a(void) __attribute__((alias(__stringify(name))))
| ^
kernel/time/posix-stubs.c:48:1: note: in expansion of macro 'SYS_NI'
48 | SYS_NI(setitimer);
| ^~~~~~
In file included from kernel/time/posix-stubs.c:13:
include/linux/syscalls.h:597:17: note: previous declaration of 'sys_setitimer'
was here
597 | asmlinkage long sys_setitimer(int which,
| ^~~~~~~~~~~~~
In file included from kernel/time/posix-stubs.c:9:
> kernel/time/posix-stubs.c:34:37: error: conflicting types for
'sys_clock_adjtime32'
34 | #define SYS_NI(name)
SYSCALL_ALIAS(sys_##name, sys_ni_posix_timers)
| ^~~~
include/linux/linkage.h:32:7: note: in definition of macro 'SYSCALL_ALIAS'
32 | long a(void) __attribute__((alias(__stringify(name))))
| ^
kernel/time/posix-stubs.c:49:1: note: in expansion of macro 'SYS_NI'
49 | SYS_NI(clock_adjtime32);
| ^~~~~~
In file included from kernel/time/posix-stubs.c:13:
include/linux/syscalls.h:932:17: note: previous declaration of
'sys_clock_adjtime32' was here
932 | asmlinkage long sys_clock_adjtime32(clockid_t which_clock,
| ^~~~~~~~~~~~~~~~~~~
kernel/time/posix-stubs.c:73:5: warning: no previous prototype for
'do_clock_gettime' [-Wmissing-prototypes]
73 | int do_clock_gettime(clockid_t which_clock, struct timespec64 *tp)
| ^~~~~~~~~~~~~~~~
vim +/sys_timer_create +34 kernel/time/posix-stubs.c
baa73d9e478ff3 Nicolas Pitre 2016-11-11 32
7303e30ec1d8fb Dominik Brodowski 2018-04-05 33 #ifndef SYS_NI
baa73d9e478ff3 Nicolas Pitre 2016-11-11 @34 #define SYS_NI(name)
SYSCALL_ALIAS(sys_##name, sys_ni_posix_timers)
7303e30ec1d8fb Dominik Brodowski 2018-04-05 35 #endif
7303e30ec1d8fb Dominik Brodowski 2018-04-05 36
:::::: The code at line 34 was first introduced by commit
:::::: baa73d9e478ff32d62f3f9422822b59dd9a95a21 posix-timers: Make them configurable
:::::: TO: Nicolas Pitre <nicolas.pitre(a)linaro.org>
:::::: CC: Thomas Gleixner <tglx(a)linutronix.de>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org