Christophe Rhodes | 2 Aug 2003 15:15
Picon
Picon
Favicon

Re: Re: Build failure on FreeBSD 4

gerd.moellmann <at> t-online.de (Gerd Moellmann) writes:

> Christophe Rhodes <csr21 <at> cam.ac.uk> writes:
>
>> > This is from building with current CVS CMUCL, so it might actually
>> > indicate a problem in CVS CMUCL, dunno.  Any idea?
>> 
>> Ew.  Well, nothing in SBCL itself should be referring to
>> C::%INSTANCE-TYPEP (evidence: it builds on clisp and openmcl, neither
>> of which have such :-) so I'd be suspicious of a transform or two in
>> cmucl.  What does the backtrace look like?
>
> I'm afraid I don't know the steps to get a backtrace while building SBCL.
> Can you please tell?

Is there no mode in cmucl to get a backtrace on fatal error in batch
mode?  Oh well, never mind :-).  The easy way is, instead of
  ./make.sh 'lisp -batch' # what I presume you're using to build
to use
  ./make.sh 'lisp'
and when you get to the debugger, type "backtrace" :-)

I think the above works; if it doesn't, the stage which is failing is
make-host-2.sh (when the cross-compiler compiles the sbcl source);
once you've got to that stage, starting cmucl and pasting in forms one
by one from that script should get you to a suitable debugger prompt.

Cheers,

Christophe
--

-- 
http://www-jcsu.jesus.cam.ac.uk/~csr21/       +44 1223 510 299/+44 7729 383 757
(set-pprint-dispatch 'number (lambda (s o) (declare (special b)) (format s b)))
(defvar b "~&Just another Lisp hacker~%")    (pprint #36rJesusCollegeCambridge)

-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01

Gmane