From 7d9f99fc0bcc646134308d39ac24eeb975cf1bbb Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 27 May 2018 09:39:38 +0200 Subject: core/binutils: patch against glibc ld segfault (PR23194) --- core/binutils/PKGBUILD | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'core/binutils/PKGBUILD') diff --git a/core/binutils/PKGBUILD b/core/binutils/PKGBUILD index a2e60e6e..abd0a995 100644 --- a/core/binutils/PKGBUILD +++ b/core/binutils/PKGBUILD @@ -5,3 +5,21 @@ eval "$( s,https://bugs.archlinux.org/,https://bugs.archlinux32.org/, ' )" + +# segfaults in ld of binutils 2.30 needs the binutils_2_30 branch +# for now, see https://sourceware.org/bugzilla/show_bug.cgi?id=23194 +# this patch was done by diffing the branch against the tag and removing +# some conflicts, also 0003-PR22836-r-s-doesnt-work-with-g3-using-GCC-7.patch +# needs disabling because it has already been cherry-picked into the branch. +# cherry-picking onlt the fix for P23194 leads to assertion violations in +# the GOT, so this was not done. +source+=(binutils-2.30-branch.patch) +md5sums+=('a5ba9fc9de327b2eff071e19429c6e67') + +eval "$( + declare -f prepare | \ + sed ' + s/.*0003-PR22836/#\0/ + /0003-PR22836/a patch -p1 -i ${srcdir}/binutils-2.30-branch.patch + ' +)" -- cgit v1.2.3-54-g00ecf