Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=433fcbc309741d5b90a87f1e527398befe5067ad
commit 433fcbc309741d5b90a87f1e527398befe5067ad Author: Miklos Vajna <[email protected]> Date: Fri Feb 21 14:56:06 2014 +0100 binutils-2.24-4-x86_64 - add patch that fixes ld segfault while building systemd-209 diff --git a/source/devel/binutils/FrugalBuild b/source/devel/binutils/FrugalBuild index 19a0ce4..f130c7e 100644 --- a/source/devel/binutils/FrugalBuild +++ b/source/devel/binutils/FrugalBuild @@ -3,15 +3,15 @@ pkgname=binutils pkgver=2.24 -pkgrel=3 +pkgrel=4 pkgdesc="A set of programs to assemble and manipulate binary and object files" url="http://www.gnu.org/software/binutils/" depends=('bash' 'glibc>=2.8-2') groups=('devel' 'devel-core') archs=('i686' 'x86_64' 'arm') Fup2gnubz2 -source=(http://ftp.gnu.org/gnu/$pkgname/$pkgname-${pkgver}.tar.bz2) -signatures=($source.sig) +source=(http://ftp.gnu.org/gnu/$pkgname/$pkgname-${pkgver}.tar.bz2 bug16467.patch) +signatures=($source.sig '') build() { diff --git a/source/devel/binutils/bug16467.patch b/source/devel/binutils/bug16467.patch new file mode 100644 index 0000000..281dc9a --- /dev/null +++ b/source/devel/binutils/bug16467.patch @@ -0,0 +1,43 @@ +From 4584ec12076e088cf36965b88ef8710ca85491f9 Mon Sep 17 00:00:00 2001 +From: H.J. Lu <[email protected]> +Date: Tue, 21 Jan 2014 15:42:43 -0800 +Subject: [PATCH] Check incompatible existing default symbol definition + +After resolving a versioned reference, foo@VER1, to a default versioned +definition, foo@@VER1, from a shared object, we also merge it with +the existing regular default symbol definition, foo. When foo is IFUNC +and foo@@VER1 aren't, we will merge 2 incompatible definitions. This +patch avoids merging foo@@VER1 definition with foo definition if +one is IFUNC and the other isn't. +--- + bfd/ChangeLog | 8 ++++++ + bfd/elflink.c | 13 ++++++---- + 11 files changed, 106 insertions(+), 5 deletions(-) + +diff --git a/bfd/elflink.c b/bfd/elflink.c +index d0006da..792e14e 100644 +--- a/bfd/elflink.c ++++ b/bfd/elflink.c +@@ -1092,11 +1092,14 @@ _bfd_elf_merge_symbol (bfd *abfd, + && newdyn + && newdef + && !olddyn +- && (olddef || h->root.type == bfd_link_hash_common) +- && ELF_ST_TYPE (sym->st_info) != h->type +- && ELF_ST_TYPE (sym->st_info) != STT_NOTYPE +- && h->type != STT_NOTYPE +- && !(newfunc && oldfunc)) ++ && (((olddef || h->root.type == bfd_link_hash_common) ++ && ELF_ST_TYPE (sym->st_info) != h->type ++ && ELF_ST_TYPE (sym->st_info) != STT_NOTYPE ++ && h->type != STT_NOTYPE ++ && !(newfunc && oldfunc)) ++ || (olddef ++ && ((h->type == STT_GNU_IFUNC) ++ != (ELF_ST_TYPE (sym->st_info) == STT_GNU_IFUNC))))) + { + *skip = TRUE; + return TRUE; +-- +1.7.1 + _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
