[ocaml-camlp4/f22] Increase stack limit on ppc64 (RHBZ#1204876).
Richard W.M. Jones
rjones at fedoraproject.org
Tue Mar 24 12:05:25 UTC 2015
commit 1945107e898110dee301488b5edb971616f6b10a
Author: Richard W.M. Jones <rjones at redhat.com>
Date: Tue Mar 24 12:03:17 2015 +0000
Increase stack limit on ppc64 (RHBZ#1204876).
ocaml-camlp4.spec | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
---
diff --git a/ocaml-camlp4.spec b/ocaml-camlp4.spec
index f8cd276..297f6a2 100644
--- a/ocaml-camlp4.spec
+++ b/ocaml-camlp4.spec
@@ -9,7 +9,7 @@
Name: ocaml-camlp4
Version: 4.02.0
-Release: 0.8.git%{shortcommit}%{?dist}
+Release: 0.9.git%{shortcommit}%{?dist}
Summary: Pre-Processor-Pretty-Printer for OCaml
@@ -50,7 +50,16 @@ This package contains the development files.
%build
+# For ppc64 we need a larger stack than default to compile some files
+# because the stages in the OCaml compiler are not mutually tail
+# recursive.
+%ifarch ppc64 ppc64le
+ulimit -a
+ulimit -s 65536
+%endif
+
./configure
+
# Incompatible with parallel builds:
unset MAKEFLAGS
%if !%{native_compiler}
@@ -110,6 +119,9 @@ make install \
%changelog
+* Tue Mar 24 2015 Richard W.M. Jones <rjones at redhat.com> - 4.02.0-0.9.gitcf1935d3
+- Increase stack limit on ppc64 (RHBZ#1204876).
+
* Mon Nov 03 2014 Richard W.M. Jones <rjones at redhat.com> - 4.02.0-0.8.git87c6a6b0
- Bump version and rebuild.
More information about the scm-commits
mailing list