On 01/04/2010 05:27 PM, Helge Deller wrote:
If my assumptions are correct, then we either could a) use the gcc atomic builtins instead of own atomic code in libc6: E.g: add to ports/sysdeps/unix/sysv/linux/hppa/bits/atomic.h: ... #if __GNUC_PREREQ (4, 1) # define atomic_compare_and_exchange_val_acq(mem, newval, oldval) \ __sync_val_compare_and_swap (mem, oldval, newval) # define atomic_compare_and_exchange_bool_acq(mem, newval, oldval) \ (! __sync_bool_compare_and_swap (mem, oldval, newval)) #elif __ASSUME_LWS_CAS ....
Even with this change, minifail sadly still segfaults :-( Helge -- To unsubscribe from this list: send the line "unsubscribe linux-parisc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html