libmingw32.a: Not x86_64 PEi386
After a fresh installation of the Haskell Platform (on Windows), I received the following error:
>ghci
GHCi, version 8.0.2: http://www.haskell.org/ghc/ :? for help
ghc.exe: D:/MinGW/bin/../lib/libmingw32.a: Not x86_64 PEi386
ghc.exe: internal error: loadArchive: error whilst reading `D:/MinGW/bin/../lib/libmingw32.a'
(GHC version 8.0.2 for x86_64_unknown_mingw32)
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
Invoking GHC will instead error with a bunch of GCC error messages related to standard C library headers (multiple definitions of time_t, etc.).
Trac metadata
| Trac field | Value |
|---|---|
| Version | 8.0.2 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |