On Mon, Jul 19, 2021 at 10:15:05AM +0200, Daniel Wagner wrote: > pthread_getaffinity_np() prevents static builds as glibc does not > expose it for this configuration. Instead use sched_getaffinity() > directly as pthread_getaffinity_np() is just a fancy glibc wrapper > around sched_getaffinity(). > > Static builds helps in in situation where the rootfs is minimal > and does for example not ship libnuma. > > The pthread_getaffinity_np call was introduced by commit > f240656b056b ("rt-tests: cyclictest: Fix -t without a user specified > [NUM]") ping