[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Would you consider updating the ghc package to version 9 for Bookworm (testing) Debian?



9.0.2, on some projects with many files that are large and/or have
lots of INLINE, allocates much less memory than all 8.* GHCs at least.

https://gitlab.haskell.org/ghc/ghc/-/merge_requests/5478#note_399647

On Thu, Jan 20, 2022 at 4:11 PM Jonas Smedegaard <jonas@jones.dk> wrote:
>
> Quoting Clint Adams (2022-01-20 15:58:51)
> > On Thu, Jan 20, 2022 at 02:42:13PM +0100, Marek Ľach wrote:
> > > I would like to ask if there're any foreseeable plans to possibly update the ghc to at least version 9.0.2 <https://www.haskell.org/ghc/download_ghc_9_0_2.html> for the testing Bookworm distribution?
> >
> > My information may be out of date, but I believe that the
> > current blocker for GHC updates is a build failure on
> > mipsel:
> >
> > https://buildd.debian.org/status/package.php?p=ghc&suite=experimental
>
> Not sure, but looks like the error is this:
>
> Warning: Coercion: could not fhaddock: out of memory (requested 1048576 bytes)
> make[3]: *** [compiler/ghc.mk:310: compiler/stage2/doc/html/ghc/ghc.haddock] Error 251
>
> I.e. that something runs out of memory.
>
> That experimental build is for GHC 8.10.7.
>
> I notice at
> https://downloads.haskell.org/~ghc/9.0.2/docs/html/users_guide/9.0.2-notes.html
> that one of the highlights is "Improved compiler performance and memory
> usage" which sounds promising (but possibly is only compared to 9.0.1,
> not compared to 8.x).
>
> Perhaps someone familiar with GHC could try an experimental build of
> 9.0.2?
>
>
>  - Jonas
>
> --
>  * Jonas Smedegaard - idealist & Internet-arkitekt
>  * Tlf.: +45 40843136  Website: http://dr.jones.dk/
>
>  [x] quote me freely  [ ] ask before reusing  [ ] keep private


Reply to: