On Wed, 12.09.07 13:02, Lennart Poettering (lennart at poettering.net) wrote: > Inspiration for the needed assembly could be glib, or glibc, or even > the kernel (the kernel however is problematic, since the kernel > doesn't do a memory barrier for atomic ops, but otoh there's no smp > for arm, is there? so this doesn't really matter). Just a quick update on this: Apparently only the SVN version of glib supports atomic ops on ARM, so you'd have to take a look in SVN. Also, if the atomic ops are emulated by libatomic_ops with mutexes (the way they are right now on your machine) they are not safe for usage in shared memory, and thus PA on archs unsupported by libatomic_ops *IS PLAIN BROKEN*. Lennart -- Lennart Poettering Red Hat, Inc. lennart [at] poettering [dot] net ICQ# 11060553 http://0pointer.net/lennart/ GnuPG 0x1A015CC4