From juhpetersen at gmail.com Thu Jan 2 02:54:53 2020 From: juhpetersen at gmail.com (Jens Petersen) Date: Thu, 2 Jan 2020 10:54:53 +0800 Subject: [ANNOUNCE] GHC 8.8.2-rc1 is now available In-Reply-To: <87lfrh719c.fsf@smart-cactus.org> References: <87lfrh719c.fsf@smart-cactus.org> Message-ID: On Fri, 13 Dec 2019 at 04:11, Ben Gamari wrote: > https://downloads.haskell.org/~ghc/8.8.2-rc1 > Thanks! I finally got round to doing some Fedora test builds . LGTM so far, though only tested lightly. I will be pushing this to the Fedora ghc:8.8 module testing stream soon. Jens -------------- next part -------------- An HTML attachment was scrubbed... URL: From juhpetersen at gmail.com Thu Jan 2 15:47:44 2020 From: juhpetersen at gmail.com (Jens Petersen) Date: Thu, 2 Jan 2020 23:47:44 +0800 Subject: [ANNOUNCE] Glasgow Haskell Compiler 8.10.1-alpha2 released In-Reply-To: <8736dq90pr.fsf@smart-cactus.org> References: <8736dq90pr.fsf@smart-cactus.org> Message-ID: On Thu, 12 Dec 2019 at 02:28, Ben Gamari wrote: > https://downloads.haskell.org/ghc/8.10.1-alpha2/ I also built this for fedora in 2 test builds (the latter for arm). Jens ps The reason it took so long being that I made some significant packaging changes earlier for Fedora 31 (added subpackages for prof), which had made it difficult to build Haskell packages for both F30 and F31. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ben at smart-cactus.org Thu Jan 2 16:33:20 2020 From: ben at smart-cactus.org (Ben Gamari) Date: Thu, 02 Jan 2020 11:33:20 -0500 Subject: [ANNOUNCE] GHC 8.8.2-rc1 is now available In-Reply-To: References: <87lfrh719c.fsf@smart-cactus.org> Message-ID: On January 1, 2020 9:54:53 PM EST, Jens Petersen wrote: >On Fri, 13 Dec 2019 at 04:11, Ben Gamari wrote: > >> https://downloads.haskell.org/~ghc/8.8.2-rc1 >> > >Thanks! > >I finally got round to doing some Fedora test > builds >. >LGTM so far, though only tested lightly. > >I will be pushing this to the Fedora ghc:8.8 module testing stream >soon. > >Jens As always, thanks, Jens! From ben at well-typed.com Thu Jan 16 17:35:05 2020 From: ben at well-typed.com (Ben Gamari) Date: Thu, 16 Jan 2020 12:35:05 -0500 Subject: [ANNOUNCE] GHC 8.8.2 is now available Message-ID: <87r1zz1f09.fsf@smart-cactus.org> Hello everyone, The GHC team is proud to announce the release of GHC 8.8.2. The source distribution, binary distributions, and documentation are available at https://downloads.haskell.org/~ghc/8.8.2 Release notes are also available [1]. This release fixes a handful of issues affecting 8.8.1: - A bug (#17088) in the compacting garbage collector resulting in segmentations faults under specific circumstances. Note that this may affect user programs even if they did not explicitly request the compacting GC (using the -c RTS flag) since GHC may fallback to compacting collection during times of high memory pressure. - A code generation bug (#17334) resulting in GHC panics has been fixed. - A bug in the `process` library causing builds using `hsc2hs` to fail non-deterministically on Windows has been fixed (Trac #17480) - A typechecker bug (#12088) resulting in programs being unexpectedly rejected has been fixed. - A bug in the implementation of compact normal forms resulting in segmentation faults in some uses (#17044) has been fixed. - A bug causing GHC to incorrectly complain about incompatible LLVM versions when using LLVM 7.0.1 has been fixed (#16990). As always, if anything looks amiss do let us know. Happy compiling! Cheers, - Ben [1] https://downloads.haskell.org/ghc/8.8.2/docs/html/users_guide/8.8.2-notes.html -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 487 bytes Desc: not available URL: From steve.t.smith at gmail.com Fri Jan 17 13:37:23 2020 From: steve.t.smith at gmail.com (Steven Smith) Date: Fri, 17 Jan 2020 08:37:23 -0500 Subject: GHC 8.8.2 Bootstrap Build Fails on macOS Catalina 10.15, undeclared identifier 'TAG_MASK' Message-ID: I’m trying to upgrade the MacPorts ghc install to the latest 8.8.2. The build fails with: > error: use of undeclared identifier 'TAG_MASK' > :info:build return (StgWord)p & TAG_MASK; This is an error observed with previous ghc versions and on other systems, so I do not believe it is macOS-specific. Also, the MacPorts build process simply follows the ghc Build & Install instructions: https://github.com/ghc/ghc/blob/master/README.md#building--installing Is there a simple fix by adding an extra flag somewhere? Logs: > :info:build In file included from compiler/ghci/keepCAFsForGHCi.c:1:0: error: > :info:build In file included from includes/Rts.h:191:0: error: > :info:build includes/rts/storage/ClosureMacros.h:211:25: error: > :info:build error: use of undeclared identifier 'TAG_MASK' > :info:build return (StgWord)p & TAG_MASK; > :info:build ^ > :info:build | > :info:build 211 | return (StgWord)p & TAG_MASK; > :info:build | ^ > :info:build includes/rts/storage/ClosureMacros.h:217:40: error: > :info:build error: use of undeclared identifier 'TAG_MASK' > :info:build return (StgClosure*)((StgWord)p & ~TAG_MASK); > :info:build ^ > :info:build | > :info:build 217 | return (StgClosure*)((StgWord)p & ~TAG_MASK); > :info:build | ^ > :info:build includes/rts/storage/ClosureMacros.h:223:46: error: > :info:build error: use of undeclared identifier 'TAG_MASK' > :info:build return (const StgClosure*)((StgWord)p & ~TAG_MASK); > :info:build ^ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3898 bytes Desc: not available URL: From ben at well-typed.com Fri Jan 17 20:58:08 2020 From: ben at well-typed.com (Ben Gamari) Date: Fri, 17 Jan 2020 15:58:08 -0500 Subject: GHC 8.8.2 Bootstrap Build Fails on macOS Catalina 10.15, undeclared identifier 'TAG_MASK' In-Reply-To: References: Message-ID: <87eevx242t.fsf@smart-cactus.org> Steven Smith writes: > I’m trying to upgrade the MacPorts ghc install to the latest 8.8.2. > > The build fails with: >> error: use of undeclared identifier 'TAG_MASK' >> :info:build return (StgWord)p & TAG_MASK; > > > This is an error observed with previous ghc versions and on other > systems, so I do not believe it is macOS-specific. Also, the MacPorts > build process simply follows the ghc Build & Install instructions: > https://github.com/ghc/ghc/blob/master/README.md#building--installing > > Is there a simple fix by adding an extra flag somewhere? > Sigh, this is #17146 which should have been backported. I'll have to investigate how this slipped through the cracks. Thanks for raising this. Cheers, - Ben -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 487 bytes Desc: not available URL: From steve.t.smith at gmail.com Sun Jan 19 15:45:04 2020 From: steve.t.smith at gmail.com (Steven Smith) Date: Sun, 19 Jan 2020 10:45:04 -0500 Subject: GHC Full Bootstrap from Source on macOS Message-ID: Is there a guide or script to build ghc from source (not the prebuilt binary)? At MacPorts we’re running into issues on macOS Catalina 10.15 with the bootstrapped-from-prebuilt ghc. See https://trac.macports.org/ticket/59467 . It would preferable and probably more robust to be able to bootstrap everything from source, and highly preferable to be able to do this with a clang compiler of choice. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3898 bytes Desc: not available URL: From ben at well-typed.com Sat Jan 25 04:58:02 2020 From: ben at well-typed.com (Ben Gamari) Date: Fri, 24 Jan 2020 23:58:02 -0500 Subject: [ANNOUNCE] Glasgow Haskell Compiler 8.10.1-rc1 released Message-ID: <87muacxhd6.fsf@smart-cactus.org> Hello all, The GHC team is happy to announce the availability of the first release candidate of GHC 8.10.1. Source and binary distributions are available at the usual place: https://downloads.haskell.org/ghc/8.10.1-rc1/ GHC 8.10.1 will bring a number of new features including: * The new UnliftedNewtypes extension allowing newtypes around unlifted types. * The new StandaloneKindSignatures extension allows users to give top-level kind signatures to type, type family, and class declarations. * A new warning, -Wderiving-defaults, to draw attention to ambiguous deriving clauses * A number of improvements in code generation, including changes * A new GHCi command, :instances, for listing the class instances available for a type. * An upgraded Windows toolchain lifting the MAX_PATH limitation * A new, low-latency garbage collector. * Improved support profiling, including support for sending profiler samples to the eventlog, allowing correlation between the profile and other program events This is the first and likely final release candidate. For a variety of reasons, it comes a few weeks later than the original schedule of release late December. However, besides a few core libraries book-keeping issues this candidate is believed to be in good condition for the final release. As such, the final 8.10.1 release will likely come in two weeks. Note that at the moment we still require that macOS Catalina users exempt the binary distribution from the notarization requirement by running `xattr -cr .` on the unpacked tree before running `make install`. In addition, we are still looking for any Alpine Linux to help diagnose the correctness issues in the Alpine binary distribution [1]. If you use Alpine any you can offer here would be greatly appreciated. Please do test this release and let us know if you encounter any other issues. Cheers, - Ben [1] https://gitlab.haskell.org/ghc/ghc/issues/17508 [2] https://gitlab.haskell.org/ghc/ghc/issues/17418 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 487 bytes Desc: not available URL: From allbery.b at gmail.com Sat Jan 25 12:39:05 2020 From: allbery.b at gmail.com (Brandon Allbery) Date: Sat, 25 Jan 2020 07:39:05 -0500 Subject: [ANNOUNCE] Glasgow Haskell Compiler 8.10.1-rc1 released In-Reply-To: <87muacxhd6.fsf@smart-cactus.org> References: <87muacxhd6.fsf@smart-cactus.org> Message-ID: On Fri, Jan 24, 2020 at 11:58 PM Ben Gamari wrote: > * A number of improvements in code generation, including changes > This seems like it's missing some detail. -- brandon s allbery kf8nh allbery.b at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From carter.schonwald at gmail.com Sat Jan 25 14:15:51 2020 From: carter.schonwald at gmail.com (Carter Schonwald) Date: Sat, 25 Jan 2020 09:15:51 -0500 Subject: [ANNOUNCE] Glasgow Haskell Compiler 8.10.1-rc1 released In-Reply-To: References: <87muacxhd6.fsf@smart-cactus.org> Message-ID: Yeah, like how we removed x87 support from code gen except one tiny piece in the abi, so 32bit x86 code gen is always -msse2 flavor so rounding now acts sane :) (A tiny step in a long running make floating point great effort of mine) On Sat, Jan 25, 2020 at 7:39 AM Brandon Allbery wrote: > > > On Fri, Jan 24, 2020 at 11:58 PM Ben Gamari wrote: > >> * A number of improvements in code generation, including changes >> > > This seems like it's missing some detail. > > -- > brandon s allbery kf8nh > allbery.b at gmail.com > _______________________________________________ > ghc-devs mailing list > ghc-devs at haskell.org > http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs > -------------- next part -------------- An HTML attachment was scrubbed... URL: From george.colpitts at gmail.com Sun Jan 26 14:58:31 2020 From: george.colpitts at gmail.com (George Colpitts) Date: Sun, 26 Jan 2020 10:58:31 -0400 Subject: [ANNOUNCE] Glasgow Haskell Compiler 8.10.1-rc1 released In-Reply-To: <87muacxhd6.fsf@smart-cactus.org> References: <87muacxhd6.fsf@smart-cactus.org> Message-ID: Thanks Ben, installed fine on my Mac running 10.14.6. For the release notes I suggest we document https://gitlab.haskell.org/ghc/ghc/issues/17341 which is associated with https://github.com/haskell/cabal/issues/6262 and https://github.com/haskell/cabal/issues/6104 I realize this will be controversial and may be rejected but I think the current status is very confusing to new / inexperienced users so I felt I should suggest it. As I mentioned in 17341, can we add a milestone and priority to this feature request? Thanks again for everybody's work on GHC Cheers George On Sat, Jan 25, 2020 at 12:58 AM Ben Gamari wrote: > > Hello all, > > The GHC team is happy to announce the availability of the first release > candidate of GHC 8.10.1. Source and binary distributions are > available at the usual place: > > https://downloads.haskell.org/ghc/8.10.1-rc1/ > > GHC 8.10.1 will bring a number of new features including: > > * The new UnliftedNewtypes extension allowing newtypes around unlifted > types. > > * The new StandaloneKindSignatures extension allows users to give > top-level kind signatures to type, type family, and class > declarations. > > * A new warning, -Wderiving-defaults, to draw attention to ambiguous > deriving clauses > > * A number of improvements in code generation, including changes > > * A new GHCi command, :instances, for listing the class instances > available for a type. > > * An upgraded Windows toolchain lifting the MAX_PATH limitation > > * A new, low-latency garbage collector. > > * Improved support profiling, including support for sending profiler > samples to the eventlog, allowing correlation between the profile and > other program events > > This is the first and likely final release candidate. For a variety of > reasons, it comes a few weeks later than the original schedule of > release late December. However, besides a few core libraries > book-keeping issues this candidate is believed to be in good condition > for the final release. As such, the final 8.10.1 release will likely > come in two weeks. > > Note that at the moment we still require that macOS Catalina users > exempt the binary distribution from the notarization requirement by > running `xattr -cr .` on the unpacked tree before running `make install`. > > In addition, we are still looking for any Alpine Linux to help diagnose > the correctness issues in the Alpine binary distribution [1]. If you use > Alpine any you can offer here would be greatly appreciated. > > Please do test this release and let us know if you encounter any other > issues. > > Cheers, > > - Ben > > > [1] https://gitlab.haskell.org/ghc/ghc/issues/17508 > [2] https://gitlab.haskell.org/ghc/ghc/issues/17418 > _______________________________________________ > Glasgow-haskell-users mailing list > Glasgow-haskell-users at haskell.org > http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: