[MLton] mlton 20041109 stopped working on cygwin
Neophytos Michael
nmichael@yahoo.com
Sat, 3 Sep 2005 00:11:49 -0700 (PDT)
I am seeing the same thing as well... though I don't get a dialog box, just the
failure with a different error message: "call to system failed with signal B:"
Neophytos
Here is the output:
----------------------------------------------------
$ mlton -default-ann "warnUnused true" -verbose 1 sources_mlton.cm
MLton 20041109 (built Tue Nov 09 15:33:07 2004 on cygwin)
MLton starting
Compile SML starting
pre codegen starting
pre codegen finished in 4.11 + 2.64 (39% GC)
x86 code gen starting
x86 code gen finished in 0.66 + 0.12 (16% GC)
Compile SML finished in 4.76 + 2.77 (37% GC)
Compile C and Assemble starting
gcc -c -I/usr/lib/mlton/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/filecBUOdS.o \
/tmp/fileqJML57.2.c
Compile C and Assemble raised in 0.06 + 0.00 (0% GC)
MLton raised in 4.87 + 2.94 (38% GC)
call to system failed with signal B:
gcc -c -I/usr/lib/mlton/include -O1 -fno-strict-aliasing -fomit-frame-pointer
-w
-fno-strength-reduce -fschedule-insns -fschedule-insns2 -malign-functions=5
-ma
lign-jumps=2 -malign-loops=2 -mcpu=pentiumpro -o /tmp/filecBUOdS.o
/tmp/fileqJML
57.2.c
----------------------------------------------------
Neophytos
--- Tom Murphy <tom7@cs.cmu.edu> wrote:
>
> I'm not really sure if this is a cygwin bug or a mlton bug, but mlton has
> stopped working with the most recent update of cygwin. I've tested this on
> both of my windows machines, so I don't think it is a configuration error.
>
> Before upgrade, it builds successfully:
>
> bash-2.05b$ make
> mlton -const "Exn.keepHistory true" -default-ann "sequenceUnit true"
> -output sudoku.exe sudoku.cm
> Info: resolving __impure_ptr by linking to __imp___impure_ptr
> (auto-import)
> bash-2.05b$
>
> After upgrading to the current release:
>
> bash-3.00$ make
> mlton -const "Exn.keepHistory true" -default-ann "sequenceUnit true"
> -output sudoku.exe sudoku.cm
> `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
> call to system failed with exit status 1:
> gcc -c -I/usr/lib/mlton/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/fileoy8aoF.o /tmp/filecZUHVJ.1.c
> make: *** [sudoku.exe] Error 1
>
> A message box pops up with a message like, "cc1.exe unable to locate
> component: The application has failed to start because cygwin1.dll was not
> found." Perhaps gcc is being exec'd without the proper environment?
>
> I am able to run gcc from the new cygwin and compile simple programs
> without any problem. Let me know if I can do anything to help diagnose the
> problem, although I don't have anything set up to build mlton on windows.
>
>
> - Tom
>
> [ NEW! : http://tom7.org/ ]
> [ OLD! : http://fonts.tom7.com/ ]
>
> _______________________________________________
> MLton mailing list
> MLton@mlton.org
> http://mlton.org/mailman/listinfo/mlton
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com