Hi George,
I think you are hitting this bug:
https://ghc.haskell.org/trac/ghc/ticket/11379.
Note, you don't have to use GHC HEAD as a bootstrapping compiler. I'm bootstrapping with GHC 7.10.1, for example.
Cheers,
Andrey
From: George Colpitts [mailto:george.colpitts@gmail.com]
Sent: 23 January 2016 13:36
To: Andrey Mokhov
Cc: dluposchainsky@googlemail.com; GHC developers
Subject: Re: [ANNOUNCE] Shaking up GHC
with ghc 8.0.0.20160111, cabal install shake fails with
[43 of 47] Compiling Development.Shake.Args ( src/Development/Shake/Args.hs, dist/build/Development/Shake/Args.o )
src/Development/Shake/Args.hs:1:1: error:
solveWanteds: too many iterations (limit = 4)
Unsolved: WC {wc_simple =
[D] _ :: Eq a (CDictCan)
[D] _ :: Ord a (CDictCan)
[D] _ :: Read a (CDictCan)
[D] _ :: Show a (CDictCan)
[W] hole{a4gTO} :: a ~ a (CNonCanonical)
[D] _ :: Eq a (CDictCan)}
New superclasses found
Set limit with -fconstraint-solver-iterations=n; n=0 for no limit
Is this a known problem?
Thanks
On Sat, Jan 23, 2016 at 9:05 AM, Andrey Mokhov <andrey.mokhov@newcastle.ac.uk> wrote:
Thanks David!
> Are there any plans as to how to include it in the GHC tree? Does it
> ship with all the libraries required to build the build system, will we
> have a mini-build system to bootstrap it? If I recall correctly, we rely
> on Cabal sandboxes on Linux/OSX and global Cabal library
> installations on Windows in order to run it.
The simplest way is to add the 'shake-build' folder to the GHC tree and
ask first adopters of the new build system to globally install the
dependencies (ansi-terminal, mtl, shake, QuickCheck). Then 'build.sh'
and 'build.bat' scripts should work.
I am open to suggestions on how to make this more convenient and
robust. I've never used anything more advanced than a global cabal
installation, so I'd appreciate input from more experienced users.
Could you create a ticket on github suggesting possible approaches?
I'm afraid our discussion may get lost in ghc-devs mailing list.
Many thanks!
Andrey
> From: David Luposchainsky <dluposchainsky@googlemail.com>
> To:
ghc-devs@haskell.org
> Subject: Re: [ANNOUNCE] Shaking up GHC
> Message-ID: <56A27EB1.1080701@gmail.com>
> Content-Type: text/plain; charset=windows-1252
>
> Great work Andrey!
>
> I'm actually (pleasantly) surprised this is becoming part of the GHC
> tree so soon
> .
>
> Are there any plans as to how to include it in the GHC tree? Does it
> ship with
> all the libraries required to build the build system, will we have a
> mini-build
> system to bootstrap it? If I recall correctly, we rely on Cabal
> sandboxes on
> Linux/OSX and global Cabal library installations on Windows in order to
> run it.
>
> Greetings,
> David
_______________________________________________
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs