[Haskell-cafe] Building GHC 7.6 with 7.8

Colin Watson cjwatson at ubuntu.com
Fri Apr 4 16:33:04 UTC 2014

On Wed, Apr 02, 2014 at 08:41:46PM +0100, Colin Watson wrote:
> "/home/cjwatson/ghc-aarch64/inplace/bin/ghc-stage2"   -H32m -O -lffi -optl-pthread  -package-db libraries/bootstrapping.conf  -hide-all-packages -i -ighc/. -ighc/stage1/build -ighc/stage1/build/autogen -Ighc/stage1/build -Ighc/stage1/build/autogen     -optP-include -optPghc/stage1/build/autogen/cabal_macros.h -package array- -package base- -package bytestring- -package directory- -package filepath- -package ghc- -package process- -package unix-  -Wall -XHaskell98 -XNondecreasingIndentation -XCPP -XPatternGuards   -no-user-package-db -rtsopts      -odir ghc/stage1/build -hidir ghc/stage1/build -stubdir ghc/stage1/build -hisuf hi -osuf  o -hcsuf hc -c ghc/./Main.hs -o ghc/stage1/build/Main.o
> Failed to load interface for `Distribution.InstalledPackageInfo.Binary'
> There are files missing in the `bin-package-db-' package,
> try running 'ghc-pkg check'.
> Use -v to see a list of the files searched for.

Never mind - I got past this.  The key was realising that this should be
building against the just-built compiler/ tree, and hence "-package
ghc-" needs to be "-package ghc-7.6.3" instead.  I fixed
up a few too-new dependencies like this and things are working much
better now.

Colin Watson                                       [cjwatson at ubuntu.com]

More information about the Haskell-Cafe mailing list