Clean build fails with make

Simon Peyton Jones simonpj at
Tue May 28 14:09:22 UTC 2019

A 'sh validate` in a clean tree fails as below.
Is that expected? That is, is validate dead?
If so let's change the shell script to say "game over, just use Hadrian".

"inplace/bin/ghc-cabal" check libraries/ghc-prim

"inplace/bin/ghc-cabal" configure libraries/ghc-prim dist-install --with-ghc="/home/simonpj/code/HEAD/inplace/bin/ghc-stage1" --with-ghc-pkg="/home/simonpj/code/HEAD/inplace/bin/ghc-pkg"  --disable-library-for-ghci --enable-library-vanilla --enable-library-for-ghci --disable-library-profiling --enable-shared --configure-option=CFLAGS="-Wall     -Werror=unused-but-set-variable -Wno-error=inline" --configure-option=LDFLAGS="  " --configure-option=CPPFLAGS="   " --gcc-options="-Wall     -Werror=unused-but-set-variable -Wno-error=inline   " --with-gcc="gcc" --with-ld="" --with-ar="ar" --with-alex="/usr/bin/alex" --with-happy="/usr/bin/happy"

Configuring ghc-prim-0.6.1...

ghc-cabal: '/home/simonpj/code/HEAD/inplace/bin/ghc-stage1' exited with an


No entry for "target platform string" in


libraries/ghc-prim/ recipe for target 'libraries/ghc-prim/dist-install/' failed

make[1]: *** [libraries/ghc-prim/dist-install/] Error 1

Makefile:123: recipe for target 'all' failed

make: *** [all] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the ghc-devs mailing list