[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-0.5.0.0 -package base-4.7.0.0 -package bytestring-0.10.4.0 -package directory-1.2.0.2 -package filepath-1.3.0.2 -package ghc-7.8.0.20140331 -package process-1.2.0.0 -package unix-2.7.0.0 -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-0.0.0.0' 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-7.8.0.20140331" 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