1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-01 13:09:50 +00:00

elfutils: fix for dso link change in recent ld

This patch makes the link to the dependencies of libdw explicit, as recent ld
no longer implicitly links them. See
http://lists.fedoraproject.org/pipermail/devel/2010-March/133601.html as
a similar example of the error message you can encounter without this patch,
and https://fedoraproject.org/wiki/UnderstandingDSOLinkChange and
https://fedoraproject.org/wiki/Features/ChangeInImplicitDSOLinking for more
details.

(From OE-Core rev: 5d776e20b99db7eae307ca794ad58ac402c9eadf)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Christopher Larson
2011-12-29 16:14:39 -06:00
committed by Richard Purdie
parent fa03a6d17d
commit 3b798c8a71
2 changed files with 35 additions and 2 deletions
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3\
file://EXCEPTION;md5=570adcb0c1218ab57f2249c67d0ce417"
DEPENDS = "libtool bzip2 zlib"
PR = "r4"
PR = "r5"
SRC_URI = "https://fedorahosted.org/releases/e/l/elfutils/elfutils-${PV}.tar.bz2"
@@ -29,7 +29,8 @@ SRC_URI += "\
file://elfutils-fsize.patch \
file://remove-unused.patch \
file://mempcpy.patch \
file://fix_for_gcc-4.7.patch\
file://fix_for_gcc-4.7.patch \
file://dso-link-change.patch \
"
# Only apply when building uclibc based target recipe
SRC_URI_append_libc-uclibc = " ${@['', 'file://uclibc-support.patch']['${PN}' == '${BPN}']}"