<div dir="ltr">Sorry to pester - now 'make' is failing:<div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">===--- building phase 0<br>make --no-print-directory -f <a href="http://ghc.mk">ghc.mk</a> phase=0 phase_0_builds<br>"/mingw64/bin/ghc.exe" -O0 -H64m -Wall \<br>       -optc-Wall -optc-Werror -optc-fno-stack-protector \<br>        \<br>       -hide-all-packages \<br>       -package base -package array -package time -package containers -package bytestring -package deepseq -package process -package pretty -package directory -package Win32 \<br>       --make utils/ghc-cabal/Main.hs -o utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe \<br>       -no-user-package-db \<br>       -Wall -fno-warn-unused-imports -fno-warn-warnings-deprecations \<br>       -DCABAL_VERSION=      1,25,0,0 \<br>       -DMIN_VERSION_binary_0_8_0 \<br>       -DBOOTSTRAPPING \<br>       -optP-include -optPutils/ghc-cabal/cabal_macros_boot.h \<br>       -odir  bootstrapping \<br>       -hidir bootstrapping \<br>       -ilibraries/Cabal/Cabal \<br>       -ilibraries/binary/src -DGENERICS \<br>       -ilibraries/filepath \<br>       -ilibraries/hpc \<br>target `1,25,0,0' is not a module name or a source file<br>ghc/<a href="http://ghc.mk:111">ghc.mk:111</a>: ghc/stage1/<a href="http://package-data.mk">package-data.mk</a>: No such file or directory<br>make[1]: *** [utils/ghc-cabal/<a href="http://ghc.mk:48">ghc.mk:48</a>: utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe] Error 1<br>make: *** [Makefile:130: all] Error 2</blockquote><div><br></div><div>I updated my cabal to be 1.25, thinking that might be the issue, but now I realize that was probably irrelevant. </div><div><br></div><div>Any further ideas? (This time, I searched trac before emailing... but didn't find anything).</div><div><br></div><div>Thanks,</div></div><div>- Josh </div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 19, 2016 at 2:38 PM, Josh Berman <span dir="ltr"><<a href="mailto:berman.josh@gmail.com" target="_blank">berman.josh@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Yeah, I just saw that bug report, too. Thanks. </div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 19, 2016 at 2:37 PM, Phyx <span dir="ltr"><<a href="mailto:lonetiger@gmail.com" target="_blank">lonetiger@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Hi Josh, </p>
<p dir="ltr">Yes you are hitting a bug in configure that was exposed due to changes in msys. </p>
<p dir="ltr">Cherry-pick this commit to your branch <a href="https://ghc.haskell.org/trac/ghc/ticket/12487" target="_blank">https://ghc.haskell.org/trac/g<wbr>hc/ticket/12487</a> </p>
<p dir="ltr">Tamar </p>
<br><div class="gmail_quote"><div><div><div dir="ltr">On Mon, Sep 19, 2016, 12:24 Josh Berman <<a href="mailto:berman.josh@gmail.com" target="_blank">berman.josh@gmail.com</a>> wrote:<br></div></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">Hi,<div><br></div><div>I was able to build the "master" branch of ghc 8.0.1 using the instructions found here:<br><a href="https://ghc.haskell.org/trac/ghc/wiki/Building/Preparation/Windows" target="_blank">https://ghc.haskell.org/trac/g<wbr>hc/wiki/Building/Preparation/W<wbr>indows</a><br></div><div><br></div><div>When I switched to the "ghc-8.0" branch, though, I get the following error:</div><div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">configure: error:<br>You've selected:<br>  BUILD:  x86_64-w64-mingw32   (the architecture we're building on)<br>  HOST:   x86_64-unknown-mingw32    (the architecture the compiler we're building will execute on)<br>  TARGET: x86_64-unknown-mingw32  (the architecture the compiler we're building will produce code for)<br>BUILD must equal HOST; that is, we do not support building GHC itself<br>with a cross-compiler.  To cross-compile GHC itself, set TARGET: stage<br>1 will be a cross-compiler, and stage 2 will be the cross-compiled<br>GHC.</blockquote></div><div><br></div><div><br></div><div>Anyone know off the top of their heads what the issue is?</div><div><br></div><div>Thanks,</div><div>- Josh Berman </div></div></div></div>
______________________________<wbr>_________________<br>
ghc-devs mailing list<br>
<a href="mailto:ghc-devs@haskell.org" target="_blank">ghc-devs@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bi<wbr>n/mailman/listinfo/ghc-devs</a><br>
</blockquote></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>