hppa port -- gmp handed misaligned memory
|Reported by:||guest||Owned by:|
|Type of failure:||Runtime crash||Test Case:|
|Related Tickets:||Differential Rev(s):|
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.