On 15. 04. 20 17:49, Florian Weimer wrote:
This follows the removal of the system call from Linux 5.5. Having the header and function just confuses configure checks that assume that if the function is present, it will do something useful (it never did on aarch64, and it's been many years since it worked on Fedora kernels on other architectures).
Replacements are uname, getentropy, and reading from /proc, but I really do not expect much fallout from this (famous last words).
The kernel headers still provide <linux/sysctl.h>, but that will eventually disappear as well.
swift-lang fails to build:
/builddir/build/BUILD/swift-source/swift-corelibs-foundation/CoreFoundation/PlugIn.subproj/CFBundle_InfoPlist.c:21:10: fatal error: 'sys/sysctl.h' file not found #include <sys/sysctl.h> ^~~~~~~~~~~~~~