diff options
Diffstat (limited to 'meta/recipes-devtools/elfutils/files/0001-dso-link-change.patch')
-rw-r--r-- | meta/recipes-devtools/elfutils/files/0001-dso-link-change.patch | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/meta/recipes-devtools/elfutils/files/0001-dso-link-change.patch b/meta/recipes-devtools/elfutils/files/0001-dso-link-change.patch new file mode 100644 index 0000000000..28c57f236c --- /dev/null +++ b/meta/recipes-devtools/elfutils/files/0001-dso-link-change.patch | |||
@@ -0,0 +1,52 @@ | |||
1 | From 0a69a26c9f7487daca900db87cd1195857a4603f Mon Sep 17 00:00:00 2001 | ||
2 | From: Hongxu Jia <hongxu.jia@windriver.com> | ||
3 | Date: Tue, 15 Aug 2017 17:10:57 +0800 | ||
4 | Subject: [PATCH 1/7] dso link change | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | |||
8 | This patch makes the link to the dependencies of libdw explicit, as | ||
9 | recent ld no longer implicitly links them. See | ||
10 | http://lists.fedoraproject.org/pipermail/devel/2010-March/133601.html | ||
11 | as a similar example of the error message you can encounter without this | ||
12 | patch, and https://fedoraproject.org/wiki/UnderstandingDSOLinkChange and | ||
13 | https://fedoraproject.org/wiki/Features/ChangeInImplicitDSOLinking for | ||
14 | more details. | ||
15 | |||
16 | Rebase to 0.170 | ||
17 | |||
18 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | ||
19 | --- | ||
20 | src/Makefile.am | 2 +- | ||
21 | tests/Makefile.am | 2 +- | ||
22 | 2 files changed, 2 insertions(+), 2 deletions(-) | ||
23 | |||
24 | diff --git a/src/Makefile.am b/src/Makefile.am | ||
25 | index 2b1c0dc..9305b84 100644 | ||
26 | --- a/src/Makefile.am | ||
27 | +++ b/src/Makefile.am | ||
28 | @@ -44,7 +44,7 @@ libdw = ../libdw/libdw.a -lz $(zip_LIBS) $(libelf) $(libebl) -ldl | ||
29 | libelf = ../libelf/libelf.a -lz | ||
30 | else | ||
31 | libasm = ../libasm/libasm.so | ||
32 | -libdw = ../libdw/libdw.so | ||
33 | +libdw = ../libdw/libdw.so $(zip_LIBS) $(libelf) $(libebl) -ldl | ||
34 | libelf = ../libelf/libelf.so | ||
35 | endif | ||
36 | libebl = ../libebl/libebl.a | ||
37 | diff --git a/tests/Makefile.am b/tests/Makefile.am | ||
38 | index 3735084..528615d 100644 | ||
39 | --- a/tests/Makefile.am | ||
40 | +++ b/tests/Makefile.am | ||
41 | @@ -400,7 +400,7 @@ libdw = ../libdw/libdw.a -lz $(zip_LIBS) $(libelf) $(libebl) -ldl | ||
42 | libelf = ../libelf/libelf.a -lz | ||
43 | libasm = ../libasm/libasm.a | ||
44 | else | ||
45 | -libdw = ../libdw/libdw.so | ||
46 | +libdw = ../libdw/libdw.so $(zip_LIBS) $(libelf) $(libebl) -ldl | ||
47 | libelf = ../libelf/libelf.so | ||
48 | libasm = ../libasm/libasm.so | ||
49 | endif | ||
50 | -- | ||
51 | 1.8.3.1 | ||
52 | |||