Ticket #1605 (closed bug: worksforme)
hppa port -- gmp handed misaligned memory
|Reported by:||guest||Owned by:|
|Type of failure:||Runtime crash||Difficulty:||Easy (less than 1 hour)|
|Test Case:||Blocked By:|
GMP compiled for hppa 2.0n uses 8 byte data by default. hppa *requires* that 8 byte data be aligned on an 8 byte boundary. However GHC only aligns allocated memory to a 4 byte boundary. This causes GHC to crash. Currently the workaround is to recompile GMP to use 32 bit data, but this is probably a performance hit.