On Thu, Jul 15, 2010 at 11:07 PM, Chun Tian (binghe) <binghe.lisp@gmail.com> wrote:
Hi, SBCL

I want to build a recent version of SBCL/win32 with SB-THREAD enabled. But I met something wrong when running the "make.sh".

I installed MingW32 and MSYS, and checked out latest version (1.0.40) of SBCL from CVS. I already installed SBCL 1.0.37 from official download link. I didn't changed anything in SBCL's source directory, but only add a file "customize-target-features.lisp":

I'm not sure that thread support for win32 has been committed to cvs yet. Have you tried the git repo?

http://github.com/dmitryvk/sbcl-win32-threads

Also see the mailing list archives for build instructions:

http://article.gmane.org/gmane.lisp.steel-bank.devel/14958/match=

(lambda (features)
 (flet ((enable (x)
          (pushnew x features))
        (disable (x)
          (setf features (remove x features))))
   (enable :sb-thread)))

I met following errors when I run "make.sh" and it compiles to "src/code/cross-make-load-form.lisp":

; compiling file "C:\\Lisp\\sbcl\\src\\code\\cross-make-load-form.lisp" (written
 16 JUL 2010 01:47:24 PM):
; compiling (IN-PACKAGE "SB!INT");
; caught WARNING:
;   Found non-STANDARD-CHAR in "MAKE-LOAD-FORM-SAVING-SLOTS ~
;                   called with :SLOT-NAMES argument during cross-compilation"

; compiling (DEFUN SB-XC:MAKE-LOAD-FORM-SAVING-SLOTS ...)
; file: C:\Lisp\sbcl\src\code\cross-make-load-form.lisp
; in: DEFUN SB-XC:MAKE-LOAD-FORM-SAVING-SLOTS
;     (SB!INT:BUG "MAKE-LOAD-FORM-SAVING-SLOTS ~
;                   called with :SLOT-NAMES argument during cross-compilation")
;
; caught STYLE-WARNING:
;   undefined function: BUG
;
; compilation unit finished
;   Undefined function:
;     BUG
;   caught 1 WARNING condition
;   caught 1 STYLE-WARNING condition


; C:\Lisp\sbcl\obj\from-host\src\code\cross-make-load-form.lisp-obj-tmp written
; compilation finished in 0:00:00.031
unhandled SIMPLE-ERROR:
 FAILURE-P was set when creating "obj/from-host/src/code/cross-make-load-form.l
isp-obj".

0: (SB-DEBUG::MAP-BACKTRACE #<CLOSURE (LAMBDA #) {23D10E7D}>)[:EXTERNAL]
1: (SB-DEBUG:BACKTRACE 128 #<SYNONYM-STREAM :SYMBOL SB-SYS:*STDERR* {2239C7A1}>)

2: (SB-DEBUG::DEBUGGER-DISABLED-HOOK
   #<SIMPLE-ERROR {23D0FB89}>
   #<unavailable argument>)
3: (SB-DEBUG::RUN-HOOK SB-EXT:*INVOKE-DEBUGGER-HOOK* #<SIMPLE-ERROR {23D0FB89}>)

4: (INVOKE-DEBUGGER #<SIMPLE-ERROR {23D0FB89}>)
5: (ERROR #<SIMPLE-ERROR {23D0FB89}>)[:EXTERNAL]
6: (COMPILE-STEM "src/code/cross-make-load-form" (:NOT-TARGET) :HOST-COMPILE)
7: (IN-HOST-COMPILATION-MODE #<CLOSURE (LAMBDA #) {24959EAD}>)
8: (HOST-CLOAD-STEM "src/code/cross-make-load-form" (:NOT-TARGET))
9: (LOAD-OR-CLOAD-XCOMPILER #<FUNCTION HOST-CLOAD-STEM>)
10: (SB-INT:SIMPLE-EVAL-IN-LEXENV
    (LOAD-OR-CLOAD-XCOMPILER #'HOST-CLOAD-STEM)
    #<NULL-LEXENV>)
11: (SB-EXT:INTERACTIVE-EVAL (LOAD-OR-CLOAD-XCOMPILER #'HOST-CLOAD-STEM))[:EXTER
NAL]
12: (SB-IMPL::REPL-FUN NIL)
13: ((LAMBDA ()))
14: (SB-IMPL::%WITH-REBOUND-IO-SYNTAX #<CLOSURE (LAMBDA #) {23C7D035}>)
15: (SB-IMPL::TOPLEVEL-REPL NIL)
16: (SB-IMPL::TOPLEVEL-INIT)
17: ((LABELS SB-IMPL::RESTART-LISP))
18: ("foreign function: #x412424")
19: ("foreign function: #x40B2AF")

unhandled condition in --disable-debugger mode, quitting
deleted #P"C:\\Lisp\\sbcl\\obj\\from-host\\src\\code\\cross-make-load-form.lisp-
obj-tmp"




The problem doesn't exist on other platforms, say, On Mac OS X.

Anyone have ideas on what's wrong here?

Thanks!

Chun Tian (binghe)


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Sbcl-devel mailing list
Sbcl-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sbcl-devel



--
Elliott Slaughter

"Don't worry about what anybody else is going to do. The best way to predict the future is to invent it." - Alan Kay