Created attachment 287773 [details] psx.c use sched_yield instead of pthread_yield Hi, The man page for pthread_yield says to use sched_yield instead, and if you look at glibc implementation, it's just a wrapper around sched_yield (https://sourceware.org/git/?p=glibc.git;a=blob;f=nptl/pthread_yield.c;h=57d103cb388a00a8a0f7c4ce6cccaa83744b2235;hb=HEAD) This patch allows building 2.33 libcap using other libc's, like musl. Thank you. -Adam Schaefers
I forgot to mention, the downstream bug report, https://github.com/kisslinux/community/issues/495 Thank you.
Applied: https://git.kernel.org/pub/scm/libs/libcap/libcap.git/commit/?id=551bbc17d64237da0555a817fd4552bd706dd987 This will be included in the future 2.34 release.