diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2020-01-14 14:59:57 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-01-16 22:33:09 +0000 |
commit | e2848469adc841299c9067ba8183b3a7c0c20b57 (patch) | |
tree | 9f0b5576ff50d7009a5138fab3a2a2b149f8e1b1 /meta/recipes-devtools/elfutils/files/0004-Fix-error-on-musl.patch | |
parent | 83b900fec5e07414b0f06fc1ecc11ed145cc19d5 (diff) | |
download | poky-e2848469adc841299c9067ba8183b3a7c0c20b57.tar.gz |
elfutils: upgrade 0.177 -> 0.178
Remove 0007-Fix-control-path-where-we-have-str-as-uninitialized-.patch
as issue fixed upstream.
Rebase other patches.
Adjust ptests, pass rate is now 100% again:
======================
All 206 tests passed
(6 tests were not run)
======================
(From OE-Core rev: dce25738c82335f2a92b32bd52f0c63e2dbd336e)
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/files/0004-Fix-error-on-musl.patch')
-rw-r--r-- | meta/recipes-devtools/elfutils/files/0004-Fix-error-on-musl.patch | 39 |
1 files changed, 39 insertions, 0 deletions
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 new file mode 100644 index 0000000000..1b2f9ed98b --- /dev/null +++ b/meta/recipes-devtools/elfutils/files/0004-Fix-error-on-musl.patch | |||
@@ -0,0 +1,39 @@ | |||
1 | From 7ff8cbecde7455b530fa7894a78d2326799f2556 Mon Sep 17 00:00:00 2001 | ||
2 | From: Richard Purdie <richard.purdie@linuxfoundation.org> | ||
3 | Date: Wed, 1 May 2019 22:15:03 +0100 | ||
4 | Subject: [PATCH 4/4] Fix error on musl: | ||
5 | |||
6 | | ../../elfutils-0.176/tests/elfstrmerge.c: In function 'main': | ||
7 | | ../../elfutils-0.176/tests/elfstrmerge.c:370:60: error: 'ALLPERMS' undeclared (first use in this function); did you mean 'EPERM'? | ||
8 | | fdnew = open (fnew, O_WRONLY | O_CREAT, st.st_mode & ALLPERMS); | ||
9 | | ^~~~~~~~ | ||
10 | | EPERM | ||
11 | | ../../elfutils-0.176/tests/elfstrmerge.c:370:60: note: each undeclared identifier is reported only once for each function it appears in | ||
12 | |||
13 | Upstream-Status: Inappropriate [workaround in musl] | ||
14 | |||
15 | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> | ||
16 | |||
17 | --- | ||
18 | tests/elfstrmerge.c | 5 +++++ | ||
19 | 1 file changed, 5 insertions(+) | ||
20 | |||
21 | diff --git a/tests/elfstrmerge.c b/tests/elfstrmerge.c | ||
22 | index ba0d68d..1d2447f 100644 | ||
23 | --- a/tests/elfstrmerge.c | ||
24 | +++ b/tests/elfstrmerge.c | ||
25 | @@ -33,6 +33,11 @@ | ||
26 | #include ELFUTILS_HEADER(dwelf) | ||
27 | #include "elf-knowledge.h" | ||
28 | |||
29 | +/* for musl */ | ||
30 | +#ifndef ALLPERMS | ||
31 | +# define ALLPERMS (S_ISUID|S_ISGID|S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO)/* 07777 */ | ||
32 | +#endif | ||
33 | + | ||
34 | /* The original ELF file. */ | ||
35 | static int fd = -1; | ||
36 | static Elf *elf = NULL; | ||
37 | -- | ||
38 | 2.17.1 | ||
39 | |||