From e7a86f1f70ab2f97e6e435142208d6eba9ec21ac Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Wed, 15 Aug 2018 19:04:14 +0200 Subject: [PATCH] Downgrade binutils to 2.30 This is a workaround for an issue with binutils on statically linked x86 binaries. The tls section has some loading flag set wrong and is not mapped into memory by the kernel. The musl startup code tries to parse the section information and segfaults. See: http://www.openwall.com/lists/musl/2018/07/18/5 Signed-off-by: David Oberhollenzer --- pkg/tc-binutils/build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/tc-binutils/build b/pkg/tc-binutils/build index 727eebb..d17e825 100755 --- a/pkg/tc-binutils/build +++ b/pkg/tc-binutils/build @@ -1,8 +1,8 @@ -VERSION="2.31.1" +VERSION="2.30" SRCDIR="binutils-$VERSION" TARBALL="binutils-$VERSION.tar.xz" URL="http://ftp.gnu.org/gnu/binutils" -SHA256SUM="5d20086ecf5752cc7d9134246e9588fa201740d540f7eb84d795b1f7a93bca86" +SHA256SUM="6e46b8aeae2f727a36f0bd9505e405768a72218f1796f0d09757d45209871ae6" DEPENDS="" prepare() {