summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libunwind/libunwind-1.1/Link-libunwind-to-libgcc_s-rather-than-libgcc.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2016-05-11 10:35:24 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-05-13 13:41:30 +0100
commitca8ae667ac9f60fce217c87154967a81da888d74 (patch)
tree2faf1dd3db122b5cba61074a9c6fba4558e91657 /meta/recipes-support/libunwind/libunwind-1.1/Link-libunwind-to-libgcc_s-rather-than-libgcc.patch
parent08a9f5dec693ba69dafe53b4ab05dc15d82ee40b (diff)
downloadpoky-ca8ae667ac9f60fce217c87154967a81da888d74.tar.gz
libunwind: Upgrade to 1.2rc1+
This helps in compiling with gcc6 drop patches backported to 1.1 remove musl conditional patches, they should work on glibc too now (From OE-Core rev: d164b4dbcbba4dd7db4c4257e6cd876026c2e7eb) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libunwind/libunwind-1.1/Link-libunwind-to-libgcc_s-rather-than-libgcc.patch')
-rw-r--r--meta/recipes-support/libunwind/libunwind-1.1/Link-libunwind-to-libgcc_s-rather-than-libgcc.patch42
1 files changed, 0 insertions, 42 deletions
diff --git a/meta/recipes-support/libunwind/libunwind-1.1/Link-libunwind-to-libgcc_s-rather-than-libgcc.patch b/meta/recipes-support/libunwind/libunwind-1.1/Link-libunwind-to-libgcc_s-rather-than-libgcc.patch
deleted file mode 100644
index 0e55c91b80..0000000000
--- a/meta/recipes-support/libunwind/libunwind-1.1/Link-libunwind-to-libgcc_s-rather-than-libgcc.patch
+++ /dev/null
@@ -1,42 +0,0 @@
1From 508ca17a7be01d1cc960d9a07d0af4513948fb8d Mon Sep 17 00:00:00 2001
2From: Thierry Reding <treding@nvidia.com>
3Date: Fri, 27 Jun 2014 08:40:33 +0200
4Subject: [PATCH] Link libunwind to libgcc_s rather than libgcc
5
6For some architectures, -lgcc and -lgcc_s are not equivalent. On ARM for
7example, libgcc_s.so.1 contains some symbols needed by libunwind which
8are not present in libgcc.
9
10This causes the following link error when building the X.Org X server
11with libunwind support:
12
13 CCLD Xorg
14 /usr/lib/libunwind.so: undefined reference to `__aeabi_unwind_cpp_pr0'
15 /usr/lib/libunwind.so: undefined reference to `__aeabi_unwind_cpp_pr1'
16
17Linking against libgcc_s explicitly solves this problem.
18
19Upstream-Status: Backport
20
21Signed-off-by: Thierry Reding <treding@nvidia.com>
22Signed-off-by: Jonathan Liu <net147@gmail.com>
23---
24 configure.ac | 2 +-
25 1 file changed, 1 insertion(+), 1 deletion(-)
26
27diff --git a/configure.ac b/configure.ac
28index cffe19b..3beb5f2 100644
29--- a/configure.ac
30+++ b/configure.ac
31@@ -258,7 +258,7 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[#ifndef __INTEL_COMPILER
32
33 if test x$GCC = xyes -a x$intel_compiler != xyes; then
34 CFLAGS="${CFLAGS} -fexceptions -Wall -Wsign-compare"
35- LIBCRTS="-lgcc"
36+ LIBCRTS="-lgcc_s"
37 fi
38 AC_MSG_RESULT([$intel_compiler])
39
40--
412.3.2
42