Re: ANNOUNCE: GHC 7.0.1 Release Candidate 1
> 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
Re: ANNOUNCE: GHC 7.0.1 Release Candidate 1
> 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
There are some issues with the .pkg installer under OS X: Installing 7 deleted 6.12.3, but left 6.12.1. Actually, the 612/usr/bin/ghc-6.12.3 binaries are missing, but 612/usr/lib/ghc-6.12.3 is still there. Installing 7 also breaks all the symlinks to previous versions of ghc, because they use Current, which 7 rebinds. Re-installing 6.12.3 deletes 7, in that it deletes the entire 700 directory! After reinstalling 6.12.3, it can no longer find my packages, until I run 'ghc-pkg recache'. Whew! So I think there are a few problems. One is that perhaps the 7 installer thinks it's still 6.12.3, so it deletes 6.12.3 to "overwrite" it? Likewise, the 6.12.3 installer deletes 7 maybe for the same reason? Installers shouldn't be deleting the old version! Unless I manually squirrel the 6.12.3 data and restore it after 7 is installed, I can't have both installed simultaneously, which makes it hard to test 7 while still being able to work in 6. The other is that ghc install on OS X has two places with the version: /Library/Frameworks/GHC.framework/Versions/{612,700}/usr/bin/ghc-{6.12.n,7} While confusing, this is fine, I suppose, but since the symlinks in /usr/bin all point through Current, and Current is a symlink updated to point to whichever version was just installed, installing a new version will break all the links to the old versions. I think the solution for this is to have /usr/bin/ghc-a.b.c point to .../GHC.framework/Versions/abc/... instead of ../GHC.framework/Versions/Current/... It's too late for the old installers of course, but maybe this can be fixed for 7? I feel like the ghc OS X installer has been deleting old versions but leaving misleading broken symlinks to them around for a while, since I have a set of broken links in my /usr/bin. ___ 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
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
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: context-stack GHC 7.0.1 Release Candidate 1
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: Version 7.0.1-rc1 bootstrapping
On Mon, Sep 27, 2010 at 3:46 AM, Simon Marlow 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
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: 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
context-stack GHC 7.0.1 Release Candidate 1
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: ANNOUNCE: GHC 7.0.1 Release Candidate 1
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= 1.9 && < 1.10, --- >Cabal>= 1.9 && < 1.11, 92c92
Re: ANNOUNCE: GHC 7.0.1 Release Candidate 1
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
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
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
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
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/ 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 /local/home/maeder/lib/ghc-7.0.0.20100924/package.conf.d Cabal-1.10.0.0 array-0.3.0.2 base-4.3.0.0 bin-package-db-0.0.0.0 bytestring-0.9.1.8 containers-0.4.0.0 directory-1.1.0.0 extensible-exceptions-0.1.1.2 ffi-1.0 fgl-5.4.2.3 filepath-1.2.0.0 ghc-7.0.0.20100924 ghc-binary-0.5.0.2 ghc-prim-0.2.0.0 haskell2010-1.0.0.0 haskell98-1.1.0.0 hpc-0.5.0.6 integer-gmp-0.2.0.2 mtl-1.1.1.0 network-2.2.1.8 old-locale-1.0.0.2 old-time-1.0.0.6 parsec-2.1.0.1 pretty-1.0.1.2 process-1.0.1.4 random-1.0.0.3 rts-1.0 tar-0.3.1.0 template-haskell-2.5.0.0 time-1.2.0.3 unix-2.4.1.0 xml-1.3.7 zlib-0.5.2.0 ___ 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
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