Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 98498 - sbcl 0.9.2 with unicode USE flag can't compile maxima
Summary: sbcl 0.9.2 with unicode USE flag can't compile maxima
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Lisp Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-09 14:09 UTC by M. Edward Borasky
Modified: 2006-04-24 12:44 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
log 'USE="unicode -clisp -cmucl -gcl sbcl" emerge -v sbcl maxima " (sbcl-unicode-maxima.log.bz2,326.55 KB, application/x-bzip)
2005-07-09 14:17 UTC, M. Edward Borasky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description M. Edward Borasky 2005-07-09 14:09:46 UTC
I recently set the "unicode" USE flag globally and rebuilt everything. So far, the only issue I've had is that sbcl 0.9.2 can't compile maxima. The symptom is

debugger invoked on a SB-KERNEL::CONTROL-STACK-EXHAUSTED in thread 26717:
  Control stack exhausted (no more space for function call frames).  This is probably due to heavily nested or infinitely recursive function calls, or a tail call that SBCL cannot or has not optimized away.

Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
  0: [CONTINUE] Ignore and continue with next --eval option.
  1: [ABORT   ] Skip rest of --eval options.
  2:            Skip to toplevel READ/EVAL/PRINT loop.
  3: [QUIT    ] Quit SBCL (calling #'QUIT, killing the process).

(SB-KERNEL::CONTROL-STACK-EXHAUSTED-ERROR)
0]    

sbcl built without unicode handles maxima fine. I've done a little research on Google; there are a few other issues with sbcl unicode support and maxima but I didn't see this specific one. I've attached the complete log if anyone needs it. Meanwhile, I'm rebuilding sbcl without unicode. I'm guessing this is upstream; unicode support in sbcl is quite new.
Comment 1 M. Edward Borasky 2005-07-09 14:17:26 UTC
Created attachment 63028 [details]
log 'USE="unicode -clisp -cmucl -gcl sbcl" emerge -v sbcl maxima "

unpacked is 5 megabytes -- open it only if you need to :)
Comment 2 Matthew Kennedy (RETIRED) gentoo-dev 2005-08-24 11:28:10 UTC
Does this problem still persist with SBCL 0.9.3?  I had chance to try to
reproduce this on amd64 (as x86_64) w/ sbcl 0.9.3 and unicode and it did work.
Comment 3 Travis Cross 2005-09-05 14:24:40 UTC
I have a similar (identical?) issue compiling Maxima with sbcl-0.9.3 with
unicode on x86.

; caught STYLE-WARNING:
;   The variable ME-OR-MY-ENCAPSULATION is defined but never used.
;  - Providing system maxima

;     (SETUP MAXIMA::PORT)
;
; caught STYLE-WARNING:
;   undefined function: SETUP

;
; caught STYLE-WARNING:
;   This function is undefined:
;     SETUP
;
; compilation unit finished
;   caught 8 STYLE-WARNING conditions
;   printed 3 notes
[doing purification: roots handlers stack bindings staticControl stack guard
page temporarily disabled: proceed with caution

debugger invoked on a SB-KERNEL::CONTROL-STACK-EXHAUSTED in thread #<THREAD
"initial thread" {56DA2C9}>:
  Control stack exhausted (no more space for function call frames).  This is
probably due to heavily nested or infinitely recursive function calls, or a tail
call that SBCL cannot or has not optimized away.

Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
  0: [CONTINUE] Ignore and continue with next --eval option.
  1: [ABORT   ] Skip rest of --eval options.
  2:            Skip to toplevel READ/EVAL/PRINT loop.
  3: [QUIT    ] Quit SBCL (calling #'QUIT, killing the process).

(SB-KERNEL::CONTROL-STACK-EXHAUSTED-ERROR)
0]        


Cheers,

-- Travis
Comment 4 Matthew Kennedy (RETIRED) gentoo-dev 2005-10-30 10:40:26 UTC
I can finally reproduce this with sbcl 0.9.6 and maxima 5.9.1
Comment 5 Charles Pence 2006-03-22 21:22:15 UTC
Wanted to say that the problem still exists with sbcl 0.9.9, confirmed today on X86.
Comment 6 Sébastien Fabbro (RETIRED) gentoo-dev 2006-04-09 02:30:59 UTC
It seems this issue is fixed with sbcl-0.9.11 and maxima-5.9.3 from the overlay (see bug #112754). Tested on ~amd64.
Comment 7 Matthew Kennedy (RETIRED) gentoo-dev 2006-04-24 12:44:40 UTC
I checked maxima-5.9.3 and they're all ~arch keywords.  If the sci@gentoo.org want help stablizing with a recent sbcl then we're happy to help.