lmj / lparallel

Parallelism for Common Lisp
http://lparallel.org
BSD 3-Clause "New" or "Revised" License
244 stars 29 forks source link

failed to compile on sbcl-1.1.6-x86-darwin on mac os x #12

Closed dwonghome closed 11 years ago

dwonghome commented 11 years ago

CL-USER> (ql:quickload "lparallel") To load "lparallel": Load 1 ASDF system: lparallel ; Loading "lparallel"

The value (SB-SYS:MACRO LPARALLEL.VECTOR-QUEUE::%%%%.RAW-QUEUE.DATA

:INSTANCE79)

is not of type SB-C::LAMBDA-VAR. [Condition of type TYPE-ERROR]

Restarts: 0: [RETRY] Retry compiling #<CL-SOURCE-FILE "lparallel" "src" "vector-queue">. 1: [ACCEPT] Continue, treating compiling #<CL-SOURCE-FILE "lparallel" "src" "vector-queue"> as having been successful. 2: [ABORT] Give up on "lparallel" 3: [RETRY] Retry SLIME REPL evaluation request. 4: [*ABORT] Return to SLIME's top level. 5: [REMOVE-FD-HANDLER] Remove #<SB-IMPL::HANDLER INPUT on descriptor 8: #<CLOSURE (LABELS SWANK-BACKEND::RUN :IN SWANK-BACKEND:ADD-FD-HANDLER) {13CCD535}>> --more--

Backtrace: 0: ((LAMBDA (#:WHOLE-VAR-781 &AUX (#:N-ENV-782 SB-C:LEXENV)) :IN "/Users/jwise/proj/sbcl/clean/1.1.6/sbcl-1.1.6-x86-darwin/src/cold/compile-cold-sbcl.lisp") (SB-KERNEL:%SVSET LPARALLEL.VECTOR-QUEUE::DA.. 1: (SB-C::IR1-CONVERT-SRCTRAN #<SB-C::CTRAN 1 {11C117C1}> #<SB-C::CTRAN 2 {11C11BB1}> NIL #<SB-C::GLOBAL-VAR :%SOURCE-NAME SB-KERNEL:%SVSET :TYPE #1=#<SB-KERNEL:FUN-TYPE (FUNCTION (SIMPLE-VECTOR (MOD 536.. 2: (SB-C::IR1-CONVERT #<SB-C::CTRAN 1 {11C117C1}> #<SB-C::CTRAN 2 {11C11BB1}> NIL (SB-KERNEL:%SVSET LPARALLEL.VECTOR-QUEUE::DATA (MOD (+ LPARALLEL.VECTOR-QUEUE::START COUNT) (LENGTH LPARALLEL.VECTOR-QUEU.. 3: (SB-C::IR1-CONVERT-GLOBAL-FUNCTOID #<SB-C::CTRAN 1 {11C117C1}> #<SB-C::CTRAN 2 {11C11BB1}> NIL (SETF (SVREF LPARALLEL.VECTOR-QUEUE::DATA (MOD (+ LPARALLEL.VECTOR-QUEUE::START COUNT) (LENGTH LPARALLEL... 4: (SB-C::IR1-CONVERT #<SB-C::CTRAN 1 {11C117C1}> #<SB-C::CTRAN 2 {11C11BB1}> NIL (SETF (SVREF LPARALLEL.VECTOR-QUEUE::DATA (MOD (+ LPARALLEL.VECTOR-QUEUE::START COUNT) (LENGTH LPARALLEL.VECTOR-QUEUE::DA.. 5: (SB-C::IR1-CONVERT-PROGN-BODY #<SB-C::CTRAN 1 {11C117C1}> #<SB-C::CTRAN 3 {11C11659}> #<SB-C::LVAR 4 {11C11671}> ((SETF (SVREF LPARALLEL.VECTOR-QUEUE::DATA (MOD (+ LPARALLEL.VECTOR-QUEUE::START COUNT).. 6: (SB-C::%PROCESSING-DECLS NIL ((LPARALLEL.VECTOR-QUEUE::DATA SB-SYS:MACRO LPARALLEL.VECTOR-QUEUE::%%%%.RAW-QUEUE.DATA #1=#:INSTANCE79) (LPARALLEL.VECTOR-QUEUE::START SB-SYS:MACRO LPARALLEL.VECTOR-QUEUE.. 7: (SB-C::%FUNCALL-IN-FOOMACROLET-LEXENV #<CLOSURE (LAMBDA (SB-C::DEFINITION) :IN SB-C::SYMBOL-MACROLET-DEFINITIONIZE-FUN) {11C11ABD}> :VARS ((LPARALLEL.VECTOR-QUEUE::DATA (LPARALLEL.VECTOR-QUEUE::%%%%.R.. 8: (SB-C::IR1-CONVERT-SYMBOL-MACROLET #<SB-C::CTRAN 1 {11C117C1}> #<SB-C::CTRAN 3 {11C11659}> #<SB-C::LVAR 4 {11C11671}> (SYMBOL-MACROLET ((LPARALLEL.VECTOR-QUEUE::DATA (LPARALLEL.VECTOR-QUEUE::%%%%.RAW-.. 9: (SB-C::IR1-CONVERT #<SB-C::CTRAN 1 {11C117C1}> #<SB-C::CTRAN 3 {11C11659}> #<SB-C::LVAR 4 {11C11671}> (SYMBOL-MACROLET ((LPARALLEL.VECTOR-QUEUE::DATA (LPARALLEL.VECTOR-QUEUE::%%%%.RAW-QUEUE.DATA #1=#:.. 10: (SB-C::IR1-CONVERT-GLOBAL-FUNCTOID #<SB-C::CTRAN 1 {11C117C1}> #<SB-C::CTRAN 3 {11C11659}> #<SB-C::LVAR 4 {11C11671}> (LPARALLEL.UTIL::DEFINE-SLOTS-MACROLET #:LPARALLEL.VECTOR-QUEUE #:%%%%.RAW-QUEUE. .. 11: (SB-C::IR1-CONVERT #<SB-C::CTRAN 1 {11C117C1}> #<SB-C::CTRAN 3 {11C11659}> #<SB-C::LVAR 4 {11C11671}> (LPARALLEL.UTIL::DEFINE-SLOTS-MACROLET #:LPARALLEL.VECTOR-QUEUE #:%%%%.RAW-QUEUE. (LPARALLEL.VECTO.. 12: (SB-C::IR1-CONVERT-PROGN-BODY #<SB-C::CTRAN 1 {11C117C1}> #<SB-C::CTRAN 3 {11C11659}> #<SB-C::LVAR 4 {11C11671}> ((LPARALLEL.UTIL::DEFINE-SLOTS-MACROLET #:LPARALLEL.VECTOR-QUEUE #:%%%%.RAW-QUEUE. (LPA.. 13: (SB-C::IR1-CONVERT-AUX-BINDINGS #<SB-C::CTRAN 1 {11C117C1}> #<SB-C::CTRAN 3 {11C11659}> #<SB-C::LVAR 4 {11C11671}> ((LPARALLEL.UTIL::DEFINE-SLOTS-MACROLET #:LPARALLEL.VECTOR-QUEUE #:%%%%.RAW-QUEUE. (L.. 14: (SB-C::IR1-CONVERT-SPECIAL-BINDINGS #<SB-C::CTRAN 1 {11C117C1}> #<SB-C::CTRAN 3 {11C11659}> #<SB-C::LVAR 4 {11C11671}> ((LPARALLEL.UTIL::DEFINE-SLOTS-MACROLET #:LPARALLEL.VECTOR-QUEUE #:%%%%.RAW-QUEUE.. 15: (SB-C::IR1-CONVERT-LAMBDA-BODY ((LPARALLEL.UTIL::DEFINE-SLOTS-MACROLET #:LPARALLEL.VECTOR-QUEUE #:%%%%.RAW-QUEUE. (LPARALLEL.VECTOR-QUEUE::DATA LPARALLEL.VECTOR-QUEUE::START COUNT) #:INSTANCE79 (SETF .. 16: ((LAMBDA (SB-C::NEXT SB-C::RESULT SB-C::POST-BINDING-LEXENV) :IN SB-C::IR1-CONVERT-LET) #<SB-C::CTRAN 5 {11C11209}> #<SB-C::LVAR 6 {11C11221}> NIL) 17: (SB-C::%PROCESSING-DECLS NIL (#<SB-C::LAMBDA-VAR :%SOURCE-NAME #:INSTANCE79 {11C11479}>) NIL #<SB-C::CTRAN 5 {11C11209}> #<SB-C::LVAR 6 {11C11221}> T #<CLOSURE (LAMBDA (SB-C::NEXT SB-C::RESULT SB-C::P.. 18: (SB-C::IR1-CONVERT-LET #<SB-C::CTRAN 7 {11C11131}> #<SB-C::CTRAN 5 {11C11209}> #<SB-C::LVAR 6 {11C11221}> (LET ((#1=#:INSTANCE79 LPARALLEL.VECTOR-QUEUE::QUEUE)) (LPARALLEL.UTIL::DEFINE-SLOTS-MACROLET .. 19: (SB-C::IR1-CONVERT #<SB-C::CTRAN 7 {11C11131}> #<SB-C::CTRAN 5 {11C11209}> #<SB-C::LVAR 6 {11C11221}> (LET ((#1=#:INSTANCE79 LPARALLEL.VECTOR-QUEUE::QUEUE)) (LPARALLEL.UTIL::DEFINE-SLOTS-MACROLET #:LP.. --more--

lmj commented 11 years ago

This is a known bug in sbcl-1.1.6. Any other version within the past few years should work.

dwonghome commented 11 years ago

Thanks! fyi: tried latest sbcl 1.1.13. lparallel compiled and worked fine.