Checking patch nptl/pthread_cond_broadcast.c... error: while searching for: { /* Add as many signals as the remaining size of the group. */ atomic_fetch_add_relaxed (cond->__data.__g_signals + g1, cond->__data.__g_size[g1] << 1); cond->__data.__g_size[g1] = 0; /* We need to wake G1 waiters before we switch G1 below. */ error: patch failed: nptl/pthread_cond_broadcast.c:57 error: nptl/pthread_cond_broadcast.c: patch does not apply Checking patch nptl/pthread_cond_common.c... error: while searching for: behavior. Note that this works correctly for a zero-initialized condvar too. */ unsigned int old_orig_size = __condvar_get_orig_size (cond); uint64_t old_g1_start = __condvar_load_g1_start_relaxed (cond) >> 1; if (((unsigned) (wseq - old_g1_start - old_orig_size) + cond->__data.__g_size[g1 ^ 1]) == 0) return false; /* We have to consider the following kinds of waiters: error: patch failed: nptl/pthread_cond_common.c:208 error: nptl/pthread_cond_common.c: patch does not apply Checking patch nptl/pthread_cond_signal.c... error: while searching for: release-MO store when initializing a group in __condvar_switch_g1 because we use an atomic read-modify-write and thus extend that store's release sequence. */ atomic_fetch_add_relaxed (cond->__data.__g_signals + g1, 2); cond->__data.__g_size[g1]--; /* TODO Only set it if there are indeed futex waiters. */ do_futex_wake = true; error: patch failed: nptl/pthread_cond_signal.c:80 error: nptl/pthread_cond_signal.c: patch does not apply Checking patch nptl/pthread_cond_wait.c... Hunk #2 succeeded at 280 (offset 21 lines). error: while searching for: * Reference count used by waiters concurrently with signalers that have acquired the condvar-internal lock. __g_signals: The number of signals that can still be consumed, relative to the current g1_start. (i.e. bits 31 to 1 of __g_signals are bits 31 to 1 of g1_start with the signal count added) * Used as a futex word by waiters. Used concurrently by waiters and signalers. * LSB is currently reserved and 0. __g_size: Waiters remaining in this group (i.e., which have not been signaled yet. * Accessed by signalers and waiters that cancel waiting (both do so only error: patch failed: nptl/pthread_cond_wait.c:280 error: nptl/pthread_cond_wait.c: patch does not apply