Missing instance declaration on Mac OS X (PPC)
When compiling ghc 6.4.2 on Mac OS X (Darwin), configured as
- /configure --disable-openal --disable-alut
(with GNU readline installed), and the build.mk settings as suggested in HACKING, compilation fails with the following error:
nativeGen/RegisterAlloc.hs:639:146:
No instance for (Show FreeRegs)
arising from use of
show' at nativeGen/RegisterAlloc.hs:639:146-149 Probable fix: add an instance declaration for (Show FreeRegs) In the first argument of
text', namely(show freeregs)' In the first argument of
(<+>)', namelytext (show freeregs)' In the first argument of
(<+>)', namely `(text (show freeregs)) <+> (ppr r)
This error disappears when -DDEBUG is removed from the compilation errors.
Trac metadata
Trac field | Value |
---|---|
Version | 6.4.2 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |