libunwind: add patch to fix behavior for ARM < v6
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 13 May 2014 21:47:37 +0000 (23:47 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 14 May 2014 07:24:53 +0000 (09:24 +0200)
commit5035b7819ccda95f2b1bbc5fb99175f5dbe26b37
tree1d2c1640d6bfc34b3498dd4fda485466360a84ee
parent63bf62a4738545466b8e6d3b2b21bd338dae8281
libunwind: add patch to fix behavior for ARM < v6

Since libatomic_ops does not implement real atomic operations for
ARMv4 and ARMv5, libunwind must define AO_REQUIRE_CAS do indicate it
requires compare-and-swap operations, even if not available as real
atomic operations for the current architecture. In this case,
libatomic_ops will rely on emulated atomic operations, which also
require linking against libatomic_ops, which was until now not done by
libunwind.

This fixes the mysterious ltrace build issue:

  http://autobuild.buildroot.org/results/e1b/e1b330abfa2d80f3f30bc3359428ea429c690eb8/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/libunwind/libunwind-01-disable-tests.patch [new file with mode: 0644]
package/libunwind/libunwind-02-Add-AO_REQUIRE_CAS-to-fix-build-on-ARM-v6.patch [new file with mode: 0644]
package/libunwind/libunwind-disable-tests.patch [deleted file]
package/libunwind/libunwind.mk