<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 20 October 2016 at 09:30, Koen Kooi <span dir="ltr">&lt;<a href="mailto:koen.kooi@linaro.org" target="_blank">koen.kooi@linaro.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div id="gmail-:7kk" class="gmail-a3s gmail-aXjCH gmail-m157e13d74bff2543">+BBCLASSEXTEND = &quot;native nativesdk&quot;<br></div></blockquote><div><br></div><div>The native form fails on Debian stable hosts:</div><div><br></div><div><div>| make[2]: Entering directory &#39;/data/poky-master/tmp-glibc/work/x86_64-linux/libbsd-native/0.8.3-r0/build/src&#39;</div><div>| ../x86_64-linux-libtool  --tag=CC   --mode=compile gcc  -DHAVE_CONFIG_H   -I.. -isystem ../../libbsd-0.8.3/include/bsd/ -include ../config.h -DLIBBSD_OVERLAY -DLIBBSD_DISABLE_DEPRECATED -D__REENTRANT -isystem/data/poky-master/tmp-glibc/sysroots/x86_64-linux/usr/include  -isystem/data/poky-master/tmp-glibc/sysroots/x86_64-linux/usr/include -O2 -pipe -c -o getentropy.lo ../../libbsd-0.8.3/src/getentropy.c</div><div>| x86_64-linux-libtool: compile:  gcc -DHAVE_CONFIG_H -I.. -isystem ../../libbsd-0.8.3/include/bsd/ -include ../config.h -DLIBBSD_OVERLAY -DLIBBSD_DISABLE_DEPRECATED -D__REENTRANT -isystem/data/poky-master/tmp-glibc/sysroots/x86_64-linux/usr/include -isystem/data/poky-master/tmp-glibc/sysroots/x86_64-linux/usr/include -O2 -pipe -c ../../libbsd-0.8.3/src/getentropy.c  -fPIC -DPIC -o .libs/getentropy.o</div><div>| In file included from /usr/include/x86_64-linux-gnu/sys/syscall.h:31:0,</div><div>|                  from ../../libbsd-0.8.3/src/getentropy_linux.c:29,</div><div>|                  from ../../libbsd-0.8.3/src/getentropy.c:28:</div><div>| ../../libbsd-0.8.3/src/getentropy_linux.c: In function ‘getentropy_getrandom’:</div><div>| ../../libbsd-0.8.3/src/getentropy_linux.c:203:17: error: ‘__NR_getrandom’ undeclared (first use in this function)</div><div>|    ret = syscall(SYS_getrandom, buf, len, 0);</div><div>|                  ^</div><div>| ../../libbsd-0.8.3/src/getentropy_linux.c:203:17: note: each undeclared identifier is reported only once for each function it appears in</div></div><div><br></div><div>It&#39;s not wrong - there&#39;s no actual definition of __NR_getrandom in /usr/include here.</div><div><br></div><div>Ross</div></div></div></div>