Comment 3 for bug 491342

Revision history for this message
Alexander Sack (asac) wrote :

code failing is here:

static int atomic_spin_trylock (void)
{
  int result;

  asm volatile (
    "swp %0, %1, [%2]\n"
    : "=&r,&r" (result)
    : "r,0" (1), "r,r" (&atomic_spin)
    : "memory");
  if (result == 0)
    return 0;
  else
    return -1;
}

Dave, any obvious proper fix we can use ... otherwise we probably want to go for -marm to stop all rdepends of glib from failing.