ghc-6.4 crashes on windows 2000
Today I installed ghc-6.4 (binary) on windows 2000.
I tried to compile my webserver. It consists of very
basic code and uses no fancy features (although I need
to give -fglasgow-exts for some empty data declarations
etc.). Under linux (mandrake 10.1), ghc 6.4 (also a
binary) compiles my webserver just fine.
Under windows, however, ghc crashes 90% of the runs,
giving various scary error messages, such as:
***
ghc.exe: internal error: scavenge:
unimplemented/strange closure type 44304 @ 01F6137C
***
ghc.exe - Application Error
The exception Illegal Instruction
An attempt was made to execute an illegal instruction.
(0x....) occurred in the application at location 0x.....
***
...
HTTP.o(.data+0x6830):fake: undefined reference to
`TextziParserCombinatorziParsecziPrim_many_closure'
HTTP.o(.data+0x6834):fake: undefined reference to
`TextziParserCombinatorziParsecziPrim_zdfMonadGenParser_closure'
HTTP.o(.data+0x6838):fake: undefined reference to
`TextziParserCombinatorziParsecziChar_char_closure'
E:/prog/haskell/ghc-6.4/libHSrts.a(Main.o)(.text+0x87):Main.c:
undefined reference to `__stginit_ZCMain'
E:/prog/haskell/ghc-6.4/libHSrts.a(Main.o)(.text+0xa1):Main.c:
undefined reference to `ZCMain_main_closure'
***
After ~20 tries, the program finally compiled and seems
to run ok. The crashes seem to occur regardless of
optimisation flags.
Please contact me at ariep@xs4all.nl if you need to
know anything else.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 6.4 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | ResolvedNoReason |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |