diff --git a/SPECS/ocaml.spec b/SPECS/ocaml.spec index 1b5860d..e0ef634 100644 --- a/SPECS/ocaml.spec +++ b/SPECS/ocaml.spec @@ -1,6 +1,6 @@ Name: ocaml Version: 4.00.1 -Release: 2%{?dist} +Release: 4%{?dist} Summary: OCaml compiler and programming environment @@ -250,7 +250,14 @@ ulimit -Hs 65536 ulimit -Ss 65536 %endif +# For the use of -mpreferred-stack-boundary to workaround gcc stack +# alignment issues, see: http://caml.inria.fr/mantis/view.php?id=5700 +# ONLY use this on i386. +%ifarch %{ix86} +CFLAGS="$RPM_OPT_FLAGS -mpreferred-stack-boundary=2" \ +%else CFLAGS="$RPM_OPT_FLAGS" \ +%endif ./configure \ -bindir %{_bindir} \ -libdir %{_libdir}/ocaml \ @@ -510,6 +517,13 @@ fi %changelog +* Mon Jan 6 2014 Richard W.M. Jones - 4.01.0-7 +- Work around gcc stack alignment issues, see + http://caml.inria.fr/mantis/view.php?id=5700 + +* Fri Dec 27 2013 Daniel Mach - 4.00.1-3 +- Mass rebuild 2013-12-27 + * Thu Feb 14 2013 Fedora Release Engineering - 4.00.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild @@ -567,7 +581,7 @@ fi - Include svn rev 12548 to fix invalid generation of Thumb-2 branch instruction TBH (upstream PR#5623, RHBZ#821153). -* Wed May 29 2012 Richard W.M. Jones 3.12.1-8 +* Wed May 30 2012 Richard W.M. Jones 3.12.1-8 - Modify the ppc64 patch to reduce the delta between power64 and upstream power backends. - Clean up the spec file and bring it up to modern standards. @@ -719,7 +733,7 @@ fi * Tue Nov 18 2008 Richard W.M. Jones - 3.11.0+beta1-1 - Rebuild for major new upstream release of 3.11.0 for Fedora 11. -* Thu Aug 29 2008 Richard W.M. Jones - 3.10.2-5 +* Fri Aug 29 2008 Richard W.M. Jones - 3.10.2-5 - Rebuild with patch fuzz. * Mon Jun 9 2008 Richard W.M. Jones - 3.10.2-4 @@ -811,7 +825,7 @@ fi * Sun May 22 2005 Jeremy Katz - 3.08.3-3 - rebuild on all arches -* Fri Apr 7 2005 Michael Schwendt +* Fri Apr 8 2005 Michael Schwendt - rebuilt * Sat Mar 26 2005 Gerard Milmeister - 3.08.3-1