Description of problem: The version of sbcl distributed with fedora is unable to compile fricas; the system stops with "heap exhausted" while compiling NBLM.lisp Version-Release number of selected component (if applicable): The problem does not exist with sbcl 1.2.16 nor with sbcl 1.3.5.39. Sbcl 1.3.4 is affected How reproducible: check out fricas from https://github.com/fricas/fricas.git Steps to Reproduce: 1. git clone https://github.com/fricas/fricas.git ; cd fricas; ./configure 2. make 3. ...wait Actual results: ; --> DEFUN PROGN SB-IMPL::%DEFUN SB-IMPL::%DEFUN SB-INT:NAMED-LAMBDA ; ==> ; #'(SB-INT:NAMED-LAMBDA BOOT::|NBLM;add_vector| ; (BOOT::|v1| BOOT::|v2| BOOT::|c| BOOT::|k| BOOT::|p| BOOT::$) ; (BLOCK BOOT::|NBLM;add_vector| ; (BOOT::SPROG ((#:G529 NIL) (BOOT::|i| NIL) (BOOT::|n| #)) ; (BOOT::SEQ ; (BOOT::LETT BOOT::|n| # BOOT::|NBLM;add_vector|) ; (BOOT::EXIT #))))) ; ; caught STYLE-WARNING: ; The variable $ is defined but never used. Heap exhausted during garbage collection: 0 bytes available, 16 requested. Gen StaPg UbSta LaSta LUbSt Boxed Unboxed LB LUB !move Alloc Waste Trig WP GCs Mem-age 0: 0 0 0 0 0 0 0 0 0 0 0 10737418 0 0 0.0000 1: 0 0 0 0 0 0 0 0 0 0 0 10737418 0 0 0.0000 2: 0 0 0 0 0 0 0 0 0 0 0 10737418 0 0 0.0000 3: 25530 2831 0 0 19560 2 0 0 5 640731056 276560 395090330 0 1 1.3998 4: 32767 1690 0 0 11450 54 16 0 40 376957776 529584 2000000 262 0 0.0300 5: 0 0 0 0 0 0 0 0 0 0 0 2000000 0 0 0.0000 6: 0 0 0 0 1415 271 0 0 0 55246848 0 2000000 1337 0 0.0000 Total bytes allocated = 1072935680 Dynamic-space-size bytes = 1073741824 GC control variables: *GC-INHIBIT* = true *GC-PENDING* = true *STOP-FOR-GC-PENDING* = false fatal error encountered in SBCL pid 25612(tid 140737353705216): Heap exhausted, game over. Welcome to LDB, a low-level debugger for the Lisp runtime environment. ldb> Expected results: The program is compiled and works Additional info: This is related to launchpad bug 1532253
With: sbcl commit b1056b539809f26909070ca07b9649154f1cea2e (sbcl 1.3.7.6-b1056b5) fricas commit 590a73cd70976b94b330835b1a659c0f4c8830a9 the compilation seems to work nicely (both including the aldor interface and not). I have generated sbcl without "--fancy", though.
This is fixed by the current version of sbcl shipped with fedora.