Re: Default stack size

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/24/2015 06:19 AM, Richard W.M. Jones wrote:
> 
> For the OCaml packages on ppc64/ppc64le, we keep having bugs like this
> one: https://bugzilla.redhat.com/show_bug.cgi?id=1204876
> 
> The OCaml compiler is quite recursive, and so it can easily overflow
> the default stack.  For reasons that are not entirely clear this
> happens only on ppc64/ppc64le (not on x86 or aarch64).  Perhaps POWER
> stack frames are bigger, or the default stack size is smaller.
> 
> One way to "fix" this would be to modify every single ocaml-* spec
> file to add:
> 
> %ifarch %{power64}
> ulimit -s 65536
> %endif

FWIW - coincidentally I just ran into a similar issue building gdl on EPEL6
for x86_64.  I couldn't reproduce it locally because I bump up the default
stack limit a bit on my machines.  It does appear that the default may be a
bit too constrained.


-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       orion@xxxxxxxx
Boulder, CO 80301                   http://www.nwra.com
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux