Comment 7 for bug 491342

Revision history for this message
Dave Martin (dave-martin-arm) wrote :

I got a good build, but it's not quite right... the __sync_synchronize() calls compile away to nothing, which is not what's intended.

For now, the package builds and should run fine on uniprocessor platforms, so this should unblock you, but I'll provide an additional patch shortly once I've worked out what the problem is...

In the meantime, can you disassemble debian/build/deb/glibc/gatomic.o (if you still have the build tree), and double-check check whether there is a call to __sync_val_compare_and_swap_4 in atomic_spin_lock ?

This will confirm that configure is working correctly.

You should also see the following if things worked correctly:

build log:
checking whether to use assembler code for atomic operations... arm
checking whether GCC supports atomic intrinsics... yes

debian/build/gdeb/config.h
#define G_ATOMIC_ARM_USE_GCC_INTRINSICS 1