[Haskell-cafe] GHC7 build problem

Scott Lawrence bytbox at gmail.com
Sat Jun 11 18:44:18 CEST 2011

Trying to compile GHC7 from source (as the ubuntu repository is still on
GHC6), I came across the following error in the final phase:

    You cannot SPECIALISE `forever'
      because its definition has no INLINE/INLINABLE pragma
      (or its defining module `Control.Monad' was compiled without -O)

This was after:

  git clone [...]
  ./sync-all get
  perl boot

Is there some problem with trying to build GHC7 on a machine with GHC6,
or did I just get the build procedure wrong (the last line of the error
looks like a hint that I did).

Scott Lawrence

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20110611/a8733b71/attachment.pgp>

More information about the Haskell-Cafe mailing list