Raymond Toy pushed to branch master at cmucl / cmucl
Commits:
9e4c9d0a by Raymond Toy at 2016-02-28T21:12:18-08:00
Reduce maximum heap size for Linux.
According to the message from Chisheng Huang on cmucl-help,
2016-02-27, 32-bit Ubuntu 11.10 (in VirtualBox) cannot use the full
heap space. There's something already allocated at address 0xb7b82000,
so limit the max heap to address 0xb7b80000, for a total of 1530 MB
instead of 1632 MB.
(It would be nice to be able to detect this somehow.)
- - - - -
1 changed file:
- src/lisp/x86-validate-linux.h
Changes:
=====================================
src/lisp/x86-validate-linux.h
=====================================
--- a/src/lisp/x86-validate-linux.h
+++ b/src/lisp/x86-validate-linux.h
@@ -22,12 +22,21 @@
* 0x38000000->0x40000000 128M Control stack growing down.
* 0x40000000->0x48000000 128M Reserved for shared libraries.
* 0x58000000->0x58100000 16M Foreign Linkage Table
- * 0x58100000->0xBE000000 1631M Dynamic Space.
- * 0xBFFF0000->0xC0000000 Unknown Linux mapping
+ * 0x58100000->0xB7B00000 1530M Dynamic Space.
+ * 0xB7B82000->0xC0000000 Unknown Linux mapping, including stack
*
+ *
* (Note: 0x58000000 allows us to run on a Linux system on an AMD
* x86-64. Hence we have a gap of unused memory starting at
* 0x48000000.)
+ *
+ * It appears as if the actual upper limit depends on the particular
+ * Linux distribution. Ubuntu 11.10 (32-bit) appears to have
+ * something mapped at 0xb78b2000, so we can't allocate the dynamic
+ * space past that. That results in a max heap size of 1530 MB.
+ * However, Fedora 22 ther appears to be nothing mapped there. In
+ * fact it appears to be free all the way to 0xf7c1b000. That would
+ * allow a heap of size 2555 MB.
*/
#define READ_ONLY_SPACE_START (SpaceStart_TargetReadOnly)
@@ -48,7 +57,7 @@
#define DYNAMIC_0_SPACE_START (SpaceStart_TargetDynamic)
#ifdef GENCGC
-#define DYNAMIC_SPACE_SIZE (0x66000000) /* 1.632GB */
+#define DYNAMIC_SPACE_SIZE (0x5FA00000) /* 1.530GB */
#else
#define DYNAMIC_SPACE_SIZE (0x04000000) /* 64MB */
#endif
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/commit/9e4c9d0a4cd95d10dfded5458…
Raymond Toy pushed to branch master at cmucl / cmucl
Commits:
1b324b5d by Raymond Toy at 2016-02-15T09:40:13-08:00
Update from logs.
- - - - -
8d6a01fb by Raymond Toy at 2016-02-25T21:30:29-08:00
Add note on building motifd and clm.
Mention that you need Motif to build motifd which is required for
clm. Also say that the build error can be safely ignored if you do
not need clm.
Fix issue #20
- - - - -
2 changed files:
- BUILDING
- src/general-info/release-21b.txt
Changes:
=====================================
BUILDING
=====================================
--- a/BUILDING
+++ b/BUILDING
@@ -334,6 +334,18 @@ including CLX, CMUCL/Motif, the Motif debugger, inspector, and control
panel, and the Hemlock editor. It will use the lisp executable and
core of the given target.
+Note: To build with Motif (clm), you need to have the Motif libraries
+available and headers available to build motifd, the clm Motif server.
+OpenMotif is known to work.
+
+You may need to adjust the include paths and library paths in
+src/motif/server/Config.* to match where Motif is installed if the
+paths therein are incorrect.
+
+Unless you intend to use clm and motifd, you can safely ignore the
+build failure. Everything else will have been compiled correctly; you
+just can't use clm.
+
* bin/make-dist.sh [-bg] [-G group] [-O owner] target-directory version arch os
This script creates both main and extra distribution tarballs from the
=====================================
src/general-info/release-21b.txt
=====================================
--- a/src/general-info/release-21b.txt
+++ b/src/general-info/release-21b.txt
@@ -50,6 +50,9 @@ New in this release:
integer value of power.
* Starting cmucl with "-dyanmic-space-size 0" means using the
maximum possible heap size for the platform.
+ * More descriptive docstring for
+ * *environment-list*
+ * :env option for run-program
* ANSI compliance fixes:
* PATHNAME-MATCH-P did not accept search-lists.
@@ -59,6 +62,8 @@ New in this release:
* Generate inxact exceptions more carefully.
* Fix FP issue when building with Xcode 7.2 (and newer versions of
clang). (See ticket #12.)
+ * Cleanups in handling floating-point exceptions. See Tickets #15
+ and #16.
* Trac Tickets:
@@ -70,6 +75,13 @@ New in this release:
worked around by explicitly setting inexact instead of using FP
instructions to generate inexact.
* Ticket #16 fixed: search-lists are handled correctly.
+ * Ticket #14 fixed: WITH-FLOAT-TRAPS-ENABLED doesn't incorrectly
+ set accrued exceptions anymore.
+ * Ticket #15 fixed: FLOATING-POINT-INEXACT exception prints out
+ values correctly now.
+ * Ticket #17 fixed: better docstring for *ENVIRONMENT-LIST*
+ * Ticket #18 fixed: better description of :ENV option for
+ RUN-PROGRAM.
* Other changes:
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/compare/b059caca3cd4c094432493b1…