GHC HEAD cannot be booted with GHC 8.4.1
I get this when I try to boot GHC HEAD with GHC 8.4.1 (using official binaries):
$ make
===--- building phase 0
make --no-print-directory -f ghc.mk phase=0 phase_0_builds
utils/genprimopcode/ghc.mk:19: utils/genprimopcode/dist/package-data.mk: No such file or directory
utils/deriveConstants/ghc.mk:19: utils/deriveConstants/dist/package-data.mk: No such file or directory
utils/genapply/ghc.mk:23: utils/genapply/dist/package-data.mk: No such file or directory
libraries/hpc/ghc.mk:3: libraries/hpc/dist-boot/package-data.mk: No such file or directory
libraries/binary/ghc.mk:3: libraries/binary/dist-boot/package-data.mk: No such file or directory
libraries/text/ghc.mk:3: libraries/text/dist-boot/package-data.mk: No such file or directory
libraries/transformers/ghc.mk:3: libraries/transformers/dist-boot/package-data.mk: No such file or directory
libraries/mtl/ghc.mk:3: libraries/mtl/dist-boot/package-data.mk: No such file or directory
libraries/parsec/ghc.mk:3: libraries/parsec/dist-boot/package-data.mk: No such file or directory
libraries/Cabal/Cabal/ghc.mk:3: libraries/Cabal/Cabal/dist-boot/package-data.mk: No such file or directory
libraries/ghc-boot-th/ghc.mk:3: libraries/ghc-boot-th/dist-boot/package-data.mk: No such file or directory
libraries/ghc-boot/ghc.mk:3: libraries/ghc-boot/dist-boot/package-data.mk: No such file or directory
libraries/template-haskell/ghc.mk:3: libraries/template-haskell/dist-boot/package-data.mk: No such file or directory
libraries/terminfo/ghc.mk:3: libraries/terminfo/dist-boot/package-data.mk: No such file or directory
libraries/ghci/ghc.mk:3: libraries/ghci/dist-boot/package-data.mk: No such file or directory
compiler/ghc.mk:446: compiler/stage1/package-data.mk: No such file or directory
utils/hsc2hs/ghc.mk:21: utils/hsc2hs/dist/package-data.mk: No such file or directory
utils/ghc-pkg/ghc.mk:70: utils/ghc-pkg/dist/package-data.mk: No such file or directory
ghc/ghc.mk:111: ghc/stage1/package-data.mk: No such file or directory
"inplace/bin/ghc-cabal" configure libraries/binary dist-boot --with-ghc="/home/omer/ghc_bins/ghc-8.4.1-bin/bin/ghc" --with-ghc-pkg="/home/omer/ghc_bins/ghc-8.4.1-bin/bin/ghc-pkg" --package-db=/home/omer/haskell/ghc/libraries/bootstrapping.conf --disable-library-for-ghci --enable-library-vanilla --enable-library-for-ghci --disable-library-profiling --disable-shared --configure-option=CFLAGS="-Wall -fno-stack-protector
-Werror=unused-but-set-variable -Wno-error=inline" --configure-option=LDFLAGS=" " --configure-option=CPPFLAGS=" " --gcc-options="-Wall -fno-stack-protector -Werror=unused-but-set-variable -Wno-error=inline " --constraint "binary == 0.8.5.1" --constraint "text == 1.2.3.0" --constraint "transformers == 0.5.5.0" --constraint "mtl == 2.2.2" --constraint "parsec == 3.1.13.0" --constraint "Cabal == 2.2.0.0" --constraint "hpc == 0.6.0.3" --constraint "ghc-boot-th == 8.5" --constraint "ghc-boot == 8.5" --constraint "template-haskell == 2.13.0.0" --constraint "ghci == 8.5" --constraint "terminfo == 0.4.1.1" --with-gcc="gcc" --with-ld="ld.gold" --with-ar="ar" --with-alex="/home/omer/.local/bin/alex" --with-happy="/home/omer/.local/bin/happy"
Warning: binary.cabal:19:24:
unexpected unknown build-type: 'Simple'
Simple
ghc-cabal: dieVerbatim: user error (ghc-cabal: Failed parsing "./binary.cabal".
)
libraries/binary/ghc.mk:3: recipe for target 'libraries/binary/dist-boot/package-data.mk' failed
make[1]: *** [libraries/binary/dist-boot/package-data.mk] Error 1
Makefile:122: recipe for target 'all' failed
make: *** [all] Error 2
Switching to 8.2.1 works fine.
Trac metadata
Trac field | Value |
---|---|
Version | 8.5 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |