2.7. Version 9.2.7

The significant changes to the various parts of the compiler are listed in the following sections.

The LLVM backend of this release is to be used with LLVM 9, 10, 11, or 12.

2.7.1. Compiler

  • Fix a bug related to placeholder values (rubbish literals) emitted by the worker/wrapper optimisation leading to -dcore-lint errors and compiler panics in certain cases (#19882, #22914, #23000).
  • Fix a bug with the graph-colouring register allocater leading to compiler panics when compiling with -fregs-graph on AArch64 platforms with the native code generator. A fix was also attempted in GHC 9.2.6 but was incomplete (#22798, #23002).

2.7.2. Runtime system

  • Fix a bug with the RTS linker being unable to resolve the setKeepCAFs symbol which started being used by the GHC library in 9.2.6, resulting in code depending on this symbol failing to load in GHCi or via a compile time splice when using a statically linked GHC, such as on Windows (#22961).
  • Fix a bug with the alignment of RTS data structures that could result in segfaults when compiled with high optimisation settings on certain platforms (#22975 , #22965).
  • Fix a RTS bug resulting in segfaults while using cost center profiling on code that uses the newArrayArray# primop (#22129).
  • Use C11 compatible static assertion syntax (#22777).

2.7.3. Build system and packaging

  • Remove quarantine attribute when installing binary distribution on MacOS (#21506, #23009).
  • Enable SMP on powerp64{le} (#19825).

2.7.4. Included libraries

The package database provided with this distribution also contains a number of packages other than GHC itself. See the changelogs provided with these packages for further change information.

Package Version Reason for inclusion
ghc 9.2.8 The compiler itself
Cabal Dependency of ghc-pkg utility
Win32 Dependency of ghc library
array Dependency of ghc library
base Core library
binary Dependency of ghc library
bytestring Dependency of ghc library
containers Dependency of ghc library
deepseq Dependency of ghc library
directory Dependency of ghc library
exceptions 0.10.4 Dependency of ghc and haskeline library
filepath Dependency of ghc library
ghc-boot-th 9.2.8 Internal compiler library
ghc-boot 9.2.8 Internal compiler library
ghc-compact Core library
ghc-heap 9.2.8 GHC heap-walking library
ghc-prim 0.8.0 Core library
ghci 9.2.8 The REPL interface
haskeline 0.8.2 Dependency of ghci executable
hpc Dependency of hpc executable
integer-gmp 1.1 Core library
libiserv 9.2.8 Internal compiler library
mtl 2.2.2 Dependency of Cabal library
parsec Dependency of Cabal library
pretty Dependency of ghc library
process Dependency of ghc library
stm Dependency of haskeline library
template-haskell Core library
terminfo Dependency of haskeline library
text Dependency of Cabal library
time Dependency of ghc library
transformers Dependency of ghc library
unix Dependency of ghc library
xhtml 3000.2.2.1 Dependency of haddock executable