Bug 1352297 - Unable to compile fricas
Summary: Unable to compile fricas
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: sbcl
Version: 24
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Rex Dieter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-07-03 13:12 UTC by Luca Giuzzi
Modified: 2017-04-08 10:51 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-04-08 10:51:03 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1532253 0 None None None 2016-07-03 13:12:22 UTC

Description Luca Giuzzi 2016-07-03 13:12:23 UTC
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

Comment 1 Luca Giuzzi 2016-07-04 09:59:08 UTC
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.

Comment 2 Luca Giuzzi 2017-04-08 10:51:03 UTC
This is fixed by the current version of sbcl shipped with fedora.


Note You need to log in before you can comment on or make changes to this bug.