From 257252e7b6aebfcfaf6e68fbf5abe5a64ab0eb1c Mon Sep 17 00:00:00 2001 From: Michel Normand Date: Apr 10 2014 08:34:12 +0000 Subject: increase stack size to compile on ppc64/ppc64le archi in fact required for ppc64le but do the same type of change and comment as done in ocaml.spec Signed-off-by: Michel Normand --- diff --git a/ocaml-camlp5.spec b/ocaml-camlp5.spec index f86ec98..437ad36 100644 --- a/ocaml-camlp5.spec +++ b/ocaml-camlp5.spec @@ -2,7 +2,7 @@ Name: ocaml-camlp5 Version: 6.11 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Classical version of camlp4 OCaml preprocessor Group: Development/Libraries @@ -57,6 +57,14 @@ sed -i 's/$(WARNERR)/-warn-error A/' etc/Makefile.withnew %build ./configure %if %opt +# 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 -Hs 65536 +ulimit -Ss 65536 +%endif make world.opt %else make world @@ -102,6 +110,9 @@ rm -f doc/html/.cvsignore doc/htmlp/{.cvsignore,*.sh,Makefile,html2*} %changelog +* Thu Apr 10 2014 Michel Normand 6.11-2 +- increase stack size for ppc64/ppc64le (RHBZ#1085850) + * Sat Sep 14 2013 Jerry James - 6.11-1 - New upstream version 6.11 (provides OCaml 4.01.0 support) - Build with debug information