Re: [ANNOUNCE] GHC 8.6.1 released

2018-09-22 Thread George Colpitts
Yes, it worked for me.

On Sat, Sep 22, 2018 at 7:44 PM Evan Laforge  wrote:

> Has anyone installed the OS X binary distribution?  I get:
>
> "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy
> libraries/ghc-prim dist-install "strip" '' '/usr/local'
> '/usr/local/lib/ghc-8.6.1'
> '/usr/local/share/doc/ghc-8.6.1/html/libraries' 'v p dyn'
> dyld: Library not loaded: /usr/local/opt/gmp/lib/libgmp.10.dylib
>   Referenced from:
>
> /usr/local/src/hs/ghc-8.6.1/libraries/base/dist-install/build/libHSbase-4.12.0.0-ghc8.6.1.dylib
>   Reason: image not found
>
> otool -L on libHSBase indeed shows a reference to
> /usr/local/opt/gmp/lib/libgmp.10.dylib, which of course doesn't exist,
> not being a standard location.  otool on 8.4.2's libHSBase has no
> reference to libgmp at all.  Both of them have
> @rpath/libHSinteger-gmp-1.0.2.0-ghc$version.dylib, but perhaps that's
> just ghc's binding to libgmp.
>
> I don't actually know how ghc links libgmp nowadays.  Perhaps the
> usual OS X build statically links libgmp and some flags got wrong for
> this one and it wound up dynamic?
> On Fri, Sep 21, 2018 at 5:57 PM Ben Gamari  wrote:
> >
> > Hello everyone,
> >
> > The GHC team is pleased to announce the availability of GHC 8.6.1, the
> > fourth major release in the GHC 8 series. The source distribution, binary
> > distributions, and documentation for this release are available at
> >
> > https://downloads.haskell.org/~ghc/8.6.1
> >
> > The 8.6 release fixes over 400 bugs from the 8.4 series and introduces a
> > number of exciting features. These most notably include:
> >
> >  * A new deriving mechanism, `deriving via`, providing a convenient way
> >for users to extend Haskell's typeclass deriving mechanism
> >
> >  * Quantified constraints, allowing forall quantification in constraint
> contexts
> >
> >  * An early version of the GHCi `:doc` command
> >
> >  * The `ghc-heap-view` package, allowing introspection into the
> >structure of GHC's heap
> >
> >  * Valid hole fit hints, helping the user to find terms to fill typed
> >holes in their programs
> >
> >  * The BlockArguments extension, allowing the `$` operator to be omitted
> >in some unambiguous contexts
> >
> >  * An exciting new plugin mechanism, source plugins, allowing plugins to
> >inspect and modify a wide variety of compiler representations.
> >
> >  * Improved recompilation checking when plugins are used
> >
> >  * Significantly better handling of macOS linker command size limits,
> >avoiding linker errors while linking large projects
> >
> >  * The next phase of the MonadFail proposal, enabling
> >-XMonadFailDesugaring by default
> >
> > A full list of the changes in this release can be found in the
> > release notes:
> >
> >
> https://downloads.haskell.org/~ghc/8.6.1/docs/html/users_guide/8.6.1-notes.html
> >
> > Perhaps of equal importance, GHC 8.6 is the second major release made
> > under GHC's accelerated six-month release schedule and the first set of
> > binary distributions built primarily using our new continuous
> > integration scheme. While the final 8.6 release is around three weeks
> > later than initially scheduled due to late-breaking bug reports, we
> > expect that the 8.8 release schedule shouldn't be affected.
> >
> > Thanks to everyone who has contributed to developing, documenting, and
> > testing this release!
> >
> > As always, let us know if you encounter trouble.
> >
> >
> > How to get it
> > ~
> >
> > The easy way is to go to the web page, which should be self-explanatory:
> >
> > https://www.haskell.org/ghc/
> >
> > We supply binary builds in the native package format for many
> > platforms, and the source distribution is available from the same
> > place.
> >
> > Packages will appear as they are built - if the package for your
> > system isn't available yet, please try again later.
> >
> >
> > Background
> > ~~
> >
> > Haskell is a standard lazy functional programming language.
> >
> > GHC is a state-of-the-art programming suite for Haskell.  Included is
> > an optimising compiler generating efficient code for a variety of
> > platforms, together with an interactive system for convenient, quick
> > development.  The distribution includes space and time profiling
> > facilities, a large collection of libraries, and support for various
> > language extensions, including concurrency, exceptions, and foreign
> > language interfaces. GHC is distributed under a BSD-style open source
> license.
> >
> > A wide variety of Haskell related resources (tutorials, libraries,
> > specifications, documentation, compilers, interpreters, references,
> > contact information, links to research groups) are available from the
> > Haskell home page (see below).
> >
> >
> > On-line GHC-related resources
> > ~~
> >
> > Relevant URLs on the World-Wide Web:
> >
> > GHC home page  https://www.haskell.org/ghc/
> > GHC developers' home page  

Re: bug in aclocal.m4

2018-09-22 Thread Sergei Trofimovich
On Sat, 22 Sep 2018 15:09:15 -0700
Evan Laforge  wrote:

> Tiny bug, so I'll just throw it out here instead of trying to get arc
> set up again:
> 
> aclocal.m4 line 2438, at head (commit
> 7e77f41430ae1cad84d5b0c90328331d38f3eda0) has # typo'd as $.  It
> causes a harmless but alarming error in configure.

Sounds reasonable. Proposed as https://phabricator.haskell.org/D5171

-- 

  Sergei


pgpfarmiuyzBP.pgp
Description: Цифровая подпись OpenPGP
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


Re: [ANNOUNCE] GHC 8.6.1 released

2018-09-22 Thread Evan Laforge
Has anyone installed the OS X binary distribution?  I get:

"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy
libraries/ghc-prim dist-install "strip" '' '/usr/local'
'/usr/local/lib/ghc-8.6.1'
'/usr/local/share/doc/ghc-8.6.1/html/libraries' 'v p dyn'
dyld: Library not loaded: /usr/local/opt/gmp/lib/libgmp.10.dylib
  Referenced from:
/usr/local/src/hs/ghc-8.6.1/libraries/base/dist-install/build/libHSbase-4.12.0.0-ghc8.6.1.dylib
  Reason: image not found

otool -L on libHSBase indeed shows a reference to
/usr/local/opt/gmp/lib/libgmp.10.dylib, which of course doesn't exist,
not being a standard location.  otool on 8.4.2's libHSBase has no
reference to libgmp at all.  Both of them have
@rpath/libHSinteger-gmp-1.0.2.0-ghc$version.dylib, but perhaps that's
just ghc's binding to libgmp.

I don't actually know how ghc links libgmp nowadays.  Perhaps the
usual OS X build statically links libgmp and some flags got wrong for
this one and it wound up dynamic?
On Fri, Sep 21, 2018 at 5:57 PM Ben Gamari  wrote:
>
> Hello everyone,
>
> The GHC team is pleased to announce the availability of GHC 8.6.1, the
> fourth major release in the GHC 8 series. The source distribution, binary
> distributions, and documentation for this release are available at
>
> https://downloads.haskell.org/~ghc/8.6.1
>
> The 8.6 release fixes over 400 bugs from the 8.4 series and introduces a
> number of exciting features. These most notably include:
>
>  * A new deriving mechanism, `deriving via`, providing a convenient way
>for users to extend Haskell's typeclass deriving mechanism
>
>  * Quantified constraints, allowing forall quantification in constraint 
> contexts
>
>  * An early version of the GHCi `:doc` command
>
>  * The `ghc-heap-view` package, allowing introspection into the
>structure of GHC's heap
>
>  * Valid hole fit hints, helping the user to find terms to fill typed
>holes in their programs
>
>  * The BlockArguments extension, allowing the `$` operator to be omitted
>in some unambiguous contexts
>
>  * An exciting new plugin mechanism, source plugins, allowing plugins to
>inspect and modify a wide variety of compiler representations.
>
>  * Improved recompilation checking when plugins are used
>
>  * Significantly better handling of macOS linker command size limits,
>avoiding linker errors while linking large projects
>
>  * The next phase of the MonadFail proposal, enabling
>-XMonadFailDesugaring by default
>
> A full list of the changes in this release can be found in the
> release notes:
>
> 
> https://downloads.haskell.org/~ghc/8.6.1/docs/html/users_guide/8.6.1-notes.html
>
> Perhaps of equal importance, GHC 8.6 is the second major release made
> under GHC's accelerated six-month release schedule and the first set of
> binary distributions built primarily using our new continuous
> integration scheme. While the final 8.6 release is around three weeks
> later than initially scheduled due to late-breaking bug reports, we
> expect that the 8.8 release schedule shouldn't be affected.
>
> Thanks to everyone who has contributed to developing, documenting, and
> testing this release!
>
> As always, let us know if you encounter trouble.
>
>
> How to get it
> ~
>
> The easy way is to go to the web page, which should be self-explanatory:
>
> https://www.haskell.org/ghc/
>
> We supply binary builds in the native package format for many
> platforms, and the source distribution is available from the same
> place.
>
> Packages will appear as they are built - if the package for your
> system isn't available yet, please try again later.
>
>
> Background
> ~~
>
> Haskell is a standard lazy functional programming language.
>
> GHC is a state-of-the-art programming suite for Haskell.  Included is
> an optimising compiler generating efficient code for a variety of
> platforms, together with an interactive system for convenient, quick
> development.  The distribution includes space and time profiling
> facilities, a large collection of libraries, and support for various
> language extensions, including concurrency, exceptions, and foreign
> language interfaces. GHC is distributed under a BSD-style open source license.
>
> A wide variety of Haskell related resources (tutorials, libraries,
> specifications, documentation, compilers, interpreters, references,
> contact information, links to research groups) are available from the
> Haskell home page (see below).
>
>
> On-line GHC-related resources
> ~~
>
> Relevant URLs on the World-Wide Web:
>
> GHC home page  https://www.haskell.org/ghc/
> GHC developers' home page  https://ghc.haskell.org/trac/ghc/
> Haskell home page  https://www.haskell.org/
>
>
> Supported Platforms
> ~~~
>
> The list of platforms we support, and the people responsible for them,
> is here:
>
>https://ghc.haskell.org/trac/ghc/wiki/Contributors
>
> Ports to other platforms are 

bug in aclocal.m4

2018-09-22 Thread Evan Laforge
Tiny bug, so I'll just throw it out here instead of trying to get arc
set up again:

aclocal.m4 line 2438, at head (commit
7e77f41430ae1cad84d5b0c90328331d38f3eda0) has # typo'd as $.  It
causes a harmless but alarming error in configure.

Also `ld --version` causes an error on OS X since OS X ld doesn't have
that flag, but I think it just causes it to correctly detect it as
"not gnu ld".
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


Re: [Haskell] [ANNOUNCE] GHC 8.6.1 released

2018-09-22 Thread Ben Gamari
Ömer Sinan Ağacan  writes:

> Thanks to everyone involved with the release!
>
> It's a bit sad that we don't have DWARF bindists this time (we had those for
> 8.4.2 and 8.4.3). DWARF builds make debugging GHC much easier, and because
> runtime panics also include stack traces in DWARF builds tickets reported for
> those bindists tend to be more helpful.
>
Yes, I'm working on it. I just didn't want to hold the release for them
since I was under the (happily mistaken) impression that I was the only
one using them.

Cheers,

- Ben


signature.asc
Description: PGP signature
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


Re: [Haskell] [ANNOUNCE] GHC 8.6.1 released

2018-09-22 Thread Ömer Sinan Ağacan
Thanks to everyone involved with the release!

It's a bit sad that we don't have DWARF bindists this time (we had those for
8.4.2 and 8.4.3). DWARF builds make debugging GHC much easier, and because
runtime panics also include stack traces in DWARF builds tickets reported for
those bindists tend to be more helpful.

Would it be possible to provide DWARF bindists at a later date?

Ömer

Ben Gamari , 22 Eyl 2018 Cmt, 03:57 tarihinde şunu yazdı:
>
> Hello everyone,
>
> The GHC team is pleased to announce the availability of GHC 8.6.1, the
> fourth major release in the GHC 8 series. The source distribution, binary
> distributions, and documentation for this release are available at
>
> https://downloads.haskell.org/~ghc/8.6.1
>
> The 8.6 release fixes over 400 bugs from the 8.4 series and introduces a
> number of exciting features. These most notably include:
>
>  * A new deriving mechanism, `deriving via`, providing a convenient way
>for users to extend Haskell's typeclass deriving mechanism
>
>  * Quantified constraints, allowing forall quantification in constraint 
> contexts
>
>  * An early version of the GHCi `:doc` command
>
>  * The `ghc-heap-view` package, allowing introspection into the
>structure of GHC's heap
>
>  * Valid hole fit hints, helping the user to find terms to fill typed
>holes in their programs
>
>  * The BlockArguments extension, allowing the `$` operator to be omitted
>in some unambiguous contexts
>
>  * An exciting new plugin mechanism, source plugins, allowing plugins to
>inspect and modify a wide variety of compiler representations.
>
>  * Improved recompilation checking when plugins are used
>
>  * Significantly better handling of macOS linker command size limits,
>avoiding linker errors while linking large projects
>
>  * The next phase of the MonadFail proposal, enabling
>-XMonadFailDesugaring by default
>
> A full list of the changes in this release can be found in the
> release notes:
>
> 
> https://downloads.haskell.org/~ghc/8.6.1/docs/html/users_guide/8.6.1-notes.html
>
> Perhaps of equal importance, GHC 8.6 is the second major release made
> under GHC's accelerated six-month release schedule and the first set of
> binary distributions built primarily using our new continuous
> integration scheme. While the final 8.6 release is around three weeks
> later than initially scheduled due to late-breaking bug reports, we
> expect that the 8.8 release schedule shouldn't be affected.
>
> Thanks to everyone who has contributed to developing, documenting, and
> testing this release!
>
> As always, let us know if you encounter trouble.
>
>
> How to get it
> ~
>
> The easy way is to go to the web page, which should be self-explanatory:
>
> https://www.haskell.org/ghc/
>
> We supply binary builds in the native package format for many
> platforms, and the source distribution is available from the same
> place.
>
> Packages will appear as they are built - if the package for your
> system isn't available yet, please try again later.
>
>
> Background
> ~~
>
> Haskell is a standard lazy functional programming language.
>
> GHC is a state-of-the-art programming suite for Haskell.  Included is
> an optimising compiler generating efficient code for a variety of
> platforms, together with an interactive system for convenient, quick
> development.  The distribution includes space and time profiling
> facilities, a large collection of libraries, and support for various
> language extensions, including concurrency, exceptions, and foreign
> language interfaces. GHC is distributed under a BSD-style open source license.
>
> A wide variety of Haskell related resources (tutorials, libraries,
> specifications, documentation, compilers, interpreters, references,
> contact information, links to research groups) are available from the
> Haskell home page (see below).
>
>
> On-line GHC-related resources
> ~~
>
> Relevant URLs on the World-Wide Web:
>
> GHC home page  https://www.haskell.org/ghc/
> GHC developers' home page  https://ghc.haskell.org/trac/ghc/
> Haskell home page  https://www.haskell.org/
>
>
> Supported Platforms
> ~~~
>
> The list of platforms we support, and the people responsible for them,
> is here:
>
>https://ghc.haskell.org/trac/ghc/wiki/Contributors
>
> Ports to other platforms are possible with varying degrees of
> difficulty.  The Building Guide describes how to go about porting to a
> new platform:
>
> https://ghc.haskell.org/trac/ghc/wiki/Building
>
>
> Developers
> ~~
>
> We welcome new contributors.  Instructions on accessing our source
> code repository, and getting started with hacking on GHC, are
> available from the GHC's developer's site run by Trac:
>
>   https://ghc.haskell.org/trac/ghc/
>
>
> Mailing lists
> ~
>
> We run mailing lists for GHC users and bug reports; to subscribe, use
> the web interfaces at
>
> 

Re: [ANNOUNCE] GHC 8.6.1 released

2018-09-22 Thread Herbert Valerio Riedel
Hello everyone,

Here's an addendum to the announcment as it ommitted an important detail:

GHC 8.6.1 is only guaranteed to work properly with tooling which uses
lib:Cabal version 2.4.0.1 or later.

As such, GHC 8.6.1 works best with ​`cabal-install` 2.4.0.0 or later;
please upgrade to `cabal-install` 2.4.0.0 if you haven't already.

Note that cabal-install 2.4 supports all GHC versions back till GHC
7.0.4 and we also strongly recommend to use the latest available stable
release of `cabal` even with older GHC releases as bugfixes and
improvements aren't always backported to older Cabal releases as well as
to be able to benefit from recently added CABAL format features[8] (or
be able to access package releases on Hackage[9] which rely on those
features) which require recent enough versions of Cabal as well.

Note that binaries aren't available on cabal's download page[1] yet.

If you're on Ubuntu or Debian, you can get a compiled cabal-install 2.4
`.deb` package via Apt from

- https://launchpad.net/~hvr/+archive/ubuntu/ghc

or

- http://downloads.haskell.org/debian/

respectively.

Binary versions for macOS and Windows are also expected to become
available via [2] and [3] soon (and also at [1]).

In the meantime, if you already have GHC 7.10 or later (together with a
compatible `cabal` executable) installed, you can easily install cabal
2.4 yourself from Hackage[9] by invoking

cabal install cabal-install-2.4.0.0

and making sure that the resulting `cabal` executable is accessible via
your $PATH; you can check with `cabal --version` which should emit
something along the lines of

$ cabal --version
cabal-install version 2.4.0.0
compiled using version 2.4.0.1 of the Cabal library 



Finally, the Haskell Platform[4] release for GHC 8.6.1 should be
available soon as well which provides yet another recommended "standard
way to get GHC and related tools"[5] in a uniform way across multiple
operating systems. See [4] and [5] for more details about the standard
Haskell Platform distribution.


 [1]: https://www.haskell.org/cabal/download.html
 
 [2]: https://haskell.futurice.com/
 
 [3]: https://hub.zhox.com/posts/chocolatey-introduction/
 
 [4]: https://www.haskell.org/platform/
 
 [5]: https://mail.haskell.org/pipermail/ghc-devs/2015-July/009379.html

 [6]: https://launchpad.net/~hvr/+archive/ubuntu/ghc
 
 [7]: http://downloads.haskell.org/debian/

 [8]: https://cabal.readthedocs.io/en/latest/file-format-changelog.html

 [9]: http://hackage.haskell.org/
 

-- Herbert


On 2018-09-21 at 20:57:02 -0400, Ben Gamari wrote:
> Hello everyone,
>
> The GHC team is pleased to announce the availability of GHC 8.6.1, the
> fourth major release in the GHC 8 series. The source distribution, binary
> distributions, and documentation for this release are available at
>
> https://downloads.haskell.org/~ghc/8.6.1
>
> The 8.6 release fixes over 400 bugs from the 8.4 series and introduces a
> number of exciting features. These most notably include:
>
>  * A new deriving mechanism, `deriving via`, providing a convenient way
>for users to extend Haskell's typeclass deriving mechanism
>
>  * Quantified constraints, allowing forall quantification in constraint 
> contexts
>
>  * An early version of the GHCi `:doc` command
>
>  * The `ghc-heap-view` package, allowing introspection into the
>structure of GHC's heap
>
>  * Valid hole fit hints, helping the user to find terms to fill typed
>holes in their programs
>
>  * The BlockArguments extension, allowing the `$` operator to be omitted
>in some unambiguous contexts
>
>  * An exciting new plugin mechanism, source plugins, allowing plugins to
>inspect and modify a wide variety of compiler representations.
>
>  * Improved recompilation checking when plugins are used
>
>  * Significantly better handling of macOS linker command size limits,
>avoiding linker errors while linking large projects
>
>  * The next phase of the MonadFail proposal, enabling
>-XMonadFailDesugaring by default
>
> A full list of the changes in this release can be found in the
> release notes:
>
> 
> https://downloads.haskell.org/~ghc/8.6.1/docs/html/users_guide/8.6.1-notes.html
>
> Perhaps of equal importance, GHC 8.6 is the second major release made
> under GHC's accelerated six-month release schedule and the first set of
> binary distributions built primarily using our new continuous
> integration scheme. While the final 8.6 release is around three weeks
> later than initially scheduled due to late-breaking bug reports, we
> expect that the 8.8 release schedule shouldn't be affected.
>
> Thanks to everyone who has contributed to developing, documenting, and
> testing this release!
>
> As always, let us know if you encounter trouble.
>
>
> How to get it
> ~
>
> The easy way is to go to the web page, which should be self-explanatory:
>
> https://www.haskell.org/ghc/
>
> We supply binary builds in the native package format for many
> platforms,