[MLton] upgrade-basis hangs

Tom Murphy tom7@cs.cmu.edu
Mon, 12 Jan 2004 14:48:29 -0500 (EST)


Thanks, I'll try it. You might want to change the installation docs, which
seem to imply that any old version of mlton will work.

 - Tom

>
> > Unfortunately, even though upgrade-basis seems to succeed, mlton fails to
> > compile with errors from the generated upgrade-basis.sml.
> ...
> > upgrade-basis.sml:43.41-43.54 Error: unbound tycon Platform.arch
> > upgrade-basis.sml:45.30-45.43 Error: unbound variable Platform.arch
> > upgrade-basis.sml:47.31-47.36 Error: unbound variable Sparc
> > upgrade-basis.sml:47.49-47.52 Error: unbound variable X86
> > upgrade-basis.sml:56.41-56.52 Error: unbound tycon Platform.os
> > upgrade-basis.sml:58.30-58.41 Error: unbound variable Platform.os
> > upgrade-basis.sml:61.31-61.38 Error: unbound variable FreeBSD
> ...
> > I can confirm that my version of mlton doesn't have the Platform.os type.
>
> Yeah.  I guess that came later.
>
> > Is this version of mlton too old to bootstrap from?
>
> It looks like it.  I added some fixes to upgrade-basis to work around
> the Platform stuff, but even with those, I couldn't bootstrap with
> it.
>
> Here is what rpm -qRp reports for the libc requirements for our
> releases since 20020410.
>
> 20040106
> 	libc.so.6(GLIBC_2.0)
> 	libc.so.6(GLIBC_2.1)
> 	libc.so.6(GLIBC_2.1.3)
> 	libc.so.6(GLIBC_2.2)
> 20030716
> 	libc.so.6(GLIBC_2.0)
> 	libc.so.6(GLIBC_2.1)
> 	libc.so.6(GLIBC_2.1.3)
> 20030312
> 	libc.so.6(GLIBC_2.0)
> 	libc.so.6(GLIBC_2.1)
> 	libc.so.6(GLIBC_2.1.3)
> 	libm.so.6(GLIBC_2.0)
> 20020923
> 	libc.so.6(GLIBC_2.0)
> 	libc.so.6(GLIBC_2.1)
> 	libc.so.6(GLIBC_2.1.3)
> 	libm.so.6(GLIBC_2.0)
> 20020410
> 	libc.so.6(GLIBC_2.0)
> 	libc.so.6(GLIBC_2.1)
> 	libc.so.6(GLIBC_2.1.3)
> 	libm.so.6(GLIBC_2.0)
>
> Perhaps this means that you could install the 20030716 binary on your
> machine and bootstrap from there?
>

[ NEW! : http://tom7.org/       ]
[ OLD! : http://fonts.tom7.com/ ]