Thank you your answer,
(yes in effect, in effect, I ran cvs -z3 ...)
So, I finally "succeed in" compiling SBCL 1.0.4.5 for Linux
2.6.17-11-powerpc ppc (basic lisp seems to work).
When I run the test (cd tests && sh run-tests.sh) and get errors (not
surprised, threads, see below end of output of run-tests.sh).
The user manual (http://www.sbcl.org/manual > SBCL 1.0.3.48 User Manual)
I can read "Support for threading on Darwin (Mac OS X) and FreeBSD on
the x86 is experimental." (http://www.sbcl.org/manual/Threading.html ).
Is it a very hard job to make "experimental" available for ppc ? How
should I do (with no magics :-) ?
Thank's for help,
FV
in slime :
CL-USER> (sb-thread:make-thread (lambda () (write-line "Hello, world")))
Not supported in unithread builds.
[Condition of type SIMPLE-ERROR]
Restarts:
0: [ABORT-REQUEST] Abort handling SLIME request.
1: [ABORT] Exit debugger, returning to top level.
Backtrace:
0: (SB-THREAD:MAKE-THREAD #<unavailable argument>)
1: (SB-INT:SIMPLE-EVAL-IN-LEXENV (SB-THREAD:MAKE-THREAD (LAMBDA NIL
(WRITE-LINE "Hello, world"))) #<NULL-LEXENV>)
What should I do to make it successful ?
; TEST:LOAD-TEST.FASL.NEWEST written
; compilation finished in 0:00:00
compiled-file-name="/home/fred/dev/lisp/src/sbcl/sbcl/tests/side-effectful-pathnames-test-26981/load-test.fasl"
expected-file-name="/home/fred/dev/lisp/src/sbcl/sbcl/tests/side-effectful-pathnames-test-26981/load-test.fasl"
// Running /home/fred/dev/lisp/src/sbcl/sbcl/tests/threads.test.sh
/waiting
unhandled SIMPLE-ERROR:
Error during processing of --eval option (LOAD
#P"condition-wait-sigcont.lisp"):
Not supported in unithread builds.
0: (BACKTRACE 128 #<SYNONYM-STREAM :SYMBOL SB-SYS:*STDERR* {4F1088E9}>)
1: (SB-DEBUG::DEBUGGER-DISABLED-HOOK
#<SIMPLE-ERROR {5086E0F1}>
#<unavailable argument>)
2: (INVOKE-DEBUGGER #<SIMPLE-ERROR {5086E0F1}>)
3: (INVOKE-DEBUGGER #<SIMPLE-ERROR {5086E0F1}>)
4: (ERROR
"Error during processing of --eval ~
option ~S:~%~% ~A")
5: ((LAMBDA (SB-IMPL::E)) #<SIMPLE-ERROR {5086DE11}>)
6: ((LAMBDA (SB-IMPL::E)) #<SIMPLE-ERROR {5086DE11}>)
7: (SIGNAL #<SIMPLE-ERROR {5086DE11}>)
8: (ERROR "Not supported in unithread builds.")
9: (CONDITION-WAIT #<unavailable argument> #S(MUTEX :NAME "lock" :VALUE
NIL))
10: (CONDITION-WAIT #<unavailable argument> #S(MUTEX :NAME "lock" :VALUE
NIL))
11: (SB-INT:SIMPLE-EVAL-IN-LEXENV
(CONDITION-WAIT *QUEUE* *LOCK*)
#<NULL-LEXENV>)
12: (SB-IMPL::SIMPLE-EVAL-PROGN-BODY
((WRITE-LINE "/waiting") (FORCE-OUTPUT)
(DELETE-FILE "condition-wait-sigcont.tmp")
(CONDITION-WAIT *QUEUE* *LOCK*) (WRITE-LINE "/woken") (FORCE-OUTPUT)
(WITH-OPEN-FILE (F "condition-wait-sigcont.tmp" :DIRECTION :OUTPUT)
(WRITE-LINE "woken!" F)))
#<NULL-LEXENV>)
13: (SB-INT:SIMPLE-EVAL-IN-LEXENV
(WITH-MUTEX (*LOCK*) (WRITE-LINE "/waiting") (FORCE-OUTPUT)
(DELETE-FILE "condition-wait-sigcont.tmp")
(CONDITION-WAIT *QUEUE* *LOCK*) (WRITE-LINE "/woken")
(FORCE-OUTPUT)
(WITH-OPEN-FILE
(F "condition-wait-sigcont.tmp" :DIRECTION :OUTPUT)
(WRITE-LINE "woken!" F)))
#<NULL-LEXENV>)
14: (SB-FASL::LOAD-AS-SOURCE
#<SB-SYS:FD-STREAM for "file
/home/fred/dev/lisp/src/sbcl/sbcl/tests/condition-wait-sigcont.lisp"
{50869639}>
NIL
NIL)
15: (SB-FASL::INTERNAL-LOAD
#P"condition-wait-sigcont.lisp"
#P"/home/fred/dev/lisp/src/sbcl/sbcl/tests/condition-wait-sigcont.lisp"
:ERROR
NIL
NIL
:SOURCE
:DEFAULT)
16: (SB-FASL::INTERNAL-LOAD
#P"condition-wait-sigcont.lisp"
#P"/home/fred/dev/lisp/src/sbcl/sbcl/tests/condition-wait-sigcont.lisp"
:ERROR
NIL
NIL
NIL
:DEFAULT)
17: (LOAD #P"condition-wait-sigcont.lisp")
18: (SB-INT:SIMPLE-EVAL-IN-LEXENV
(LOAD #P"condition-wait-sigcont.lisp")
#<NULL-LEXENV>)
19: (SB-IMPL::PROCESS-EVAL-OPTIONS
((DISABLE-DEBUGGER) (LOAD #P"condition-wait-sigcont.lisp")))
20: (SB-IMPL::TOPLEVEL-INIT)
21: ((LABELS SB-IMPL::RESTART-LISP))
unhandled condition in --disable-debugger mode, quitting
kill: 22: No such process
kill: 23: No such process
kill: 26: No such process
// Running
/home/fred/dev/lisp/src/sbcl/sbcl/tests/undefined-classoid-bug.test.sh
; in: LAMBDA NIL
; (A-STRUCT-SLOT STRUCT)
;
; caught STYLE-WARNING:
; undefined function: A-STRUCT-SLOT
;
; caught STYLE-WARNING:
; This function is undefined:
; A-STRUCT-SLOT
;
; compilation unit finished
; caught 2 STYLE-WARNING conditions
; in: LAMBDA NIL
; (A-STRUCT-SLOT STRUCT)
;
; caught STYLE-WARNING:
; undefined function: A-STRUCT-SLOT
;
; caught STYLE-WARNING:
; This function is undefined:
; A-STRUCT-SLOT
;
; compilation unit finished
; caught 2 STYLE-WARNING conditions
; compiling file
"/home/fred/dev/lisp/src/sbcl/sbcl/tests/undefined-classoid-bug-1.lisp"
(written 16 FEB 2005 07:02:06 AM):
; compiling (IN-PACKAGE "CL-USER")
; compiling (DEFUN A-STRUCT-REFERENCER-1 ...)
; /home/fred/dev/lisp/src/sbcl/sbcl/tests/undefined-classoid-bug-1.fasl
written
; compilation finished in 0:00:00
; compiling file
"/home/fred/dev/lisp/src/sbcl/sbcl/tests/undefined-classoid-bug-2.lisp"
(written 16 FEB 2005 07:02:06 AM):
; compiling (IN-PACKAGE "CL-USER")
; compiling (DEFUN A-STRUCT-REFERENCER-2 ...)
; compiling (DEFSTRUCT A-STRUCT ...)
; /home/fred/dev/lisp/src/sbcl/sbcl/tests/undefined-classoid-bug-2.fasl
written
; compilation finished in 0:00:00
Finished running tests.
Status:
Expected failure: float.pure.lisp / (SCALE-FLOAT-OVERFLOW BUG-372)
Expected failure: float.pure.lisp / (ADDITION-OVERFLOW BUG-372)
Failure: debug.impure.lisp / (UNDEFINED-FUNCTION BUG-346)
Expected failure: debug.impure.lisp / (TRACE ENCAPSULATE NIL)
Expected failure: debug.impure.lisp / (TRACE-RECURSIVE ENCAPSULATE NIL)
Invalid exit status: defstruct.impure.lisp
Expected failure: external-format.impure.lisp / (CHARACTER-DECODE-LARGE
FORCE-END-OF-FILE)
test failed, expected 104 return code, got 1
Nikodemus Siivola a écrit :
> fred voisin wrote:
>
>> Then i have compiled (sh make.sh then sudo sh install.sh) sbcl cvs, no
>> errors as long as my bash history goes back (just warnings)
>> and then, curiously, i get the following output :
>
> You are missing two essential datums here:
>
> 1. Which source tree did you build? The exact version is stored in
> version.lisp-expr.
>
> 2. Which SBCL are you really running?
>
> which sbcl
>
> when typed in the shell will tell you that. The SBCL you installed
> with install.sh is /usr/local/bin/sbcl.
>
>> may i post the overall history of the make process ?
>
> Please don't.
>
> Cheers,
>
> -- Nikodemus
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Sbcl-help mailing list
> Sbcl-help@...
> https://lists.sourceforge.net/lists/listinfo/sbcl-help
>
>
|