[plt-scheme] Error running cross-compiled mzscheme (was: PLT mzscheme 299.207 on Sharp Zaurus)

From: Eli Barzilay (eli at barzilay.org)
Date: Wed Jul 20 18:03:19 EDT 2005

On Jul 20, Matthew Flatt wrote:
> 
> At Wed, 20 Jul 2005 17:29:24 -0400, Eli Barzilay wrote:
> > > > bash-2.05$ /opt/QtPalmtop/plt/bin/mzscheme
> > > > Welcome to MzScheme version 299.107 (sgc), Copyright (c) 2004-2005 PLT 
> > > > Scheme, Inc.
> > > > > (require (lib "1.ss" "srfi"))
> > > > hash-table-put!: expects type <mutable hash-table> as 1st argument, 
> > > > given: #<hash-table>; other arguments were: #<module-registry> 
> > > > #<hash-table>
> > > > 
> > > > It seems as if something is wrong with the build, as the same
> > > > expression works under the natively compiled version.
> > > 
> > > There seems to a problem related to immutable and mutable
> > > hashtables, but why?
> > 
> > Try removing compiled directories and then invoke mzscheme with
> > 
> >   .../mzscheme -M errortrace
> 
> I doubt that this is going to help, because the error looks like it
> comes from a call in MzScheme's "startup.ss".

Ah yes, I forgot the registry but in the error.


> Meanwhile, I don't yet have a theory for what's going wrong.

One thing I did try is to remove `foreign', and build -- didn't get
this error.  Maybe its sgc?
-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                  http://www.barzilay.org/                 Maze is Life!



Posted on the users mailing list.