Make spins with THREADS>1 on Win 7

Simon Peyton-Jones simonpj
Tue Oct 1 21:59:28 UTC 2013


http://sourceforge.net/projects/msys2/ is *much* better than stock msys. I've successfully built ghc HEAD quite recently (a month ago or so) using it.

Interesting! There appears to be about zero documentation, but I unpacked the tar ball (which has pre-built binaries), put it in c:/msys32, added c:/mys32/bin to my PATH, and tried.

Starts well, but two problems.


*         I get lots of this (non-fatally):
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
     LC_ALL = (unset),
     LANG = "ENG"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").


*         But then I get this error which brings things to a halt:
checking for gfind... no
checking for find... /usr/bin/find
checking for sort... /usr/bin/sort
checking for GHC version date... inferred 7.7.20131001
checking for ghc... /cygdrive/c/fp/HP-2013.2.0.0/bin/ghc
checking version of ghc... 7.6.3
GHC path canonicalised to: /cygdrive/c/fp/HP-2013.2.0.0/bin/ghc
checking build system type... Invalid configuration `i686-pc-msys': system `msys' not recognized
configure: error: /bin/sh ./config.sub i686-pc-msys failed

Does anyone have ideas for fixing this?   Kyra, how did you get past these?

Simon


From: Kyra Alex [mailto:meurglys3 at gmail.com]
Sent: 01 October 2013 19:05
To: Simon Peyton-Jones
Cc: Edsko de Vries; ghc-devs at haskell.org
Subject: Re: Make spins with THREADS>1 on Win 7

http://sourceforge.net/projects/msys2/ is *much* better than stock msys. I've successfully built ghc HEAD quite recently (a month ago or so) using it.

On Tue, Oct 1, 2013 at 7:24 PM, Simon Peyton-Jones <simonpj at microsoft.com<mailto:simonpj at microsoft.com>> wrote:
Yes; it appears that in the current MSYS release,  'make -jn' goes into an infinite loop. This is very depressing.  I do not know a fix.

If you google around and find a fix, do tell us.  Currently I have to use THREADS=1 all the time

Simon

| -----Original Message-----
| From: ghc-devs [mailto:ghc-devs-bounces at haskell.org<mailto:ghc-devs-bounces at haskell.org>] On Behalf Of Edsko
| de Vries
| Sent: 01 October 2013 16:21
| To: ghc-devs at haskell.org<mailto:ghc-devs at haskell.org>
| Subject: Make spins with THREADS>1 on Win 7
|
| Hi all,
|
| Trying to get a build going on Win 7. On both the 32-bit and the
| 64-bit version running 'sh validate' stalls at
|
| "inplace/bin/mkdirhier" utils/touchy/dist/build/tmp//.
|
| At this point nothing happens, other than that I seem to have 100% CPU
| usage; 'ps' only shows two make processes, but no further
| subprocesses. Not sure what's going on here. Running 'sh validate
| --no-clean' after killing both make processes at this point stalls at
| the same point; running it with THREADS=1 seems to resolve the issue.
|
| Anybody any idea what might be going on?
|
| Edsko
| _______________________________________________
| ghc-devs mailing list
| ghc-devs at haskell.org<mailto:ghc-devs at haskell.org>
| http://www.haskell.org/mailman/listinfo/ghc-devs
_______________________________________________
ghc-devs mailing list
ghc-devs at haskell.org<mailto:ghc-devs at haskell.org>
http://www.haskell.org/mailman/listinfo/ghc-devs

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20131001/d09c9361/attachment.html>



More information about the ghc-devs mailing list