ppisar pushed to yap (master). "Disable private malloc on AArch64"

notifications at fedoraproject.org notifications at fedoraproject.org
Wed Apr 15 11:52:36 UTC 2015


>From f1f40796f7f5bb4e39b97d9641889238b9e4c53e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar at redhat.com>
Date: Wed, 15 Apr 2015 13:32:41 +0200
Subject: Disable private malloc on AArch64


diff --git a/yap.spec b/yap.spec
index df96215..43fab95 100644
--- a/yap.spec
+++ b/yap.spec
@@ -4,7 +4,7 @@
 
 Name:       yap
 Version:    6.2.2
-Release:    13%{?dist}
+Release:    14%{?dist}
 Summary:    High-performance Prolog Compiler
 Group:      Development/Languages
 # README                            Perl Artistic license 2 and the FSF's LGPL
@@ -141,7 +141,13 @@ find -name '*.c' -exec chmod 0644 '{}' ';'
 
 %build
 # % define optflags $(echo $RPM_OPT_FLAGS | sed 's|-fstack-protector||')
+# Private malloc does not work on AArch64, bug #1142068
 %configure \
+%ifarch aarch64
+    --enable-use-malloc \
+%else
+    --disable-use-malloc \
+%endif
     --enable-coroutining \
     --enable-max-performance \
     --enable-depth-limit \
@@ -238,6 +244,9 @@ fi
 
 
 %changelog
+* Wed Apr 15 2015 Petr Pisar <ppisar at redhat.com> - 6.2.2-14
+- Disable private malloc on AArch64 (bug #1142068)
+
 * Thu Feb 12 2015 Petr Pisar <ppisar at redhat.com> - 6.2.2-13
 - Fix regression with GCC 5.0
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/yap.git/commit/?h=master&id=f1f40796f7f5bb4e39b97d9641889238b9e4c53e


More information about the scm-commits mailing list