Public bug reported: The NPTL lock-related files in glibc ports still use the deprecated SWP instructions. These instructions have been deprecated since ARMv6 and there are even ARMv7 CPUs (Cortex-A9) with these disabled by default. The CONFIG_AEABI support in the Linux kernel provides kernel helpers for atomic compare&exchange operations using LDREX/STREX and the old SWP implementation should no longer be used.
The files in question are: ports/sysdeps/arm/nptl/pthread_spin_lock.S ports/sysdeps/arm/nptl/pthread_spin_trylock.S ports/sysdeps/unix/sysv/linux/arm/nptl/bits/atomic.h The glibc HEAD has these fixes contributed by CodeSourcery: http://sources.redhat.com/cgi- bin/cvsweb.cgi/ports/sysdeps/arm/nptl/?cvsroot=glibc&only_with_tag=HEAD I would be grateful if you include the relevant files in Ubuntu glibc. Thanks. ** Affects: glibc (Ubuntu) Importance: Undecided Status: New -- armel port uses the deprecated SWP instructions https://bugs.launchpad.net/bugs/303188 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs