[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help to bootstrap sbcl on riscv64



On Mittwoch, 29. März 2023 07:33:41 CEST Bo YU wrote:
> On Wed, Mar 29, 2023 at 10:00 AM Bo YU <tsu.yubo@gmail.com> wrote:
> > Broken at SB-COLD::LOAD-OR-CLOAD-XCOMPILER. In: #<process TOP-LEVEL
> > 0x4002d9bf80>.
> > 
> >  File: #P"/<<PKGBUILDDIR>>/src/cold/defun-load-or-cload-xcompiler.lisp"
> > 
> > (Position #5133)
> > 
> > 758.20user 6.69system 12:33.77elapsed 101%CPU (0avgtext+0avgdata
> > 408300maxresident)k
> > 0inputs+399432outputs (0major+3315534minor)pagefaults 0swaps
> > make-target-1.sh: 2: set: can't access tty; job control turned off
> > //entering make-target-1.sh
> > //building runtime system and symbol table file
> > make[2]: Entering directory '/<<PKGBUILDDIR>>/src/runtime'
> > GNUmakefile:41: genesis/Makefile.features: No such file or directory
> > make[2]: *** No rule to make target 'genesis/Makefile.features'.  Stop.
> > make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/runtime'
> > Command exited with non-zero status 2
> > 0.04user 0.00system 0:00.04elapsed 102%CPU (0avgtext+0avgdata
> > 11064maxresident)k 0inputs+0outputs (0major+1656minor)pagefaults 0swaps
> > ```
> > This is the same as log of 2.2.9-1[0]
> > 
> > There is should have bootstrap process that I don't know.
> > Could you give some hits here?
> 
> Sorry for not being well understood here.
> 
> It seems there are ecl and clisp to bootstrap sbcl on riscv64[0].
> But clisp has B-D issue(ffcall)[1] now on riscv64(I will look at what
> happened here).
> 
> If to use ecl, the bug has been reported to upstream[2] and I built
> ecl with ecl's developer branch
> and to see if it works.

From Memory, I always had the most success bootstrapping sbcl  from foreign 
arch (ie using a linux-amd64 sbcl and go via sshfs or similar). In particular 
this was way faster than waiting for clisp and also more reliable to work

Christoph





Reply to: