[OE-core] [PATCH] gnutls_3.5.3.bb: Fix native build on distro with kernel < 3.4.17

Burton, Ross ross.burton at intel.com
Thu Oct 20 10:25:04 UTC 2016


On 18 October 2016 at 02:16, Khem Raj <raj.khem at gmail.com> wrote:

> When using distros which use old kernels gnutls fails to build
> due to missing SYS_getrandom, therefore we need to check for this
> before using it.
> Fixes errorr e.g.
>
> | ../../../gnutls-3.5.3/lib/nettle/rnd-linux.c: In function
> 'have_getrandom':
> | ../../../gnutls-3.5.3/lib/nettle/rnd-linux.c:59:42: error:
> 'SYS_getrandom' undeclared (first use in this function)
> |  #  define getrandom(dst,s,flags) syscall(SYS_getrandom, (void*)dst,
> (size_t)s, (unsigned int)flags)
>
> Signed-off-by: Khem Raj <raj.khem at gmail.com>
>

Alex's upgrade makes this redundant for master, but I suspect you'll want
to re-send it when we have a Morty maintainer.

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20161020/70c503e1/attachment-0002.html>


More information about the Openembedded-core mailing list