ivmai/libatomic_ops — Issue #3: On Linux, ARMv5tel does not have all functions available
Author: nixpanic
Created: 2012-03-03 15:01:57+00:00
State: open

It seems that libatomic_ops provides an optimized implementation for ARMv6 and newer architectures. Unfortunately there are no asm functions for ARMv5, which should fallback automatically to the pthread implementation.

This [proposed patch](http://pkgs.fedoraproject.org/gitweb/?p=gc.git;a=blob;f=gc-7.2alpha6-libatomic_ops_arm5.patch;h=84e9bba6287093d106ecfbbdc083e0e320af5be1;hb=73b5e99c72ab0dd1248cc8326139893cfd20408d) is already available in the Fedora package. This change should provide the pthread implementation when atomic_ops.h is included on ARMv5 and earlier architectures.

Please review and include this in the next release if it make sense. Thanks!