[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sbcl-devel
Subject:    Re: [Sbcl-devel] Can't compile sbcl-1.3.10 on Windows
From:       Andrea Rossetti <andrea.rossetti () gmail ! com>
Date:       2016-10-12 19:22:36
Message-ID: CADjuuineBAc1wyTD3jGNtvnpAqs9N+9dJuBEdRqb+VtCytkEGg () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


A short update: I had to apply the same sexp substitution also on
src/cold/compile-cold-sbcl.lisp, line 22. Cheers, Andrea

2016-10-12 21:06 GMT+02:00 Andrea Rossetti <andrea.rossetti@gmail.com>:

> Hello guys,
>
>   I tried to compile the sources taken from http://sbcl.org/platform-
> table.html,
> using the Windows/AMD64 binaries as the "--xc-host=" parameter. Compilation
> starts correctly, but after a few seconds of compilation this message
> appears:
>
> ------------------------------------------------------------
> ----------------
> #<PACKAGE "SB-COLD">
> *
> debugger invoked on a SB-C::INPUT-ERROR-IN-LOAD in thread
> #<THREAD "main thread" RUNNING {1002944AA3}>:
>   READ error during LOAD:
>
>     Symbol "WAIT" not found in the SB-POSIX package.
>
>       Line: 37, Column: 61, File-Position: 1451
>
>       Stream: #<SB-INT:FORM-TRACKING-STREAM for "file
> c:\\Users\\andrea\\Desktop\\sbcl-1.3.10\\src\\sbcl-1.3.10\
> \src\\cold\\defun-load-or-cload-xcompiler.lisp" {1002F92A43}>
>
> Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.
> ------------------------------------------------------------
> ----------------
>
> That compilation error does not happen if I edit the file
> src/cold/defun-load-or-cload-xcompiler.lisp at line 32
> (where there is a "#.#" conditional compilation directive),
> replacing the sexp
>
> (cl:find-package "SB-POSIX")
>
> with
>
> (cl:and (cl:find-package "SB-POSIX") (cl:find-symbol "WAIT" :sb-posix))
>
> To developers who compile SBCL on Windows: may I please ask if
> the error is reproducible on your workstation, and if the suggested fix
> works for you as well?
>
> Thanks for any feedback, kindest regards.
>
> Andrea
>
> PS: at the moment I have another compilation error, the one about
> "DBG_PRINTEXCEPTION_C" that had already been discussed
> here long ago, probably due to my MinGW being too old.
> But that's another story and you should not encounter it.
>
>

[Attachment #5 (text/html)]

<div dir="ltr">A short update: I had to apply the same sexp substitution  also  \
on<div>src/cold/compile-cold-sbcl.lisp, line 22. Cheers, Andrea<br></div></div><div \
class="gmail_extra"><br><div class="gmail_quote">2016-10-12 21:06 GMT+02:00 Andrea \
Rossetti <span dir="ltr">&lt;<a href="mailto:andrea.rossetti@gmail.com" \
target="_blank">andrea.rossetti@gmail.com</a>&gt;</span>:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr"><div>Hello guys,</div><div><br></div><div>   I \
tried to compile the sources taken from <a href="http://sbcl.org/platform-table.html" \
target="_blank">http://sbcl.org/platform-<wbr>table.html</a>,</div><div>using the \
Windows/AMD64 binaries as the &quot;--xc-host=&quot; parameter. \
Compilation</div><div>starts correctly, but after a few seconds of compilation this \
message appears:</div><div><br></div><div>------------------------------<wbr>------------------------------<wbr>----------------</div><div>#&lt;PACKAGE \
&quot;SB-COLD&quot;&gt;</div><div>*</div><div>debugger invoked on a \
SB-C::INPUT-ERROR-IN-LOAD in thread</div><div>#&lt;THREAD &quot;main thread&quot; \
RUNNING {1002944AA3}&gt;:</div><div>   READ error during \
LOAD:</div><div><br></div><div>      Symbol &quot;WAIT&quot; not found in the \
SB-POSIX package.</div><div><br></div><div>         Line: 37, Column: 61, \
File-Position: 1451</div><div><br></div><div>         Stream: \
#&lt;SB-INT:FORM-TRACKING-STREAM for &quot;file \
c:\\Users\\andrea\\Desktop\\<wbr>sbcl-1.3.10\\src\\sbcl-1.3.10\<wbr>\src\\cold\\defun-load-or-<wbr>cload-xcompiler.lisp&quot; \
{1002F92A43}&gt;</div><div><br></div><div>Type HELP for debugger help, or \
(SB-EXT:EXIT) to exit from \
SBCL.</div><div>------------------------------<wbr>------------------------------<wbr>----------------<br></div><div><br></div><div>That \
compilation error does not happen if I edit the \
file</div><div>src/cold/defun-load-or-cload-<wbr>xcompiler.lisp at line \
32</div><div>(where there is a &quot;#.#&quot; conditional compilation \
directive),</div><div>replacing the sexp</div><div><br></div><div>(cl:find-package \
&quot;SB-POSIX&quot;)<br></div><div><br></div><div>with</div><div><br></div><div>(cl:and \
(cl:find-package &quot;SB-POSIX&quot;) (cl:find-symbol &quot;WAIT&quot; \
:sb-posix))<br></div><div><br></div><div>To developers who compile SBCL on Windows: \
may I please ask if</div><div>the error is reproducible on your workstation, and if \
the suggested fix</div><div>works for you as well?</div><div><br></div><div>Thanks \
for any feedback, kindest \
regards.<br></div><div><br></div><div>Andrea<br></div><div><br></div><div>PS: at the \
moment I have another compilation error, the one \
about</div><div>&quot;DBG_PRINTEXCEPTION_C&quot; that had already been \
discussed</div><div>here long ago, probably due to my MinGW being too old.  \
</div><div>But that&#39;s another story and you should not encounter \
it.</div><div><br></div></div> </blockquote></div><br></div>



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot

_______________________________________________
Sbcl-devel mailing list
Sbcl-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sbcl-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic