Skip to content

ghc assumes sizeof (void *) != 32 on X86_64

My provider has a 32-bit debian installed on a 64-bit architecture, ghc 8.2 cannot be compiled there (from 'uname -m' the bootstrapping assumes a 64 bit target architecture, while later a configure test will find 'sizof (void *)' is 4: this leads to compilation errors with CPP conditional compilation.

Trac metadata
Trac field Value
Version 6.8.2
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information