On Tue Jun 22 2021, Florian Weimer wrote: > * Kurt Kanzenbach: > >> At this point __ASSUME_FUTEX_LOCK_PI2 is false meaning the kernel does >> not have FUTEX_LOCK_PI2 support. But, it calls FUTEX_LOCK_PI2 for >> clockid monotonic. This will result in ENOSYS unless it's an old kernel >> which is patched. Is that intended? > > That's not quite how the __ASSUME_* macros work. If not defined, it > just means that glibc won't assume that the kernel feature is there. It > can still use it (the run-time kernel might have it after all), but > glibc has to check for the feature and has to compile in some sort of > fallback code. OK, makes sense. Thanks for the explanation. Thanks, Kurt