Hi,
I was able to build the "master" branch of ghc 8.0.1 using the instructions
found here:
https://ghc.haskell.org/trac/ghc/wiki/Building/Preparation/Windows
When I switched to the "ghc-8.0" branch, though, I get the following error:
configure: error:
> You've selected:
> BUILD: x86_64-w64-m
Hi Josh,
Yes you are hitting a bug in configure that was exposed due to changes in
msys.
Cherry-pick this commit to your branch
https://ghc.haskell.org/trac/ghc/ticket/12487
Tamar
On Mon, Sep 19, 2016, 12:24 Josh Berman wrote:
> Hi,
>
> I was able to build the "master" branch of ghc 8.0.1 usi
Yeah, I just saw that bug report, too. Thanks.
On Mon, Sep 19, 2016 at 2:37 PM, Phyx wrote:
> Hi Josh,
>
> Yes you are hitting a bug in configure that was exposed due to changes in
> msys.
>
> Cherry-pick this commit to your branch https://ghc.haskell.org/trac/
> ghc/ticket/12487
>
> Tamar
>
> O
Sorry to pester - now 'make' is failing:
===--- building phase 0
> make --no-print-directory -f ghc.mk phase=0 phase_0_builds
> "/mingw64/bin/ghc.exe" -O0 -H64m -Wall \
>-optc-Wall -optc-Werror -optc-fno-stack-protector \
> \
>-hide-all-packages \
>-package base -pa
This is a dumb build system problem. One way to hack around
it is edit libraries/Cabal/Cabal/Cabal.cabal and remove
the spaces before 1.25.0.0.
I thought I fixed this in HEAD so there may be a patch you
could backport too.
Edward
Excerpts from Josh Berman's message of 2016-09-19 15:39:15 +0300:
http://git.haskell.org/ghc.git/blobdiff/db5a22627b3e6bcc9fa17fbc070daac0919b552a..1101045cbdbd6f240fa7e2438d9488822cd604fb:/utils/ghc-cabal/ghc.mk
This might help...
Cheers,
Gabor
Em segunda-feira, 19 de setembro de 2016, Josh Berman
escreveu:
> Sorry to pester - now 'make' is failing:
>
Yeah, I cherry-picked that in, too - thanks!
Build works; thanks everyone.
On Mon, Sep 19, 2016 at 7:21 PM, Gabor Greif wrote:
> http://git.haskell.org/ghc.git/blobdiff/db5a22627b3e6bcc9fa17fbc070daa
> c0919b552a..1101045cbdbd6f240fa7e2438d9488822cd604fb:/utils/ghc-cabal/
> ghc.mk
>
> This migh
Josh Berman writes:
> Yeah, I cherry-picked that in, too - thanks!
>
> Build works; thanks everyone.
>
Excellent! Thanks for the testing. I was hoping someone would try the
ghc-8.0 build as my Windows test machine is still in transit to my
new apartment.
Anyways, I'll be sure to merge these.
Ch