diff options
author | Junling Zheng <zhengjunling@huawei.com> | 2015-04-03 05:59:59 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-05-15 18:12:40 +0100 |
commit | 66b63d921bae288a7b6beaee0ebc785dec9f753d (patch) | |
tree | dd6a3bffc9aef1fda2631ccef2fef3421397ce55 /meta/recipes-core/uclibc/uclibc-git.inc | |
parent | 08b10e93c4c128542eae1a5a55e5020a891ca367 (diff) | |
download | poky-66b63d921bae288a7b6beaee0ebc785dec9f753d.tar.gz |
uclibc: fix undefinition of '_dl_strchr' in libdl.a
The orign_path.patch introduced '_dl_strchr' in ldso/ldso/dl-elf.c, and
caused the following undefined referencing compiling error:
| .../libdl.a(libdl.os): In function `search_for_named_library':
| .../dl-elf.c:156: undefined reference to `_dl_strchr'
| collect2: error: ld returned 1 exit status
I found this problem when compiling gdb in static mode using uclibc.
So, add the definition of '_dl_strchr' to fix it. The '_dl_strstr' is
added as well.
And I regenerated a patch to replace the original one.
(From OE-Core master rev: 34b82b8452aa721146f95321cfd1a1fee3f0d6c8)
(From OE-Core rev: c39c0d0426b2f9b2c13403705167e2d8201df1ff)
Signed-off-by: Junling Zheng <zhengjunling@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/uclibc/uclibc-git.inc')
-rw-r--r-- | meta/recipes-core/uclibc/uclibc-git.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/uclibc/uclibc-git.inc b/meta/recipes-core/uclibc/uclibc-git.inc index a2b2353c5a..8308e603cc 100644 --- a/meta/recipes-core/uclibc/uclibc-git.inc +++ b/meta/recipes-core/uclibc/uclibc-git.inc | |||
@@ -15,7 +15,7 @@ SRC_URI = "git://uclibc.org/uClibc.git;branch=master \ | |||
15 | file://argp-headers.patch \ | 15 | file://argp-headers.patch \ |
16 | file://remove_attribute_optimize_Os.patch \ | 16 | file://remove_attribute_optimize_Os.patch \ |
17 | file://compile-arm-fork-with-O2.patch \ | 17 | file://compile-arm-fork-with-O2.patch \ |
18 | file://orign_path.patch \ | 18 | file://0001-ldso-limited-support-for-ORIGIN-in-rpath.patch \ |
19 | file://0001-atexit_old-Do-not-add-it-to-shared-libc.patch \ | 19 | file://0001-atexit_old-Do-not-add-it-to-shared-libc.patch \ |
20 | file://0001-nptl-arm-Move-aeabi_read_tp-to-uclibc_nonshared.a.patch \ | 20 | file://0001-nptl-arm-Move-aeabi_read_tp-to-uclibc_nonshared.a.patch \ |
21 | file://0001-nptl-atfork-Hide-pthread_atfork-in-shared-versions.patch \ | 21 | file://0001-nptl-atfork-Hide-pthread_atfork-in-shared-versions.patch \ |