SIZET_FMT in includes/mkDerivedConstants.c needs to be "d" under older Solaris version
the file includes/mkDerivedConstants.c of release candidate ghc-6.8.2.20080603 contains:
#ifdef mingw32_HOST_OS
#define SIZET_FMT "d"
#else
#define SIZET_FMT "zd"
#endif
this produced unusable header file containing "zd" instead of integers under SunOS 5.8 Generic_117350-54 sun4u sparc SUNW,Ultra-4.
However the very same binary includes/mkGHCConstants works correctly under SunOS 5.10 Generic_127111-03 sun4u sparc SUNW,Sun-Fire-280R
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 |