From b4c58a8ef77e32c906809a1d772b1d2305a482a9 Mon Sep 17 00:00:00 2001 From: Ingvar Hagelund Date: Tue, 1 Apr 2014 12:48:26 +0200 Subject: [PATCH] Patch that removes explicit altivec on el5/ppc --- jemalloc-3.6.0.no_explicit_altivec.patch | 13 +++++++++++++ jemalloc.spec | 7 ++++++- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 jemalloc-3.6.0.no_explicit_altivec.patch diff --git a/jemalloc-3.6.0.no_explicit_altivec.patch b/jemalloc-3.6.0.no_explicit_altivec.patch new file mode 100644 index 0000000..189da87 --- /dev/null +++ b/jemalloc-3.6.0.no_explicit_altivec.patch @@ -0,0 +1,13 @@ +--- configure.old 2014-03-31 18:38:51.000000000 +0200 ++++ configure 2014-04-01 12:20:37.723062342 +0200 +@@ -4694,10 +4694,6 @@ + fi + ;; + powerpc) +- cat >>confdefs.h <<_ACEOF +-#define HAVE_ALTIVEC +-_ACEOF +- + ;; + *) + ;; diff --git a/jemalloc.spec b/jemalloc.spec index eff64b0..8c15411 100644 --- a/jemalloc.spec +++ b/jemalloc.spec @@ -1,7 +1,7 @@ Name: jemalloc Version: 3.6.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: General-purpose scalable concurrent malloc implementation Group: System Environment/Libraries @@ -16,6 +16,7 @@ Patch0: jemalloc-3.5.1.no_pprof.patch Patch2: jemalloc-armv5-force-atomic.patch # RHEL5/POWER has no atomic operations Patch3: jemalloc-3.0.0.atomic_h_ppc_32bit_operations.patch +Patch4: jemalloc-3.6.0.no_explicit_altivec.patch BuildRequires: /usr/bin/xsltproc %description @@ -39,6 +40,7 @@ developing applications that use %{name}. %ifarch ppc ppc64 %if 0%{?rhel} == 5 %patch3 -b .ppc +%patch4 -b .ppc %endif %endif @@ -88,6 +90,9 @@ rm -rf %{buildroot} %postun -p /sbin/ldconfig %changelog +* Tue Apr 01 2014 Ingvar Hagelund - 3.6.0-2 +- Patch that removes explicit altivec on el5/ppc + * Mon Mar 31 2014 Ingvar Hagelund - 3.6.0-1 - New upstream release. This release fixes a critical regression