On Fri, 2016-11-04 at 23:24 +0000, Burton, Ross wrote:
No, I checked the files in /usr on the host, as this is a native build it should be linking against the host libc.

$ grep -r getrandom
x86_64-linux-gnu/bits/syscall.h:#define SYS_getrandom __NR_getrandom
x86_64-linux-gnu/bits/syscall.h:#define SYS_getrandom __NR_getrandom
x86_64-linux-gnu/bits/syscall.h:#define SYS_getrandom __NR_getrandom

Yes, looks like Debian headers are a bit broken.

That would happen if your glibc was compiled against a newer version of the kernel headers than you actually have installed (bits/syscall.h is auto-generated from the kernel headers at build time). If this is a clean Debian install then it does sound like they have messed up the packaging somehow.

p.