diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-05-13 23:47:37 +0200 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2014-05-14 09:24:53 +0200 |
commit | 5035b7819ccda95f2b1bbc5fb99175f5dbe26b37 (patch) | |
tree | 1d2c1640d6bfc34b3498dd4fda485466360a84ee /package/libunwind/libunwind-disable-tests.patch | |
parent | 63bf62a4738545466b8e6d3b2b21bd338dae8281 (diff) | |
download | buildroot-5035b7819ccda95f2b1bbc5fb99175f5dbe26b37.tar.gz buildroot-5035b7819ccda95f2b1bbc5fb99175f5dbe26b37.zip |
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>
Diffstat (limited to 'package/libunwind/libunwind-disable-tests.patch')
-rw-r--r-- | package/libunwind/libunwind-disable-tests.patch | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/package/libunwind/libunwind-disable-tests.patch b/package/libunwind/libunwind-disable-tests.patch deleted file mode 100644 index 05475a5d6c..0000000000 --- a/package/libunwind/libunwind-disable-tests.patch +++ /dev/null @@ -1,32 +0,0 @@ -Disable building of tests - -libunwind tests do not build with uClibc, so we disable them. - -Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> - -Index: b/Makefile.am -=================================================================== ---- a/Makefile.am -+++ b/Makefile.am -@@ -36,7 +36,7 @@ - - nodist_include_HEADERS = include/libunwind-common.h - --SUBDIRS = src tests doc -+SUBDIRS = src doc - - noinst_HEADERS = include/dwarf.h include/dwarf_i.h include/dwarf-eh.h \ - include/compiler.h include/libunwind_i.h include/mempool.h \ -Index: b/Makefile.in -=================================================================== ---- a/Makefile.in -+++ b/Makefile.in -@@ -313,7 +313,7 @@ - $(am__append_7) $(am__append_8) $(am__append_9) \ - $(am__append_10) - nodist_include_HEADERS = include/libunwind-common.h --SUBDIRS = src tests doc -+SUBDIRS = src doc - noinst_HEADERS = include/dwarf.h include/dwarf_i.h include/dwarf-eh.h \ - include/compiler.h include/libunwind_i.h include/mempool.h \ - include/remote.h \ |