On Sat, Nov 5, 2016 at 12:24 AM, Burton, Ross <ross.bur...@intel.com> wrote: > On 4 November 2016 at 21:25, Nicolas Dechesne <nicolas.deche...@linaro.org> > wrote: >> >> So in order to get the build error you are seeing, that means that >> SYS_getrandom is define to NR_getrandom (in syscall.h), but that >> NR_getrandom is not set to the right syscall ID. That makes it quite >> inconsistent.. could we be mixing HOST and sysroot content here? > > > 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.
hmm. not for me... root@nikaia:/usr/include# grep getrandom /usr/include/x86_64-linux-gnu/bits/syscall.h root@nikaia:/usr/include# dpkg -S /usr/include/x86_64-linux-gnu/bits/syscall.h libc6-dev:amd64: /usr/include/x86_64-linux-gnu/bits/syscall.h root@nikaia:/usr/include# dpkg -l | grep libc6-dev ii libc6-dev:amd64 2.19-18+deb8u6 amd64 GNU C Library: Development Libraries and Header Files this is from a fresh jessie debootstrap -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core