[MLton] problems building mlton

Lukasz S Ziarek lziarek@cs.purdue.edu
Wed, 21 Jan 2004 12:48:47 -0500 (EST)


On Wed, 21 Jan 2004, Stephen Weeks wrote:

>
> > As for the cvs version I get this error:
> >
> > Compile SML starting
> >       pre codegen starting
> >          parseAndElaborate starting
> > ../lib/mlton/pervasive/pervasive.sml:36.26-36.32 Error: unbound structure
> > Real32
> >          parseAndElaborate raised in 0.04 + 0.00 (0% GC)
> >       pre codegen raised in 0.05 + 0.00 (0% GC)
> >    Compile SML raised in 0.05 + 0.00 (0% GC)
>
> This was bug in update-basis that prevents bootstrapping from older
> versions of MLton.  I have checked in a fix.

I was happily running a fixpoint on both machines and both returned the
following after finishing the first compilation round of the compiler:

Creating constants file.
/home/lziarek/mlton/build/bin/mlton -build-constants true >tmp.c
/home/lziarek/mlton/build/bin/mlton -output tmp tmp.c
tmp.c:1: parse error before "off"
In file included from tmp.c:4:
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/stddef.h:151: syntax
error before "typedef"
call to system failed with exit status 1:
gcc -c -I/home/lziarek/mlton/build/bin/../lib/include -O1
-fno-strict-aliasing -fomit-frame-pointer -w -fno-strength-reduce
-fschedule-insns -fschedule-insns2 -malign-functions=5 -malign-jumps=2
-malign-loops=2 -mcpu=pentiumpro -o /tmp/fileWbmaxN.o tmp.c
make[1]: *** [constants] Error 1


Luke