Checking patch include/atomic.h... error: while searching for: /* Atomically store NEWVAL in *MEM if *MEM is equal to OLDVAL. Return the old *MEM value. */ #if !defined atomic_compare_and_exchange_val_acq \ && defined __arch_compare_and_exchange_val_32_acq # define atomic_compare_and_exchange_val_acq(mem, newval, oldval) \ __atomic_val_bysize (__arch_compare_and_exchange_val,acq, \ mem, newval, oldval) #endif #ifndef atomic_compare_and_exchange_val_rel # define atomic_compare_and_exchange_val_rel(mem, newval, oldval) \ atomic_compare_and_exchange_val_acq (mem, newval, oldval) #endif /* Atomically store NEWVAL in *MEM if *MEM is equal to OLDVAL. Return zero if *MEM was changed or non-zero if no exchange happened. */ #ifndef atomic_compare_and_exchange_bool_acq # ifdef __arch_compare_and_exchange_bool_32_acq # define atomic_compare_and_exchange_bool_acq(mem, newval, oldval) \ __atomic_bool_bysize (__arch_compare_and_exchange_bool,acq, \ mem, newval, oldval) # else # define atomic_compare_and_exchange_bool_acq(mem, newval, oldval) \ ({ /* Cannot use __oldval here, because macros later in this file might \ call this macro with __oldval argument. */ \ __typeof (oldval) __atg3_old = (oldval); \ atomic_compare_and_exchange_val_acq (mem, newval, __atg3_old) \ != __atg3_old; \ }) # endif #endif /* Store NEWVALUE in *MEM and return the old value. */ error: patch failed: include/atomic.h:78 Hunk #2 succeeded at 600 (offset 274 lines). Checking patch nscd/nscd-client.h... Applying patch include/atomic.h with 1 reject... Rejected hunk #1. Hunk #2 applied cleanly. Applied patch nscd/nscd-client.h cleanly.