[gambit-list] Gambit-C 4.5.3 breaks blackhole import of compiled modules

Marc Feeley feeley at iro.umontreal.ca
Mon Nov 16 11:26:44 EST 2009


On 2009-11-16, at 11:10 AM, Nicola Archibald wrote:

> [nikki at vbox src]$ bsc
> Loaded Black Hole...
> Gambit v4.5.3
>
> > (import test-c)
> /home/nikki/src/test-c is being compiled...
> *** ERROR -- Operator is not a PROCEDURE
> (#("test-c.o1" #
> #2
>  | test-c.o1|>))
> >
>
> At a guess, this is likely caused by something in the following  
> commit :
>
> http://www.iro.umontreal.ca/~gambit/repo/.cgit.cgi/Gambit/commit/?id=5bae3cb2db90f90ae9fbe16374f4c44fdb3106fe

You are correct... that commit is the reason for the above misbehavior.

I don't know what to change in blackhole, but the change should be  
simple (you need to extract the procedure with a (vector-ref v 2)).

Marc




More information about the Gambit-list mailing list