diff options
author | zhengruoqin <zhengrq.fnst@cn.fujitsu.com> | 2021-01-05 15:38:42 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-01-08 10:10:15 +0000 |
commit | cdf2be3746ce54141a761bda6fdc9ae9c44d5964 (patch) | |
tree | 27b0884a28b66652a7923966539b387110dfd992 | |
parent | 52dcec880fbf8156f88ffc1793875af28ac758c1 (diff) | |
download | poky-cdf2be3746ce54141a761bda6fdc9ae9c44d5964.tar.gz |
gdbm: upgrade 1.18.1 -> 1.19
gdbm-fix-link-failure-against-gcc-10.patch
Removed since this is included in 1.19
(From OE-Core rev: d96bb907652bd83abc1386555a93678dd64ced4f)
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-support/gdbm/files/gdbm-fix-link-failure-against-gcc-10.patch | 47 | ||||
-rw-r--r-- | meta/recipes-support/gdbm/gdbm_1.19.bb (renamed from meta/recipes-support/gdbm/gdbm_1.18.1.bb) | 5 |
2 files changed, 2 insertions, 50 deletions
diff --git a/meta/recipes-support/gdbm/files/gdbm-fix-link-failure-against-gcc-10.patch b/meta/recipes-support/gdbm/files/gdbm-fix-link-failure-against-gcc-10.patch deleted file mode 100644 index c1580418dc..0000000000 --- a/meta/recipes-support/gdbm/files/gdbm-fix-link-failure-against-gcc-10.patch +++ /dev/null | |||
@@ -1,47 +0,0 @@ | |||
1 | From f993697af81c37df9c55e0ebedeb1b8b880506ae Mon Sep 17 00:00:00 2001 | ||
2 | From: Richard Leitner <richard.leitner@skidata.com> | ||
3 | Date: Tue, 5 May 2020 11:59:42 +0200 | ||
4 | Subject: [PATCH] gdbm: fix link failure against gcc-10 | ||
5 | |||
6 | Copied from gentoo's solution at https://bugs.gentoo.org/show_bug.cgi?id=705898 | ||
7 | Original patch by Sergei Trofimovich <slyfox@gentoo.org> | ||
8 | |||
9 | Original description: | ||
10 | |||
11 | Before the change on gcc-10 link failed as: | ||
12 | ``` | ||
13 | CCLD gdbmtool | ||
14 | ld: ./libgdbmapp.a(parseopt.o):(.bss+0x8): multiple definition of `parseopt_program_args'; | ||
15 | gdbmtool.o:(.data.rel.local+0x260): first defined here | ||
16 | ld: ./libgdbmapp.a(parseopt.o):(.bss+0x10): multiple definition of `parseopt_program_doc'; | ||
17 | gdbmtool.o:(.data.rel.local+0x268): first defined here | ||
18 | ``` | ||
19 | |||
20 | gcc-10 will change the default from -fcommon to fno-common: | ||
21 | https://gcc.gnu.org/PR85678. | ||
22 | |||
23 | The fix is to avoid multiple definition and rely on | ||
24 | declarations only. | ||
25 | |||
26 | Upstream-Status: Pending | ||
27 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> | ||
28 | --- | ||
29 | src/parseopt.c | 2 -- | ||
30 | 1 file changed, 2 deletions(-) | ||
31 | |||
32 | diff --git a/src/parseopt.c b/src/parseopt.c | ||
33 | index 268e080..a4c8576 100644 | ||
34 | --- a/src/parseopt.c | ||
35 | +++ b/src/parseopt.c | ||
36 | @@ -255,8 +255,6 @@ print_option_descr (const char *descr, size_t lmargin, size_t rmargin) | ||
37 | } | ||
38 | |||
39 | char *parseopt_program_name; | ||
40 | -char *parseopt_program_doc; | ||
41 | -char *parseopt_program_args; | ||
42 | const char *program_bug_address = "<" PACKAGE_BUGREPORT ">"; | ||
43 | void (*parseopt_help_hook) (FILE *stream); | ||
44 | |||
45 | -- | ||
46 | 2.26.2 | ||
47 | |||
diff --git a/meta/recipes-support/gdbm/gdbm_1.18.1.bb b/meta/recipes-support/gdbm/gdbm_1.19.bb index fbb1fe72d7..1f390a4aa2 100644 --- a/meta/recipes-support/gdbm/gdbm_1.18.1.bb +++ b/meta/recipes-support/gdbm/gdbm_1.19.bb | |||
@@ -8,11 +8,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=241da1b9fe42e642cbb2c24d5e0c4d24" | |||
8 | SRC_URI = "${GNU_MIRROR}/gdbm/gdbm-${PV}.tar.gz \ | 8 | SRC_URI = "${GNU_MIRROR}/gdbm/gdbm-${PV}.tar.gz \ |
9 | file://run-ptest \ | 9 | file://run-ptest \ |
10 | file://ptest.patch \ | 10 | file://ptest.patch \ |
11 | file://gdbm-fix-link-failure-against-gcc-10.patch \ | ||
12 | " | 11 | " |
13 | 12 | ||
14 | SRC_URI[md5sum] = "988dc82182121c7570e0cb8b4fcd5415" | 13 | SRC_URI[md5sum] = "aeb29c6a90350a4c959cd1df38cd0a7e" |
15 | SRC_URI[sha256sum] = "86e613527e5dba544e73208f42b78b7c022d4fa5a6d5498bf18c8d6f745b91dc" | 14 | SRC_URI[sha256sum] = "37ed12214122b972e18a0d94995039e57748191939ef74115b1d41d8811364bc" |
16 | 15 | ||
17 | inherit autotools gettext texinfo lib_package ptest | 16 | inherit autotools gettext texinfo lib_package ptest |
18 | 17 | ||