Bugzilla – Bug 632
unbound fails to build on AArch64
Last modified: 2014-12-02 01:21:08 CET
Created attachment 268 [details]
fix for a bug
compat/getentropy_linux.c has a note that SYS__sysctl syscall is on a way to be removed from Linux. And the time has come...
AArch64 (64-bit ARMv8) is one of new architectures which do not support legacy syscalls. SYS__sysctl is one of them and as such is not present at all in system headers (or is protected with proper #ifdef use).
Attached patch makes sure that unbound code checks for SYS__sysctl to be defined before it tries to use getentropy_sysctl() function.
Thank you so much for the patch, I have included it and I think it'll make a 1.5.1rc2 for that.
Best regards, Wouter