Missing instance declaration on Mac OS X (PPC)
|Reported by:||edsko@…||Owned by:|
|Operating System:||MacOS X||Architecture:||powerpc|
|Type of failure:||Difficulty:||Unknown|
|Test Case:||Blocked By:|
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:
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 (<+>)', namely text (show freeregs)'
In the first argument of (<+>)', namely (text (show freeregs)) <+> (ppr r)
This error disappears when -DDEBUG is removed from the compilation errors.