configure.ac uses wrong triple information.
GHC's configure
script seems to normalize the values returned from config.guess
.
So for Windows it turns x86_64-pc-mingw64
into x86_64-unknown-mingw32
.
These mangled names are stored in the values $BuildPlatform
, $HostPlatform
and $TargetPlatform
.
However further down the file when the comparison is done between the stage0 compiler and the host the normalized versions are not used.
So when normalization actually changes the triple this check will fail.
Not sure why it's worked for all this time..
Trac metadata
Trac field | Value |
---|---|
Version | 8.0.1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Build System |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |