* Андрей Доценко: > The problem occurs only when using semaphores in a library that is not > linked against pthread. Yes, that's expected. Sorry I didn't see this earlier—we have an upstream bug about this: <https://sourceware.org/bugzilla/show_bug.cgi?id=23543> In general, underlinking produces broken binaries. Thanks, Florian