You are not logged in.
Pages: 1
trying to fix the maxima-opens-debugger problem, I scheduled sbcl for a rebuild with the result, that the build of sbcl now fails with the same error:
fatal error encountered in SBCL pid 475(tid 0xf7cb9700):
unexpected return from initial thread in main()
Welcome to LDB, a low-level debugger for the Lisp runtime environment.
ldb>
The problem is, that sbcl is needed in order to build sbcl. I put the official i686 sbcl-package into build-support and built sbcl from there with the same result.
Offline
older versions of sbcl do not work, too. I tested with:
1.3.20-1, 1.3.19-1, 1.3.17-1, 1.2.8-1
Offline
from http://www.sbcl.org/getting.html:
Compiling SBCL from Source
SBCL can be compiled from source code using another ANSI-compliant Common Lisp implementation. As of SBCL 0.8.13, the following compilers are known to work:
SBCL itself
CMU Common Lisp, tested with 18e and 19a
OpenMCL 0.14.1
CLISP 2.33.2
Alternatively, they offer a binary download directly for i686, which should work to do the rebuild.
Offline
I'll try to rewrite the PKGBUILD to bootstrap with the binary sbcl package from their site.
Offline
hmm, bootstrapping works on x86_64, but not on i686 :-/
Offline
ah, no, actually, on x86_64 it throws some error, but a different one:
x86-64-arch.c:141:44: error: dereferencing pointer to incomplete type 'os_context_t {aka struct ucontext}'
return (os_context_register_t*)&context->uc_mcontext.gregs[17];
^~
x86-64-arch.c:155:1: warning: control reaches end of non-void function [-Wreturn-type]
}
instead of
//Starting build: Fri Oct 27 10:05:25 CEST 2017
//Options: --prefix='/usr' --xc-host='sbcl'
This is SBCL 1.2.7, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.
SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses. See the CREDITS and COPYING files in the
distribution for more information.
fatal error encountered in SBCL pid 547(tid 4157417216):
unexpected return from initial thread in main()
Welcome to LDB, a low-level debugger for the Lisp runtime environment.
ldb>
The same errors happen with the original PKGBUILD which uses the arch-package for boot strapping.
Offline
for the sake of completeness: my modifications
Offline
I opened an upstream bug for the x86_64 error, but I guess, this won't solve our issue :-(
Offline
Compiling the git HEAD with clisp completes stage 1 and fails at stage 2 with
//entering make-target-2.sh
//doing warm init - compilation phase
This is SBCL 1.4.0.239-c092dcfe9, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.
SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses. See the CREDITS and COPYING files in the
distribution for more information.
fatal error encountered in SBCL pid 914(tid 0xf7cb9700):
unexpected return from initial thread in main()
Welcome to LDB, a low-level debugger for the Lisp runtime environment.
ldb>
I guess, this is the stage when sbcl is compiled with the sbcl compiled in stage 1 ...
Offline
Pages: 1