Ticket #177 (closed defect: fixed)
Configure does not correctly detect 32 bit user space on 64 bit kernel
|Reported by:||erikd||Owned by:||erikd|
Linux allows the running of a completely 32 bit user space on a 64 bit kernel and also allows things like a 32 bit chroot inside a purely 64 bit system.
Currently the configure process uses uname -m to detect the CPU type. Using the CPU type however will not build correclty in the cases mentioned above.
Instead we need some mechanism to detect whether ghc was compiled for 32 or 64 bit and use that information instead.