From: SourceForge.net <no...@so...> - 2008-12-25 22:13:31
|
Bugs item #2455471, was opened at 2008-12-20 23:28 Message generated for change (Comment added) made by me22 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=2455471&group_id=4933 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Installation Group: None Status: Closed Resolution: Wont Fix Priority: 5 Private: No Submitted By: Scott McMurray (me22) Assigned to: Nobody/Anonymous (nobody) Summary: maxima-5.17.1 ensure_space fails Initial Comment: I "only" have 4 GiB of RAM, so when I try to compile, it can't allocate 8 GiB. Compilation summary below. SBCL 1.0.14-gentoo. Summary: SBCL enabled. Executable name: "sbcl" default lisp: sbcl wish executable name: "none" make -j3 --jobs=4 --load-average=4 Making all in src make[1]: Entering directory `/var/tmp/portage/sci-mathematics/maxima-5.17.1/work/maxima-5.17.1/src' test -d binary-sbcl || mkdir binary-sbcl sbcl --noinform --noprint --eval '(progn (load "../lisp-utils/defsystem.lisp") (load "../lisp-utils/make-depends.lisp") (funcall (intern "CREATE-DEPENDENCY-FILE" :mk) "binary-sbcl/maxima.core" "sbcl-depends.mk") (sb-ext:quit))' mmap: Cannot allocate memory ensure_space: failed to validate 8589869056 bytes at 0x1000000000 (hint: Try "ulimit -a"; maybe you should increase memory limits.) make[1]: *** [sbcl-depends.mk] Error 1 make[1]: Leaving directory `/var/tmp/portage/sci-mathematics/maxima-5.17.1/work/maxima-5.17.1/src' make: *** [all-recursive] Error 1 ---------------------------------------------------------------------- Comment By: Scott McMurray (me22) Date: 2008-12-25 17:02 Message: You're right, sbcl doesn't run at all. I found the problem, though; I had over-commit memory at 2, rather than 0. ---------------------------------------------------------------------- Comment By: Robert Dodier (robert_dodier) Date: 2008-12-25 01:33 Message: I get the same error on my Fedora system. echo 0 > /proc/sys/kernel/exec-shield causes Linux to allow SBCL to run. You might have to do something different on Gentoo. The problem has something to do with the way SBCL wants to use memory. In the good/bad old days, you could allocate a big chunk of memory and do whatever you wanted in there. I guess there are more restrictions now, in particular, executing code in data areas is prohibited. I don't know exactly what SBCL is doing to trigger the error. The error message is misleading; the problem almost certainly cannot be resolved by ulimit. A random webpage I found about this problem: http://briancarper.net/2008/01/26/sbcl-on-debian-sucks/ Closing this report as "won't fix" since it is not a problem in Maxima. ---------------------------------------------------------------------- Comment By: Raymond Toy (rtoy) Date: 2008-12-22 11:22 Message: Does sbcl run by itself, without trying to build maxima? This error appears to be a problem with sbcl on Gentoo and not maxima. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=2455471&group_id=4933 |