Comment 3 for bug 677360

Revision history for this message
Michael Hope (michaelh1) wrote :

Hi there. I think the original author has a configuration problem. The code above is in sysdeps/gcc/arm.h and has two chunks: one with a #ifdef __ARMv6__ around it which uses the correct Thumb-2 instructions, and the fallback version for earlier architectures that uses the (no longer supported) 'swp' instruction. For some reason his setup is picking up the pre-v6 version.

Note that the same code in the libatomic-ops-dev compiles correctly under Ubuntu Maverick. I don't think this is a compiler problem.

I've posted more detail on the original bug at:
 http://trac.sagemath.org/sage_trac/ticket/10285