diff options
author | Junling Zheng <zhengjunling@huawei.com> | 2015-04-03 05:59:59 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-04-08 10:53:14 +0100 |
commit | 60cea212bc504c28091cf470456abdcc862bdbb5 (patch) | |
tree | 3812a12ff9f4995b182b8ee184c78d7323af8e5e /meta/classes | |
parent | a940fcc7820fd87318b9804cd2f71b25aca2ed1f (diff) | |
download | poky-60cea212bc504c28091cf470456abdcc862bdbb5.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 rev: 34b82b8452aa721146f95321cfd1a1fee3f0d6c8)
Signed-off-by: Junling Zheng <zhengjunling@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
0 files changed, 0 insertions, 0 deletions