[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gcl-devel] Re: FriCAS and gcl-2.7.0
From: |
Camm Maguire |
Subject: |
[Gcl-devel] Re: FriCAS and gcl-2.7.0 |
Date: |
15 Jan 2008 12:10:36 -0500 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Greetings, and thanks so much for the feedback!
The standard way to debug this is to compile gcl with --enable-debug
and run under gdb, 'watch'ing for changes to the address listed. I'd
be happy to look at this, as it is likely more efficient than
explaining how to do it.
However, I cannot seem to get the ./configure to see gclcvs if both
this and gcl are installed. (Tried ln -s /usr/bin/gclcvs ./gcl;export
PATH=$(pwd):$PATH; ./configure --with-list=$(pwd)/gcl ....) Always
picks up /usr/bin/gcl for me.
Likewise, it is likely more efficient to build at first with
si::*disable-recompile* set to t. A special, experimental environment
for doing this automatically is supplied in the with-compilation-unit
standard macro. Within this environment, compilation and loading
should proceed without recompilation until the end, at which point
recompilation of the original source files will be attempted (but not
reloaded, as this could be logically inequivalent.)
This is likely something simple, if as you report the problem is after
the first gc.
Take care,
Waldek Hebisch <address@hidden> writes:
> Dear Camm,
>
> I have now removed DEFPACKAGE declaration in my working copy.
> I have build a "fast build" version of FriCAS using CLtL1
> version of gcl-2.7.0 (I am still using snapshot form Dec 19).
> This time build is done at safety 1. Build went fine -- note
> that "fast build" version build algebra from Lisp files,
> so very little code was run during build.
>
> The resulting binary show _very_ large number of errors in
> the testsute. The error are clearly related to memory
> management, typical message is:
>
> Error: TYPE-ERROR :DATUM #<FREE OBJECT 00000000012cdda0> :EXPECTED-TYPE
> FUNCTION NIL
> Fast links are on: do (si::use-fast-links nil) for debugging
> Signalled by |MULTFACT;FACTOR;PF;1|.
> TYPE-ERROR :DATUM #<FREE OBJECT 00000000012cdda0> :EXPECTED-TYPE FUNCTION NIL
>
> Broken at |MULTFACT;FACTOR;PF;1|. Type :H for Help.
>
> After I enabled messages about garbage collections I see that
> the error is just after first garbage collection.
>
>
> --
> Waldek Hebisch
> address@hidden
>
>
>
--
Camm Maguire address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
- [Gcl-devel] Re: FriCAS and gcl-2.7.0,
Camm Maguire <=