Windows build broken

Phyx lonetiger at gmail.com
Wed Oct 4 12:29:51 UTC 2017


Hi Simon,

You seem to be in an msys shell instead of a mingw-64 shell (they have
different startup shortcuts). We don't support the msys shell as we only
want to compile for native windows.

You should use the shortcut marked mingw-64.

Alternatively to get you going in aclocal.m4 remove line 112.

Or

run 'export MSYSTEM=MINGW64' to change subsystem.


The recent llvm changes now force the host validation on all targets, I'll
add msys when I get home.

Kind regards,

Tamar

On Wed, Oct 4, 2017, 11:19 Simon Peyton Jones via ghc-devs <
ghc-devs at haskell.org> wrote:

> My Windows build is broken again.  With a clean checkout, I get “”
>
> Target platform inferred as: x86_64-unknown-mingw32
>
> Unknown OS msys
>
> How can I get past this?  Full log below.
>
> Simon
>
>
>
>
>
> make[1]: Leaving directory '/c/code/HEAD/testsuite'
>
> ['libraries/array/', 'libraries/base/', 'libraries/binary/',
> 'libraries/bytestring/', 'libraries/Cabal/Cabal', 'libraries/Cabal/',
> 'libraries/compact/', 'libraries/containers/', 'libraries/deepseq/',
> 'libraries/directory/', 'libraries/doc/', 'libraries/dph/dph-base',
> 'libraries/dph/dph-prim-interface', 'libraries/dph/dph-prim-seq',
> 'libraries/dph/dph-prim-par', 'libraries/dph/dph-lifted-base',
> 'libraries/dph/dph-lifted-boxed', 'libraries/dph/dph-lifted-copy',
> 'libraries/dph/dph-lifted-vseg', 'libraries/dph/', 'libraries/dph/',
> 'libraries/filepath/', 'libraries/ghc-boot/', 'libraries/ghc-boot-th/',
> 'libraries/ghc-compact/', 'libraries/ghc-prim/', 'libraries/ghci/',
> 'libraries/haskeline/', 'libraries/hoopl/', 'libraries/hpc/',
> 'libraries/integer-gmp/', 'libraries/integer-simple/', 'libraries/mtl/',
> 'libraries/parallel/', 'libraries/parsec/', 'libraries/pretty/',
> 'libraries/primitive/', 'libraries/process/', 'libraries/random/',
> 'libraries/stm/', 'libraries/template-haskell/', 'libraries/terminfo/',
> 'libraries/text/', 'libraries/time/', 'libraries/transformers/',
> 'libraries/unix/', 'libraries/vector/', 'libraries/Win32/',
> 'libraries/xhtml/']
>
> Creating libraries/array/ghc.mk
>
> Creating libraries/base/ghc.mk
>
> Creating libraries/binary/ghc.mk
>
> Creating libraries/bytestring/ghc.mk
>
> Creating libraries/Cabal/Cabal/ghc.mk
>
> Creating libraries/containers/ghc.mk
>
> Creating libraries/deepseq/ghc.mk
>
> Creating libraries/directory/ghc.mk
>
> Creating libraries/dph/dph-base/ghc.mk
>
> Creating libraries/dph/dph-prim-interface/ghc.mk
>
> Creating libraries/dph/dph-prim-seq/ghc.mk
>
> Creating libraries/dph/dph-prim-par/ghc.mk
>
> Creating libraries/dph/dph-lifted-base/ghc.mk
>
> Creating libraries/dph/dph-lifted-boxed/ghc.mk
>
> Creating libraries/dph/dph-lifted-copy/ghc.mk
>
> Creating libraries/dph/dph-lifted-vseg/ghc.mk
>
> Creating libraries/filepath/ghc.mk
>
> Creating libraries/ghc-boot/ghc.mk
>
> Creating libraries/ghc-boot-th/ghc.mk
>
> Creating libraries/ghc-compact/ghc.mk
>
> Creating libraries/ghc-prim/ghc.mk
>
> Creating libraries/ghci/ghc.mk
>
> Creating libraries/haskeline/ghc.mk
>
> Creating libraries/hoopl/ghc.mk
>
> Creating libraries/hpc/ghc.mk
>
> Creating libraries/integer-gmp/ghc.mk
>
> Creating libraries/integer-simple/ghc.mk
>
> Creating libraries/mtl/ghc.mk
>
> Creating libraries/parallel/ghc.mk
>
> Creating libraries/parsec/ghc.mk
>
> Creating libraries/pretty/ghc.mk
>
> Creating libraries/primitive/ghc.mk
>
> Creating libraries/process/ghc.mk
>
> Creating libraries/random/ghc.mk
>
> Creating libraries/stm/ghc.mk
>
> Creating libraries/template-haskell/ghc.mk
>
> Creating libraries/terminfo/ghc.mk
>
> Creating libraries/text/ghc.mk
>
> Creating libraries/time/ghc.mk
>
> Creating libraries/transformers/ghc.mk
>
> Creating libraries/unix/ghc.mk
>
> Creating libraries/vector/ghc.mk
>
> Creating libraries/Win32/ghc.mk
>
> Creating libraries/xhtml/ghc.mk
>
> Booting .
>
> Booting libraries/base/
>
> Booting libraries/directory/
>
> Booting libraries/integer-gmp/
>
> Booting libraries/process/
>
> Booting libraries/terminfo/
>
> Booting libraries/time/
>
> Booting libraries/unix/
>
> checking for gfind... no
>
> checking for find... /usr/bin/find
>
> checking for sort... /usr/bin/sort
>
> checking for GHC version date... inferred 8.3.20171004
>
> checking for GHC Git commit id... inferred
> 3030eee24c9d538f7ae2c854fd86129563b6ddf3
>
> checking for ghc... /c/fp/ghc-8.0.2/bin/ghc
>
> checking version of ghc... 8.0.2
>
> GHC path canonicalised to: c:/fp/ghc-8.0.2/bin/ghc
>
> checking build system type... x86_64-pc-msys
>
> checking host system type... x86_64-pc-msys
>
> checking target system type... x86_64-pc-msys
>
> Build platform inferred as: x86_64-unknown-mingw32
>
> Host platform inferred as: x86_64-unknown-mingw32
>
> Target platform inferred as: x86_64-unknown-mingw32
>
> Unknown OS msys
>
> /c/code/HEAD$ git pull
>
> Already up-to-date.
>
> /c/code/HEAD$ git submodule update
>
> /c/code/HEAD$
> _______________________________________________
> ghc-devs mailing list
> ghc-devs at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20171004/1f74c3c1/attachment.html>


More information about the ghc-devs mailing list