* checksyscall warning: #warning syscall getrandom not implemented
[not found] <53c860e1.NmkuD6+D1cCHfXVw%fengguang.wu@intel.com>
@ 2014-07-18 8:15 ` Theodore Ts'o
0 siblings, 0 replies; only message in thread
From: Theodore Ts'o @ 2014-07-18 8:15 UTC (permalink / raw)
To: fengguang.wu; +Cc: linux-kernel, x86, hpa, mingo, tglx
On Fri, Jul 18, 2014 at 07:48:49AM +0800, kbuild test robot wrote:
> All warnings:
>
> <stdin>:1229:2: warning: #warning syscall sched_setattr not implemented [-Wcpp]
> <stdin>:1232:2: warning: #warning syscall sched_getattr not implemented [-Wcpp]
> <stdin>:1235:2: warning: #warning syscall renameat2 not implemented [-Wcpp]
> >> <stdin>:1238:2: warning: #warning syscall getrandom not implemented [-Wcpp]
> --
> kernel/time/Kconfig:162:warning: range is invalid
> <stdin>:1229:2: warning: #warning syscall sched_setattr not implemented [-Wcpp]
> <stdin>:1232:2: warning: #warning syscall sched_getattr not implemented [-Wcpp]
> <stdin>:1235:2: warning: #warning syscall renameat2 not implemented [-Wcpp]
> >> <stdin>:1238:2: warning: #warning syscall getrandom not implemented [-Wcpp]
I was trying to figure out why this warning was happening, because I
was pretty sure I had properly wired up the getrandom syscall. It
looks like the problem was a stale unistd_32.h.
At some point, apprently the generated unistd.h file migrated from:
arch/x86/include/generated/asm/unistd_32.h
to
arch/x86/include/generated/uapi/asm/unistd_32.h
The stale unistd_32.h which was getting picked up by the checksyscalls
script, and this was causing all of these warnings --- both in my
tree, and apparently, the kbuild test robot's tree. It looks like
after the migration, the Makefiles aren't deleting the old generated
unistd.h file automatically. I tried to go through the Makefiles,
quickly got a headache, and decided it was easier to report the
problem than to send a patch :-P
There's a simple workaround anyway. Once I deleted the old, stale,
generated unistd_32.h file, and reran the build, all of the
checksyscall warnings went away.
- Ted
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-07-18 8:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <53c860e1.NmkuD6+D1cCHfXVw%fengguang.wu@intel.com>
2014-07-18 8:15 ` checksyscall warning: #warning syscall getrandom not implemented Theodore Ts'o
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox