Re: Version 7.0.1-rc1 bootstrapping

2010-09-27 Thread Simon Marlow

On 26/09/10 17:52, David Fox wrote:

In order to bootstrap with the compiler we are using, I had to rename
the function at line 13 of compiler/utils/Exception.hs from mask_ to
mask.  Sorry I didn't reply to the announcement, I just found out I
wasn't subscribed to this list.  (I also had to change 613 to 614, but
this won't affect many people.)


I presume you're bootstrapping using a 6.13 snapshot, and you had to 
configure with --enable-bootstrap-with-devel-snapshot?


Cheers,
Simon
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: ANNOUNCE: GHC 7.0.1 Release Candidate 1

2010-09-27 Thread Daniel Fischer
On Monday 27 September 2010 12:58:08, Christian Maeder wrote:

 I've tried to install HTTP (for cabal-install) and get the following
 error:

 Configuring HTTP-4000.0.9...
 Setup: At least the following dependencies are missing:
 base ==3.*

 What is the problem? The Build-depends of HTTP's cabal file look correct
 (and fulfilled):
 Build-depends: base = 3, array, old-time, bytestring

 Cheers Christian

Probably it's the preferred versions on hackage:
-- A global set of preferred versions.
--
-- This is to indicate a current recommended version, to allow stable and
-- experimental versions to co-exist on hackage and to help transitions
-- between major API versions.
--
-- Tools like cabal-install take these preferences into account when 
-- constructing install plans.
--
base  4
parsec  3
cabal-install  0.10


Try installing it with --constraint=base = 4 and if that doesn't 
suffice, --preference=base = 4.

Cheers,
Daniel
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: ANNOUNCE: GHC 7.0.1 Release Candidate 1

2010-09-27 Thread Christian Maeder
Am 27.09.2010 13:31, schrieb Daniel Fischer:
 On Monday 27 September 2010 12:58:08, Christian Maeder wrote:

 I've tried to install HTTP (for cabal-install) and get the following
 error:

 Configuring HTTP-4000.0.9...
 Setup: At least the following dependencies are missing:
 base ==3.*

 What is the problem? The Build-depends of HTTP's cabal file look correct
 (and fulfilled):
 Build-depends: base = 3, array, old-time, bytestring

The HTTP.cabal file is not correct!
  Build-depends: base = 2   4, network, parsec, mtl

(an additional constraint does not help)

Cheers Christian



 Cheers Christian
 
 Probably it's the preferred versions on hackage:
 -- A global set of preferred versions.
 --
 -- This is to indicate a current recommended version, to allow stable and
 -- experimental versions to co-exist on hackage and to help transitions
 -- between major API versions.
 --
 -- Tools like cabal-install take these preferences into account when 
 -- constructing install plans.
 --
 base  4
 parsec  3
 cabal-install  0.10
 
 
 Try installing it with --constraint=base = 4 and if that doesn't 
 suffice, --preference=base = 4.
 
 Cheers,
 Daniel
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: ANNOUNCE: GHC 7.0.1 Release Candidate 1

2010-09-27 Thread Daniel Fischer
On Monday 27 September 2010 13:44:07, Christian Maeder wrote:
 The HTTP.cabal file is not correct!
   Build-depends: base = 2   4, network, parsec, mtl

 (an additional constraint does not help)

 Cheers Christian

In that case, change the local .cabal file as an immediate measure and 
notify the maintainer.
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: ANNOUNCE: GHC 7.0.1 Release Candidate 1

2010-09-27 Thread Christian Maeder
Am 27.09.2010 13:44, schrieb Christian Maeder:
 Am 27.09.2010 13:31, schrieb Daniel Fischer:
 On Monday 27 September 2010 12:58:08, Christian Maeder wrote:

 I've tried to install HTTP (for cabal-install) and get the following
 error:

 Configuring HTTP-4000.0.9...
 Setup: At least the following dependencies are missing:
 base ==3.*

 What is the problem? The Build-depends of HTTP's cabal file look correct
 (and fulfilled):
 Build-depends: base = 3, array, old-time, bytestring
 
 The HTTP.cabal file is not correct!
   Build-depends: base = 2   4, network, parsec, mtl

Changing  4 to  5 works for the HTTP package (which is buggy
anyway http://hackage.haskell.org/trac/ghc/ticket/4251).

But adjusting cabal-install.cabal is not enough.

C.

[17 of 40] Compiling Distribution.Client.IndexUtils (
Distribution/Client/IndexUtils.hs,
dist/build/cabal/cabal-tmp/Distribution/Client/IndexUtils.o )

Distribution/Client/IndexUtils.hs:80:9:
Couldn't match expected type `Maybe
InstalledPackageIndex.PackageIndex'
with actual type `InstalledPackageIndex.PackageIndex'
Expected type: IO (Maybe InstalledPackageIndex.PackageIndex)
  Actual type: IO InstalledPackageIndex.PackageIndex
In the second argument of `fmap', namely
  `(Configure.getInstalledPackages verbosity comp packageDbs conf)'
In the expression:
  fmap
(fmap convert)
(Configure.getInstalledPackages verbosity comp packageDbs conf)

___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: ANNOUNCE: GHC 7.0.1 Release Candidate 1

2010-09-27 Thread Christian Maeder
Am 27.09.2010 14:06, schrieb Christian Maeder:
 The HTTP.cabal file is not correct!
   Build-depends: base = 2   4, network, parsec, mtl
 
 Changing  4 to  5 works for the HTTP package (which is buggy
 anyway http://hackage.haskell.org/trac/ghc/ticket/4251).
 
 But adjusting cabal-install.cabal is not enough.

It works with the darcs version http://darcs.haskell.org/cabal-install/

Oddly, the Cabal version displayed is:

cabal-install version 0.9.2
using version 1.9.2 of the Cabal library

although ghc-7 comes with Cabal-1.10.0.0

C.

diff -rN old-cabal-install//cabal-install.cabal
new-cabal-install//cabal-install.cabal
87c87
Cabal= 1.91.10,
---
Cabal= 1.91.11,
92c92
time = 1.11.2
---
time = 1.11.3
99c99
  directory  = 1 1.1,
---
  directory  = 1 1.2,
102c102
  containers = 0.1   0.4,
---
  containers = 0.1   0.5,
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


context-stack GHC 7.0.1 Release Candidate 1

2010-09-27 Thread Christian Maeder
Am 26.09.2010 21:03, schrieb Ian Lynagh:
 
 We are pleased to announce the first release candidate for GHC 7.0.1:
 
 http://new-www.haskell.org/ghc/dist/7.0.1-rc1/
 
 This includes the source tarball, installers for OS X and Windows, and
 bindists for amd64/Linux and i386/Linux.
 
 Please test as much as possible; bugs are much cheaper if we find them
 before the release!

When compiling our sources I had two sources that failed with:

Context reduction stack overflow; size = 21
Use -fcontext-stack=N to increase stack size to N

Increasing to 30 helped. Another source
http://trac.informatik.uni-bremen.de:8080/hets/browser/trunk/Logic/Comorphism.hs

using extensions

MultiParamTypeClasses, FunctionalDependencies, DeriveDataTypeable,
FlexibleInstances, UndecidableInstances, ExistentialQuantification

I wasn't able to compile yet. After 4 minutes it failed with:

  Context reduction stack overflow; size = 46

and I'm increasing the context-stack further.

Maybe this is related to:
http://hackage.haskell.org/trac/ghc/ticket/816

(ghc-6.10.x or ghc-6.12.x have no such problems.)

Cheers Christian
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


RE: context-stack GHC 7.0.1 Release Candidate 1

2010-09-27 Thread Simon Peyton-Jones
We found another occurrence of very poor performance in a smaller program.  We 
have a nice fix; but won't be able to commit for a few days

Let's hope it fixes your problem too!

Simon

|  -Original Message-
|  From: glasgow-haskell-users-boun...@haskell.org 
[mailto:glasgow-haskell-users-
|  boun...@haskell.org] On Behalf Of Christian Maeder
|  Sent: 27 September 2010 15:32
|  Cc: glasgow-haskell-users@haskell.org
|  Subject: Re: context-stack GHC 7.0.1 Release Candidate 1
|  
|  Am 27.09.2010 15:12, schrieb Christian Maeder:
|   I wasn't able to compile yet. After 4 minutes it failed with:
|  
| Context reduction stack overflow; size = 46
|  
|   and I'm increasing the context-stack further.
|  
|  It goes through with -fcontext-stack=100, but the compilation time is
|  unacceptable. 55 minutes for the following two files on x86_64:
|  
|  [381 of 536] Compiling Logic.Comorphism ( Logic/Comorphism.hs,
|  Logic/Comorphism.o )
|  [382 of 536] Compiling Logic.Modification ( Logic/Modification.hs,
|  Logic/Modification.o )
|  
|  And the second one isn't finished yet.
|  
|  C.
|  
|   Maybe this is related to:
|   http://hackage.haskell.org/trac/ghc/ticket/816
|  
|   (ghc-6.10.x or ghc-6.12.x have no such problems.)
|  
|   Cheers Christian
|  ___
|  Glasgow-haskell-users mailing list
|  Glasgow-haskell-users@haskell.org
|  http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: Version 7.0.1-rc1 bootstrapping

2010-09-27 Thread David Fox
On Mon, Sep 27, 2010 at 3:46 AM, Simon Marlow marlo...@gmail.com wrote:

 On 26/09/10 17:52, David Fox wrote:

 In order to bootstrap with the compiler we are using, I had to rename
 the function at line 13 of compiler/utils/Exception.hs from mask_ to
 mask.  Sorry I didn't reply to the announcement, I just found out I
 wasn't subscribed to this list.  (I also had to change 613 to 614, but
 this won't affect many people.)


 I presume you're bootstrapping using a 6.13 snapshot, and you had to
 configure with --enable-bootstrap-with-devel-snapshot?

 Cheers,
Simon


Yes, I forgot about that because its all inside a deb.
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: context-stack GHC 7.0.1 Release Candidate 1

2010-09-27 Thread Christian Maeder
Am 27.09.2010 16:38, schrieb Simon Peyton-Jones:
 We found another occurrence of very poor performance in a smaller program.  
 We have a nice fix; but won't be able to commit for a few days
 
 Let's hope it fixes your problem too!

Ok, I'll hang on.

Cheers Christian

(Btw compiling module Logic.Modification failed after 2 hours with such
a large error message, that I could not scroll back to the top.)

 
 Simon
 
 |  -Original Message-
 |  From: glasgow-haskell-users-boun...@haskell.org 
 [mailto:glasgow-haskell-users-
 |  boun...@haskell.org] On Behalf Of Christian Maeder
 |  Sent: 27 September 2010 15:32
 |  Cc: glasgow-haskell-users@haskell.org
 |  Subject: Re: context-stack GHC 7.0.1 Release Candidate 1
 |  
 |  Am 27.09.2010 15:12, schrieb Christian Maeder:
 |   I wasn't able to compile yet. After 4 minutes it failed with:
 |  
 | Context reduction stack overflow; size = 46
 |  
 |   and I'm increasing the context-stack further.
 |  
 |  It goes through with -fcontext-stack=100, but the compilation time is
 |  unacceptable. 55 minutes for the following two files on x86_64:
 |  
 |  [381 of 536] Compiling Logic.Comorphism ( Logic/Comorphism.hs,
 |  Logic/Comorphism.o )
 |  [382 of 536] Compiling Logic.Modification ( Logic/Modification.hs,
 |  Logic/Modification.o )
 |  
 |  And the second one isn't finished yet.
 |  
 |  C.
 |  
 |   Maybe this is related to:
 |   http://hackage.haskell.org/trac/ghc/ticket/816
 |  
 |   (ghc-6.10.x or ghc-6.12.x have no such problems.)
 |  
 |   Cheers Christian
 |  ___
 |  Glasgow-haskell-users mailing list
 |  Glasgow-haskell-users@haskell.org
 |  http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
 
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: ANNOUNCE: GHC 7.0.1 Release Candidate 1

2010-09-27 Thread Ganesh Sittampalam

On Sun, 26 Sep 2010, Ian Lynagh wrote:


We are pleased to announce the first release candidate for GHC 7.0.1:

   http://new-www.haskell.org/ghc/dist/7.0.1-rc1/

This includes the source tarball, installers for OS X and Windows, and
bindists for amd64/Linux and i386/Linux.

Please test as much as possible; bugs are much cheaper if we find them
before the release!


gan...@nevis:~/dataenc$ cabal install regex-posix
Resolving dependencies...
Configuring regex-posix-0.94.4...
Preprocessing library regex-posix-0.94.4...
Building regex-posix-0.94.4...
[1 of 6] Compiling Text.Regex.Posix.Wrap ( 
dist/build/Text/Regex/Posix/Wrap.hs, dist/build/Text/Regex/Posix/Wrap.o )

SpecConstr
Function `lvl_s2xM{v} [lid]'
  has three call patterns, but the limit is 0
Use -fspec-constr-count=n to set the bound
Use -dppr-debug to see specialisations
ghc: panic! (the 'impossible' happened)
  (GHC version 7.0.0.20100924 for x86_64-unknown-linux):
initC: srt_lbl

Let me know if you'd prefer this to be recorded in trac or would like me 
to try to cut it down.


Cheers,

Ganesh


___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: ANNOUNCE: GHC 7.0.1 Release Candidate 1

2010-09-27 Thread Simon Marlow

On 27/09/10 12:19, Ganesh Sittampalam wrote:

On Sun, 26 Sep 2010, Ian Lynagh wrote:


We are pleased to announce the first release candidate for GHC 7.0.1:

http://new-www.haskell.org/ghc/dist/7.0.1-rc1/

This includes the source tarball, installers for OS X and Windows, and
bindists for amd64/Linux and i386/Linux.

Please test as much as possible; bugs are much cheaper if we find them
before the release!


gan...@nevis:~/dataenc$ cabal install regex-posix
Resolving dependencies...
Configuring regex-posix-0.94.4...
Preprocessing library regex-posix-0.94.4...
Building regex-posix-0.94.4...
[1 of 6] Compiling Text.Regex.Posix.Wrap (
dist/build/Text/Regex/Posix/Wrap.hs, dist/build/Text/Regex/Posix/Wrap.o )
SpecConstr
Function `lvl_s2xM{v} [lid]'
has three call patterns, but the limit is 0
Use -fspec-constr-count=n to set the bound
Use -dppr-debug to see specialisations
ghc: panic! (the 'impossible' happened)
(GHC version 7.0.0.20100924 for x86_64-unknown-linux):
initC: srt_lbl

Let me know if you'd prefer this to be recorded in trac or would like me
to try to cut it down.


Thanks - someone else already reported this one:

http://hackage.haskell.org/trac/ghc/ticket/4345

Cheers,
Simon





Cheers,

Ganesh


___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: ANNOUNCE: GHC 7.0.1 Release Candidate 1

2010-09-27 Thread Jens Petersen
 We are pleased to announce the first release candidate for GHC 7.0.1

Thank you! :)

Are you going to bootstrap the testsuite?
I would like to run it but having trouble working out how to do that.

Jens
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: ANNOUNCE: GHC 7.0.1 Release Candidate 1

2010-09-27 Thread Jens Petersen
    http://new-www.haskell.org/ghc/dist/7.0.1-rc1/

I did a successful test build in the fedora buildsys:

http://koji.fedoraproject.org/koji/taskinfo?taskID=2492660

Jens
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users