GHC issueshttps://gitlab.haskell.org/ghc/ghc/-/issues2019-09-14T14:44:38Zhttps://gitlab.haskell.org/ghc/ghc/-/issues/17109path to ghc no longer works in the 8.8.1 build2019-09-14T14:44:38ZSam Hallidaypath to ghc no longer works in the 8.8.1 build## Summary
The flags `--with-ghc` no longer works to build ghc (which breaks `ghcup`) and the suggested replacement to use `GHC` does not work.
I'd personally like to see `--with-ghc` return as it will require a workaround in `ghcup` (...## Summary
The flags `--with-ghc` no longer works to build ghc (which breaks `ghcup`) and the suggested replacement to use `GHC` does not work.
I'd personally like to see `--with-ghc` return as it will require a workaround in `ghcup` (and probably other packaging tools) to support the new system anyway.
## Steps to reproduce
```
$ curl -L --fail -O https://downloads.haskell.org/~ghc/8.8.1/ghc-8.8.1-src.tar.xz
$ cd ghc-8.8.1
$ ./boot
$ GHC=ghc-8.6.5 ./configure --prefix=$HOME/.ghcup/ghc/8.8.1
...
checking for gfind... no
checking for find... /usr/bin/find
checking for sort... /usr/bin/sort
checking for GHC Git commit id... given 9c787d4d24f2b515934c8503ee2bbd7cfac4da20
checking for ghc... no
configure: error: GHC is required.
```
Also, a minor point, but the 8.8.1 tarball required me to install alex/happy whereas this has not been needed for previous versions.
## Expected behavior
Compile ghc.
## Environment
Archlinux.8.8.2https://gitlab.haskell.org/ghc/ghc/-/issues/17146build 8.8.1 with 8.8.1 fails with -DSTAGE=12020-05-07T07:42:34Zdonnbuild 8.8.1 with 8.8.1 fails with -DSTAGE=1## Summary
ghc-8.8.1 fails to build self, because with -DSTAGE=1 it can't get TAG_MASK from MachDeps.h
(ghc-8.6.3 works, but just because it doesn't pass the -DSTAGE=1 to gcc.)
## Steps to reproduce
Build and install 8.8.1. Use it t...## Summary
ghc-8.8.1 fails to build self, because with -DSTAGE=1 it can't get TAG_MASK from MachDeps.h
(ghc-8.6.3 works, but just because it doesn't pass the -DSTAGE=1 to gcc.)
## Steps to reproduce
Build and install 8.8.1. Use it to build 8.8.1 again from scratch.
## Expected behavior
Die on stage 1, compiler/parser/cutils.c TAG_MASK undefined in ClosureMacros.h
(I don't really expect that, since I'm sure this has been done numerous times with no problem, but it's what happened here, and the way it works - only 8.8.1 passes -Xpreprocessor '-DSTAGE=1' to gcc - has me quite baffled.)
Related to issue #16797
## Environment
8.8.1
Optional:
Haiku
Intel8.8.2