Skip to content

Unable to build ghc 6.0 (linux with GCC cpp 3.3)

Building ghc 6.0 does not work on Debian GNU/Linux
testing. Failing with the error
'nativeGen/MachMisc.lhs:80: unterminated argument list
invoking macro "IF_ARCH_alpha"'. Also, _a lot_ of
'extra tokens at end of #endif directive' warnings appear.

To me this seems like a problem with gcc 3.3 (or rather
cpp) being stricter and not accepting haskell comments.
Trac metadata
Trac field Value
Version 6.0
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution ResolvedFixed
Component Build System
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information