2.4. Version 9.8.4

The LLVM backend of this release is to be used with LLVM 11, 12, 13, 14 or 15.

2.4.1. Significant Changes

Issues fixed in this release include:

2.4.1.1. Compiler

  • -Wmissing-home-modules now behaves correctly when multiple units have expose the same module name (#25122).

  • Adjust the demand signature of the prompt# to avoid invalid optimisation of non-terminating programs (#25439).

  • GHC’s internal Unique type has been widened to 64-bits on 32-bit architectures, avoiding potential miscompilations on large projects (#22010).

2.4.1.2. Packaging

  • Manual pages are now included in all binary distributions (#24465).

2.4.1.3. Other Core Libraries

  • The filepath library has been upgraded to 1.4.300.2, fixing a potentially exploitable behavior with splitFileName on Windows (#24597).

  • unix-2.8.6.0 is included, fixing an issue affecting musl targets.

2.4.1.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.8.4

The compiler itself

Cabal-syntax

3.10.3.0

Dependency of ghc-pkg utility

Cabal

3.10.3.0

Dependency of ghc-pkg utility

Win32

2.13.4.0

Dependency of ghc library

array

0.5.8.0

Dependency of ghc library

base

4.19.2.0

Core library

binary

0.8.9.1

Dependency of ghc library

bytestring

0.12.1.0

Dependency of ghc library

containers

0.6.8

Dependency of ghc library

deepseq

1.5.1.0

Dependency of ghc library

directory

1.3.8.5

Dependency of ghc library

exceptions

0.10.7

Dependency of ghc and haskeline library

filepath

1.4.301.0

Dependency of ghc library

ghc-boot-th

9.8.4

Internal compiler library

ghc-boot

9.8.4

Internal compiler library

ghc-compact

0.1.0.0

Core library

ghc-heap

9.8.4

GHC heap-walking library

ghc-prim

0.11.0

Core library

ghci

9.8.4

The REPL interface

haskeline

0.8.2.1

Dependency of ghci executable

hpc

0.7.0.0

Dependency of hpc executable

integer-gmp

1.1

Core library

mtl

2.3.1

Dependency of Cabal library

parsec

3.1.17.0

Dependency of Cabal library

pretty

1.1.3.6

Dependency of ghc library

process

1.6.25.0

Dependency of ghc library

semaphore-compat

1.0.0

Dependency of ghc library

stm

2.5.3.1

Dependency of haskeline library

template-haskell

2.21.0.0

Core library

terminfo

0.4.1.6

Dependency of haskeline library

text

2.1.1

Dependency of Cabal library

time

1.12.2

Dependency of ghc library

transformers

0.6.1.0

Dependency of ghc library

unix

2.8.6.0

Dependency of ghc library

xhtml

3000.2.2.1

Dependency of haddock executable