From 6ba01df0b3a25a6b2f8e06fd8b6333b512c7253e Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Mon, 29 Aug 2016 11:46:14 +0200 Subject: [PATCH] disable hardware acceleration on x86 This works around the issue in rhbz#1371082 --- gnutls.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/gnutls.spec b/gnutls.spec index c37d6a6..f67bb32 100644 --- a/gnutls.spec +++ b/gnutls.spec @@ -3,7 +3,7 @@ Summary: A TLS protocol implementation Name: gnutls Version: 3.5.3 -Release: 1%{?dist} +Release: 2%{?dist} # The libraries are LGPLv2.1+, utilities are GPLv3+ License: GPLv3+ and LGPLv2+ Group: System Environment/Libraries @@ -149,6 +149,9 @@ rm -f src/libopts/*.c src/libopts/*.h src/libopts/compat/*.c src/libopts/compat/ %{SOURCE2} -e +# In x86 the produced library seems to contain non-relocatable code. +# We work around it by disabling hardware acceleration, until a proper +# fix is available. %build %configure --with-libtasn1-prefix=%{_prefix} \ --disable-static \ @@ -163,6 +166,9 @@ rm -f src/libopts/*.c src/libopts/*.h src/libopts/compat/*.c src/libopts/compat/ %else --disable-guile \ %endif +%ifarch %{ix86} + --disable-hardware-acceleration \ +%endif %if %{with dane} --with-unbound-root-key-file=/var/lib/unbound/root.key \ --enable-dane \ @@ -272,6 +278,9 @@ fi %endif %changelog +* Mon Aug 29 2016 Nikos Mavrogiannopoulos 3.5.3-2 +- Work around #1371082 for x86 + * Tue Aug 9 2016 Nikos Mavrogiannopoulos 3.5.3-1 - New upstream release