[OE-core] [PATCH] libbsd 0.8.3: BBCLASSEXTEND to native and nativesdk
Nicolas Dechesne
nicolas.dechesne at linaro.org
Fri Nov 4 23:47:38 UTC 2016
On Sat, Nov 5, 2016 at 12:24 AM, Burton, Ross <ross.burton at intel.com> wrote:
> On 4 November 2016 at 21:25, Nicolas Dechesne <nicolas.dechesne at 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 at nikaia:/usr/include# grep getrandom
/usr/include/x86_64-linux-gnu/bits/syscall.h
root at 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 at 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
More information about the Openembedded-core
mailing list