summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/elfutils
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2020-10-28 22:05:37 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-10-30 13:22:48 +0000
commit50feea207e01cfe7d0324aba98cbc8e6d11dd018 (patch)
tree162d4eed9d423e7d94175c9fcb1827bdb23018ba /meta/recipes-devtools/elfutils
parentd22a91051e9f1d11d118e7aeb822ea569a8f8127 (diff)
downloadpoky-50feea207e01cfe7d0324aba98cbc8e6d11dd018.tar.gz
elfutils: update 0.180 -> 0.181
Add a config option for client debuginfod library. (From OE-Core rev: 2c282ee6a8961d23ae9146eb0303824e0f234933) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/elfutils')
-rw-r--r--meta/recipes-devtools/elfutils/elfutils_0.181.bb (renamed from meta/recipes-devtools/elfutils/elfutils_0.180.bb)10
-rw-r--r--meta/recipes-devtools/elfutils/files/0001-musl-obstack-fts.patch4
-rw-r--r--meta/recipes-devtools/elfutils/files/0001-tests-Makefile.am-compile-test_nlist-with-standard-C.patch11
-rw-r--r--meta/recipes-devtools/elfutils/files/0002-musl-libs.patch2
-rw-r--r--meta/recipes-devtools/elfutils/files/0003-musl-utils.patch6
-rw-r--r--meta/recipes-devtools/elfutils/files/0004-Fix-error-on-musl.patch2
-rw-r--r--meta/recipes-devtools/elfutils/files/0015-config-eu.am-do-not-use-Werror.patch3
7 files changed, 24 insertions, 14 deletions
diff --git a/meta/recipes-devtools/elfutils/elfutils_0.180.bb b/meta/recipes-devtools/elfutils/elfutils_0.181.bb
index 61e46a4ed7..6c49a5fc26 100644
--- a/meta/recipes-devtools/elfutils/elfutils_0.180.bb
+++ b/meta/recipes-devtools/elfutils/elfutils_0.181.bb
@@ -28,7 +28,7 @@ SRC_URI_append_libc-musl = " \
28 file://0004-Fix-error-on-musl.patch \ 28 file://0004-Fix-error-on-musl.patch \
29 file://0015-config-eu.am-do-not-use-Werror.patch \ 29 file://0015-config-eu.am-do-not-use-Werror.patch \
30 " 30 "
31SRC_URI[sha256sum] = "b827b6e35c59d188ba97d7cf148fa8dc6f5c68eb6c5981888dfdbb758c0b569d" 31SRC_URI[sha256sum] = "29a6ad7421ec2acfee489bb4a699908281ead2cb63a20a027ce8804a165f0eb3"
32 32
33inherit autotools gettext ptest pkgconfig 33inherit autotools gettext ptest pkgconfig
34 34
@@ -40,6 +40,7 @@ DEPENDS_BZIP2_class-target = "bzip2"
40PACKAGECONFIG ??= "" 40PACKAGECONFIG ??= ""
41PACKAGECONFIG[bzip2] = "--with-bzlib,--without-bzlib,${DEPENDS_BZIP2}" 41PACKAGECONFIG[bzip2] = "--with-bzlib,--without-bzlib,${DEPENDS_BZIP2}"
42PACKAGECONFIG[xz] = "--with-lzma,--without-lzma,xz" 42PACKAGECONFIG[xz] = "--with-lzma,--without-lzma,xz"
43PACKAGECONFIG[libdebuginfod] = "--enable-libdebuginfod,--disable-libdebuginfod,curl"
43 44
44RDEPENDS_${PN}-ptest += "libasm libelf bash make coreutils ${PN}-binutils" 45RDEPENDS_${PN}-ptest += "libasm libelf bash make coreutils ${PN}-binutils"
45 46
@@ -59,6 +60,8 @@ do_install_ptest() {
59 install -d -m 755 ${D}${PTEST_PATH}/src 60 install -d -m 755 ${D}${PTEST_PATH}/src
60 install -d -m 755 ${D}${PTEST_PATH}/libelf 61 install -d -m 755 ${D}${PTEST_PATH}/libelf
61 install -d -m 755 ${D}${PTEST_PATH}/libdw 62 install -d -m 755 ${D}${PTEST_PATH}/libdw
63 install -d -m 755 ${D}${PTEST_PATH}/libdwfl
64 install -d -m 755 ${D}${PTEST_PATH}/libdwelf
62 install -d -m 755 ${D}${PTEST_PATH}/libasm 65 install -d -m 755 ${D}${PTEST_PATH}/libasm
63 for test_file in ${TEST_FILES}; do 66 for test_file in ${TEST_FILES}; do
64 if [ -f ${B}/src/${test_file} ]; then 67 if [ -f ${B}/src/${test_file} ]; then
@@ -68,6 +71,11 @@ do_install_ptest() {
68 cp ${D}${libdir}/libelf-${PV}.so ${D}${PTEST_PATH}/libelf/libelf.so 71 cp ${D}${libdir}/libelf-${PV}.so ${D}${PTEST_PATH}/libelf/libelf.so
69 cp ${D}${libdir}/libdw-${PV}.so ${D}${PTEST_PATH}/libdw/libdw.so 72 cp ${D}${libdir}/libdw-${PV}.so ${D}${PTEST_PATH}/libdw/libdw.so
70 cp ${D}${libdir}/libasm-${PV}.so ${D}${PTEST_PATH}/libasm/libasm.so 73 cp ${D}${libdir}/libasm-${PV}.so ${D}${PTEST_PATH}/libasm/libasm.so
74 cp ${S}/libelf/*.h ${D}${PTEST_PATH}/libelf/
75 cp ${S}/libdw/*.h ${D}${PTEST_PATH}/libdw/
76 cp ${S}/libdwfl/*.h ${D}${PTEST_PATH}/libdwfl/
77 cp ${S}/libdwelf/*.h ${D}${PTEST_PATH}/libdwelf/
78 cp ${S}/libasm/*.h ${D}${PTEST_PATH}/libasm/
71 cp -r ${S}/tests/ ${D}${PTEST_PATH} 79 cp -r ${S}/tests/ ${D}${PTEST_PATH}
72 cp -r ${B}/tests/* ${D}${PTEST_PATH}/tests 80 cp -r ${B}/tests/* ${D}${PTEST_PATH}/tests
73 cp -r ${B}/config.h ${D}${PTEST_PATH} 81 cp -r ${B}/config.h ${D}${PTEST_PATH}
diff --git a/meta/recipes-devtools/elfutils/files/0001-musl-obstack-fts.patch b/meta/recipes-devtools/elfutils/files/0001-musl-obstack-fts.patch
index 2450b0d6b8..67d4703c80 100644
--- a/meta/recipes-devtools/elfutils/files/0001-musl-obstack-fts.patch
+++ b/meta/recipes-devtools/elfutils/files/0001-musl-obstack-fts.patch
@@ -1,4 +1,4 @@
1From 1ec7b2208803e0fbdcbe6c07b849e7dc4d9fa8a2 Mon Sep 17 00:00:00 2001 1From 1a62bb8e8f2cb0f180c749946a48114e8f391b55 Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com> 2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Fri, 23 Aug 2019 10:17:25 +0800 3Date: Fri, 23 Aug 2019 10:17:25 +0800
4Subject: [PATCH] musl-obstack-fts 4Subject: [PATCH] musl-obstack-fts
@@ -20,7 +20,7 @@ Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
20 3 files changed, 58 insertions(+), 4 deletions(-) 20 3 files changed, 58 insertions(+), 4 deletions(-)
21 21
22diff --git a/configure.ac b/configure.ac 22diff --git a/configure.ac b/configure.ac
23index e9649c2..03643c8 100644 23index ab9c751..b057d86 100644
24--- a/configure.ac 24--- a/configure.ac
25+++ b/configure.ac 25+++ b/configure.ac
26@@ -538,6 +538,60 @@ else 26@@ -538,6 +538,60 @@ else
diff --git a/meta/recipes-devtools/elfutils/files/0001-tests-Makefile.am-compile-test_nlist-with-standard-C.patch b/meta/recipes-devtools/elfutils/files/0001-tests-Makefile.am-compile-test_nlist-with-standard-C.patch
index 481b912387..d7b382fd94 100644
--- a/meta/recipes-devtools/elfutils/files/0001-tests-Makefile.am-compile-test_nlist-with-standard-C.patch
+++ b/meta/recipes-devtools/elfutils/files/0001-tests-Makefile.am-compile-test_nlist-with-standard-C.patch
@@ -1,4 +1,4 @@
1From 1ca86294ee5454592c9ad855e13080509d8a92d3 Mon Sep 17 00:00:00 2001 1From fa265ff686cb60e19aa607bda3752b6b2ee87a14 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Tue, 23 Jun 2020 07:49:35 +0000 3Date: Tue, 23 Jun 2020 07:49:35 +0000
4Subject: [PATCH] tests/Makefile.am: compile test_nlist with standard CFLAGS 4Subject: [PATCH] tests/Makefile.am: compile test_nlist with standard CFLAGS
@@ -8,20 +8,21 @@ be reproducible.
8 8
9Upstream-Status: Inappropriate [oe-core specific] 9Upstream-Status: Inappropriate [oe-core specific]
10Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> 10Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
11
11--- 12---
12 tests/Makefile.am | 2 +- 13 tests/Makefile.am | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-) 14 1 file changed, 1 insertion(+), 1 deletion(-)
14 15
15diff --git a/tests/Makefile.am b/tests/Makefile.am 16diff --git a/tests/Makefile.am b/tests/Makefile.am
16index 8048b69..d2b28a4 100644 17index 05fc9b4..11de0fc 100644
17--- a/tests/Makefile.am 18--- a/tests/Makefile.am
18+++ b/tests/Makefile.am 19+++ b/tests/Makefile.am
19@@ -86,7 +86,7 @@ backtrace-child-biarch$(EXEEXT): backtrace-child.c 20@@ -92,7 +92,7 @@ endif
20 test-nlist$(EXEEXT): test-nlist.c 21 test-nlist$(EXEEXT): test-nlist.c
21 $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ 22 $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
22 $(AM_CPPFLAGS) $(CPPFLAGS) \ 23 $(AM_CPPFLAGS) $(CPPFLAGS) \
23- $(test_nlist_CFLAGS) $(test_nlist_LDADD) -o $@ $< 24- $(test_nlist_CFLAGS) $(GCOV_FLAGS) -o $@ $< $(test_nlist_LDADD)
24+ $(CFLAGS) $(test_nlist_LDADD) -o $@ $< 25+ $(CFLAGS) $(GCOV_FLAGS) -o $@ $< $(test_nlist_LDADD)
25 26
26 TESTS = run-arextract.sh run-arsymtest.sh run-ar.sh newfile test-nlist \ 27 TESTS = run-arextract.sh run-arsymtest.sh run-ar.sh newfile test-nlist \
27 update1 update2 update3 update4 \ 28 update1 update2 update3 update4 \
diff --git a/meta/recipes-devtools/elfutils/files/0002-musl-libs.patch b/meta/recipes-devtools/elfutils/files/0002-musl-libs.patch
index d5ec0ec9e5..894e46c3c4 100644
--- a/meta/recipes-devtools/elfutils/files/0002-musl-libs.patch
+++ b/meta/recipes-devtools/elfutils/files/0002-musl-libs.patch
@@ -1,4 +1,4 @@
1From 9a57efb0f826a70ae360aa55504ee2de656b92b6 Mon Sep 17 00:00:00 2001 1From 2e1f8ca0b67c1d1991c14d509938c347e09bae94 Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com> 2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Fri, 23 Aug 2019 10:18:47 +0800 3Date: Fri, 23 Aug 2019 10:18:47 +0800
4Subject: [PATCH] musl-libs 4Subject: [PATCH] musl-libs
diff --git a/meta/recipes-devtools/elfutils/files/0003-musl-utils.patch b/meta/recipes-devtools/elfutils/files/0003-musl-utils.patch
index 4f28d9d027..2a21cd37ce 100644
--- a/meta/recipes-devtools/elfutils/files/0003-musl-utils.patch
+++ b/meta/recipes-devtools/elfutils/files/0003-musl-utils.patch
@@ -1,4 +1,4 @@
1From 6923400b777d4ba6f040c4006413bf997326460f Mon Sep 17 00:00:00 2001 1From 9b237f19f82d5ab1e0702637fece1866b1ef6681 Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com> 2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Fri, 23 Aug 2019 10:19:48 +0800 3Date: Fri, 23 Aug 2019 10:19:48 +0800
4Subject: [PATCH] musl-utils 4Subject: [PATCH] musl-utils
@@ -58,7 +58,7 @@ index 6ba6af4..0c7674b 100644
58 ARGP_PROGRAM_VERSION_HOOK_DEF = print_version; 58 ARGP_PROGRAM_VERSION_HOOK_DEF = print_version;
59 59
60diff --git a/src/readelf.c b/src/readelf.c 60diff --git a/src/readelf.c b/src/readelf.c
61index 5994615..f3cc071 100644 61index 685d0b1..a842b10 100644
62--- a/src/readelf.c 62--- a/src/readelf.c
63+++ b/src/readelf.c 63+++ b/src/readelf.c
64@@ -4829,10 +4829,11 @@ listptr_base (struct listptr *p) 64@@ -4829,10 +4829,11 @@ listptr_base (struct listptr *p)
@@ -124,7 +124,7 @@ index 5994615..f3cc071 100644
124 124
125 static bool 125 static bool
126diff --git a/src/strip.c b/src/strip.c 126diff --git a/src/strip.c b/src/strip.c
127index 4054c2a..d2d2176 100644 127index 48792a7..198a2e4 100644
128--- a/src/strip.c 128--- a/src/strip.c
129+++ b/src/strip.c 129+++ b/src/strip.c
130@@ -46,6 +46,13 @@ 130@@ -46,6 +46,13 @@
diff --git a/meta/recipes-devtools/elfutils/files/0004-Fix-error-on-musl.patch b/meta/recipes-devtools/elfutils/files/0004-Fix-error-on-musl.patch
index 481e4b38eb..c79c737c62 100644
--- a/meta/recipes-devtools/elfutils/files/0004-Fix-error-on-musl.patch
+++ b/meta/recipes-devtools/elfutils/files/0004-Fix-error-on-musl.patch
@@ -1,4 +1,4 @@
1From 48b769ab692c8f02c1ae467229fe3404f662098a Mon Sep 17 00:00:00 2001 1From d3dc5f98f653342af97ebfbdf3479ee1f0d0cf38 Mon Sep 17 00:00:00 2001
2From: Richard Purdie <richard.purdie@linuxfoundation.org> 2From: Richard Purdie <richard.purdie@linuxfoundation.org>
3Date: Wed, 1 May 2019 22:15:03 +0100 3Date: Wed, 1 May 2019 22:15:03 +0100
4Subject: [PATCH] Fix error on musl: 4Subject: [PATCH] Fix error on musl:
diff --git a/meta/recipes-devtools/elfutils/files/0015-config-eu.am-do-not-use-Werror.patch b/meta/recipes-devtools/elfutils/files/0015-config-eu.am-do-not-use-Werror.patch
index c3ae357265..48fd4d41f3 100644
--- a/meta/recipes-devtools/elfutils/files/0015-config-eu.am-do-not-use-Werror.patch
+++ b/meta/recipes-devtools/elfutils/files/0015-config-eu.am-do-not-use-Werror.patch
@@ -1,4 +1,4 @@
1From dce2187dd8f592316357b200ebbe8dbed9ee65cb Mon Sep 17 00:00:00 2001 1From 9b7554a3e21ccb455b3661a6b4e767636c2c5cf3 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Mon, 22 Jun 2020 21:35:16 +0000 3Date: Mon, 22 Jun 2020 21:35:16 +0000
4Subject: [PATCH] config/eu.am: do not use -Werror 4Subject: [PATCH] config/eu.am: do not use -Werror
@@ -10,6 +10,7 @@ Werror.
10 10
11Upstream-Status: Inappropriate [oe core specific] 11Upstream-Status: Inappropriate [oe core specific]
12Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> 12Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
13
13--- 14---
14 config/eu.am | 2 -- 15 config/eu.am | 2 --
15 1 file changed, 2 deletions(-) 16 1 file changed, 2 deletions(-)