Ticket #1605 (closed bug: worksforme)
hppa port -- gmp handed misaligned memory
| Reported by: | guest | Owned by: | |
|---|---|---|---|
| Priority: | lowest | Milestone: | 7.6.2 |
| Component: | Runtime System | Version: | 6.6.1 |
| Keywords: | GMP | Cc: | |
| Operating System: | HPUX | Architecture: | hppa |
| Type of failure: | Runtime crash | Difficulty: | Easy (less than 1 hour) |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description
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.
Joe Buehler
Change History
Note: See
TracTickets for help on using
tickets.
