2.1. Version 9.4.2

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 10, 11, 12, or 13.

2.1.1. Significant Changes

This is primarily a bug-fix release addressing packaging issues found in 9.4.1. These issues include:

  • Building with the make build system should now work reliably with GHC 9.0 (#21897, #22047)
  • Make-built binary distributions should no longer complain about incorrect GHC versions during installation (:ghc-ticket:)
  • Generated Haddock package index pages uploaded to Hackage lacked quick-jump support (#21984)
  • Cross-package identifier referenced are now linked correctly in Haddock documentation (#20001)
  • Hadrian-built binary distributions no longer attempt to install documentation if documentation was not built (#21976)
  • Package registration files installed by Hadrian-built binary distributions now have the correct permissions

In addition, a few non-packaging issues have been resolved:

  • the -no-link flag no longer attempts to link (#21866)
  • a soundness issue in GHCi has been resolved (#22042, #21083)
  • a subtle race condition in the IO manager triggered by changing the capability count was fixed (#21651)
  • GHC no longer attempts to use the platform-reserved x18 register on AArch64/Darwin (#21964)
  • GHC’s internal linker is now able to resolve symbols provided by FreeBSD’s built-in iconv implementation (#20354)
  • GHC is now able to correctly locate libc++ on FreeBSD systems

2.1.1.1. 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.4.2 The compiler itself
Cabal-syntax 3.8.1.0 Dependency of ghc-pkg utility
Cabal 3.8.1.0 Dependency of ghc-pkg utility
Win32 2.12.0.0 Dependency of ghc library
array 0.5.4.0 Dependency of ghc library
base 4.17.0.0 Core library
binary 0.8.9.1 Dependency of ghc library
bytestring 0.11.3.1 Dependency of ghc library
containers 0.6.6 Dependency of ghc library
deepseq 1.4.8.0 Dependency of ghc library
directory 1.3.7.1 Dependency of ghc library
exceptions 0.10.5 Dependency of ghc and haskeline library
filepath 1.4.2.2 Dependency of ghc library
ghc-boot-th 9.4.2 Internal compiler library
ghc-boot 9.4.2 Internal compiler library
ghc-compact 0.1.0.0 Core library
ghc-heap 9.4.2 GHC heap-walking library
ghc-prim 0.9.0 Core library
ghci 9.4.2 The REPL interface
haskeline 0.8.2 Dependency of ghci executable
hpc 0.6.1.0 Dependency of hpc executable
integer-gmp 1.1 Core library
libiserv 9.4.2 Internal compiler library
mtl 2.2.2 Dependency of Cabal library
parsec 3.1.15.0 Dependency of Cabal library
pretty 1.1.3.6 Dependency of ghc library
process 1.6.15.0 Dependency of ghc library
stm 2.5.1.0 Dependency of haskeline library
template-haskell 2.19.0.0 Core library
terminfo 0.4.1.5 Dependency of haskeline library
text 2.0.1 Dependency of Cabal library
time 1.12.2 Dependency of ghc library
transformers 0.5.6.2 Dependency of ghc library
unix 2.7.3 Dependency of ghc library
xhtml 3000.2.2.1 Dependency of haddock executable