diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2018-05-27 09:39:38 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2018-05-27 09:39:38 +0200 |
commit | 7d9f99fc0bcc646134308d39ac24eeb975cf1bbb (patch) | |
tree | e749aebb020ce13eb197a4a2f94b8048fb5b6828 /core/binutils/PKGBUILD | |
parent | 962fbf6ce5e7a39646fd98d06db3a57464886cc1 (diff) | |
download | packages-7d9f99fc0bcc646134308d39ac24eeb975cf1bbb.tar.xz |
core/binutils: patch against glibc ld segfault (PR23194)
Diffstat (limited to 'core/binutils/PKGBUILD')
-rw-r--r-- | core/binutils/PKGBUILD | 18 |
1 files changed, 18 insertions, 0 deletions
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 + ' +)" |