summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorTing Liu <ting.liu@freescale.com>2015-01-14 13:26:14 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-01-29 15:36:51 +0000
commitf51e79b0004d9d383d93444d74128c5ec1193225 (patch)
treebc179ca8ca461328b970876469c52a383c4a0f0b /meta
parent8754c8a9bf08f18cee9bd2f30fb80d2c44fded6f (diff)
downloadpoky-f51e79b0004d9d383d93444d74128c5ec1193225.tar.gz
libunwind: Fix test case link failure on PowerPC with Altivec
(From OE-Core rev: 5f6e2a9a474e96332879329deb358219f1328464) Signed-off-by: Ting Liu <ting.liu@freescale.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-support/libunwind/libunwind-1.1/Fix-test-case-link-failure-on-PowerPC-systems-with-Altivec.patch28
-rw-r--r--meta/recipes-support/libunwind/libunwind_1.1.bb1
2 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-support/libunwind/libunwind-1.1/Fix-test-case-link-failure-on-PowerPC-systems-with-Altivec.patch b/meta/recipes-support/libunwind/libunwind-1.1/Fix-test-case-link-failure-on-PowerPC-systems-with-Altivec.patch
new file mode 100644
index 0000000000..dc0f5c1b47
--- /dev/null
+++ b/meta/recipes-support/libunwind/libunwind-1.1/Fix-test-case-link-failure-on-PowerPC-systems-with-Altivec.patch
@@ -0,0 +1,28 @@
1Fix test case link failure on PowerPC systems with Altivec
2
3Upstream-Status:backport
4
5On systems where the system compiler supports Altivec by default,
6the libunwind Makefile will attempt to build an extra test case
7ppc64-test-altivec. Unfortunately, the link step will fail since
8the Makefile does not actually link against the libunwind library.
9
10Fixed by adding the appropriate LDADD macro.
11
12Signed-off-by: Ulrich Weigand <address@hidden>
13---
14 tests/Makefile.am | 1 +
15 1 file changed, 1 insertion(+)
16
17diff --git a/tests/Makefile.am b/tests/Makefile.am
18index 0e30536..9c76628 100644
19--- a/tests/Makefile.am
20+++ b/tests/Makefile.am
21@@ -201,3 +201,4 @@ Lia64_test_rbs_LDADD = $(LIBUNWIND_local)
22 Lia64_test_readonly_LDADD = $(LIBUNWIND_local)
23 ia64_test_dyn1_LDADD = $(LIBUNWIND)
24 ia64_test_sig_LDADD = $(LIBUNWIND)
25+ppc64_test_altivec_LDADD = $(LIBUNWIND)
26--
271.8.5
28
diff --git a/meta/recipes-support/libunwind/libunwind_1.1.bb b/meta/recipes-support/libunwind/libunwind_1.1.bb
index 2e52430d54..5b54dcbb21 100644
--- a/meta/recipes-support/libunwind/libunwind_1.1.bb
+++ b/meta/recipes-support/libunwind/libunwind_1.1.bb
@@ -3,6 +3,7 @@ require libunwind.inc
3SRC_URI += "\ 3SRC_URI += "\
4 file://Support-building-with-older-compilers.patch \ 4 file://Support-building-with-older-compilers.patch \
5 file://AArch64-port.patch \ 5 file://AArch64-port.patch \
6 file://Fix-test-case-link-failure-on-PowerPC-systems-with-Altivec.patch \
6" 7"
7 8
8SRC_URI[md5sum] = "fb4ea2f6fbbe45bf032cd36e586883ce" 9SRC_URI[md5sum] = "fb4ea2f6fbbe45bf032cd36e586883ce"