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 ** Bug watch added: SAGE Trac #10285 http://trac.sagemath.org/sage_trac/ticket/10285 ** Changed in: gcc-linaro Status: New => Invalid -- Generated assembly doesn't correspond to the ARM processor https://bugs.launchpad.net/bugs/677360 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
