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

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Wed Jul 20 17:40:57 EDT 2005

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".

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

Matthew



Posted on the users mailing list.