elfutils: fix for dso link change in recent ld
PATCH 1/2 elfutils: fix for dso link change in recent ld
From: Christopher Larson <[email protected]>
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.
--- .../elfutils/dso-link-change.patch | 32 ++++++++++++++++++++ meta/recipes-devtools/elfutils/elfutils_0.148.bb | 5 ++- 2 files changed, 35 insertions(+), 2 deletions(-) create mode 100644 meta/recipes-devtools/elfutils/dso-link-change.patch
meta/recipes-devtools/elfutils/dso-link-change.patch new file +32 -0
@@ -0,0 +1,32 @@ +Upstream-Status: Pending + +# 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. + +--- elfutils-0.148.orig/src/Makefile.am ++++ elfutils-0.148/src/Makefile.am +@@ -86,7 +86,7 @@ libdw = ../libdw/libdw.a $(zip_LIBS) $(l + libelf = ../libelf/libelf.a + else + libasm = ../libasm/libasm.so +-libdw = ../libdw/libdw.so ++libdw = ../libdw/libdw.so $(zip_LIBS) $(libelf) $(libebl) -ldl + libelf = ../libelf/libelf.so + endif + libebl = ../libebl/libebl.a +--- elfutils-0.148.orig/tests/Makefile.am ++++ elfutils-0.148/tests/Makefile.am +@@ -172,7 +172,7 @@ libdw = ../libdw/libdw.a $(zip_LIBS) $(l + libelf = ../libelf/libelf.a + libasm = ../libasm/libasm.a + else +-libdw = ../libdw/libdw.so ++libdw = ../libdw/libdw.so $(zip_LIBS) $(libelf) $(libebl) -ldl + libelf = ../libelf/libelf.so + libasm = ../libasm/libasm.so + endif
meta/recipes-devtools/elfutils/elfutils_0.148.bb +3 -2
@@ -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}']}"
Signature · 1 line
1.7.8.rc4
PATCH 2/2 glib-2.0: we need zlib
From: Christopher Larson <[email protected]>
--- meta/recipes-core/glib-2.0/glib-2.0_2.30.1.bb | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
meta/recipes-core/glib-2.0/glib-2.0_2.30.1.bb +1 -1
@@ -3,7 +3,7 @@ require glib.inc PR = "r1" PE = "1" -DEPENDS += "libffi python-argparse-native" +DEPENDS += "libffi python-argparse-native zlib" DEPENDS_virtclass-native += "libffi-native python-argparse-native" DEPENDS_virtclass-nativesdk += "libffi-nativesdk python-argparse-native zlib-nativesdk"
Signature · 1 line
1.7.8.rc4
Quoted 10 lines · Christopher Larson
From: Christopher Larson<[email protected]>
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.
Quoted 3 lines
Signed-off-by Christopher Larson<[email protected]>--- .../elfutils/dso-link-change.patch | 32 ++++++++++++++++++++
Shouldn't this be delivered into the elfutils/elfutils sub-directory?
Sau!
Quoted 65 lines
meta/recipes-devtools/elfutils/elfutils_0.148.bb | 5 ++- 2 files changed, 35 insertions(+), 2 deletions(-)create mode 100644
meta/recipes-devtools/elfutils/dso-link-change.patchmeta/recipes-devtools/elfutils/dso-link-change.patch new file +32
-0@@ -0,0 +1,32 @@ +Upstream-Status: Pending + +# 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. + +--- elfutils-0.148.orig/src/Makefile.am ++++ elfutils-0.148/src/Makefile.am +@@ -86,7 +86,7 @@ libdw = ../libdw/libdw.a $(zip_LIBS) $(l + libelf = ../libelf/libelf.a + else + libasm = ../libasm/libasm.so +-libdw = ../libdw/libdw.so ++libdw = ../libdw/libdw.so $(zip_LIBS) $(libelf) $(libebl) -ldl + libelf = ../libelf/libelf.so + endif + libebl = ../libebl/libebl.a +--- elfutils-0.148.orig/tests/Makefile.am ++++ elfutils-0.148/tests/Makefile.am +@@ -172,7 +172,7 @@ libdw = ../libdw/libdw.a $(zip_LIBS) $(l + libelf = ../libelf/libelf.a + libasm = ../libasm/libasm.a + else +-libdw = ../libdw/libdw.so ++libdw = ../libdw/libdw.so $(zip_LIBS) $(libelf) $(libebl) -ldl + libelf = ../libelf/libelf.so + libasm = ../libasm/libasm.so + endifmeta/recipes-devtools/elfutils/elfutils_0.148.bb +3
-2@@ -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}']}"
Quoted 15 lines · Saul Wold
Quoted 14 lines · Christopher Larson
From: Christopher Larson<[email protected]>
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.
Quoted 7 lines
Quoted 4 lines
Signed-off-by Christopher Larson<[email protected]>---
.../elfutils/dso-link-change.patch | 32
++++++++++++++++++++Shouldn't this be delivered into the elfutils/elfutils sub-directory?
Erm, yes. Ignore, will resend.
Signature · 1 line
Christopher Larson