Summary: | dev-ml/camlp4-4.05_p1 : Fatal error: exception Stack overflow | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | atoth, lssndrbarbieri, sam |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://github.com/gentoo/gentoo/pull/15433 https://bugs.gentoo.org/show_bug.cgi?id=710966 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
dev-ml:camlp4-4.05_p1:20180112-054057.log emerge-history.txt environment etc.portage.tbz2 temp.tbz2 |
Description
Toralf Förster
2018-01-12 17:57:36 UTC
Created attachment 514510 [details]
emerge-info.txt
Created attachment 514512 [details]
dev-ml:camlp4-4.05_p1:20180112-054057.log
Created attachment 514514 [details]
emerge-history.txt
Created attachment 514516 [details]
environment
Created attachment 514518 [details]
etc.portage.tbz2
Created attachment 514520 [details]
temp.tbz2
https://github.com/ocaml/ocaml/issues/7435 I issued 'ulimit -s unlimited' and it was a solution to the problem. I'm not sure how high the memory consumption went up - they are mentioning at least 10Gb in the linked issue. Fortunately I have 32Gb in may mobile workstation and 128Gb in the server... It is scary that this package requires so much memory to compile. That makes it not feasible on a lot of systems without a bunch of RAM... (In reply to Attila Tóth from comment #7) > https://github.com/ocaml/ocaml/issues/7435 > > I issued 'ulimit -s unlimited' and it was a solution to the problem. I'm not > sure how high the memory consumption went up - they are mentioning at least > 10Gb in the linked issue. Fortunately I have 32Gb in may mobile workstation FWIW the tinderbox has 16 GB for /var/tmp/portage as tmpfs ande 128 GB RAM at all. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05f8053ee47fb207421205cb98570a4ee8b4990e commit 05f8053ee47fb207421205cb98570a4ee8b4990e Author: Rafael Kitover <rkitover@gmail.com> AuthorDate: 2020-04-20 00:21:20 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2020-05-05 08:46:35 +0000 dev-ml/camlp4: Avoid stack overflow in build. Add ulimit -s 11530000 (set stack limit to 11GiB) to src_compile() to try to avoid stack overflow errors. Closes: https://bugs.gentoo.org/644352 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Rafael Kitover <rkitover@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/15433 Signed-off-by: Joonas Niilola <juippis@gentoo.org> dev-ml/camlp4/camlp4-4.04_p1.ebuild | 2 ++ dev-ml/camlp4/camlp4-4.05_p1.ebuild | 2 ++ dev-ml/camlp4/camlp4-4.08_p1.ebuild | 4 +++- 3 files changed, 7 insertions(+), 1 deletion(-) |