Table Of Contents

Previous topic

3. Release notes for version 8.6.1

Next topic

5. Using GHCi

This Page

4. Release notes for version 8.6.2

GHC 8.6.2 is a bug-fix release, fixing a few regressions found in 8.6.1.

4.1. Highlights

The highlights, since the 8.6.1 release, are:

  • A long-standing bug exposed in GHC 8.6.1, Trac #15696, has been fixed. This issue resulted in undefined runtime behavior with some uses of the dataToTag# primop. Note that this issue, while less likely to manifest, has existed in some form in all GHC releases prior to this release and may result in silent, incorrect evaluation. For this reason, users are strongly encouraged to upgrade to 8.6.2.
  • A long-standing bug in the LLVM code generator (Trac #14251), resulting in incorrect floating point evaluation, has been fixed.
  • Several compiler panics observed in GHC 8.6.1 have been fixed (Trac #15499, Trac #15053, Trac #15692, Trac #15695)
  • GHC now runs without complaining when installed to a read-only location on Windows (Trac #15667)
  • An integer overflow, resulting in some encodeFloat uses returning incorrect results, has been fixed (Trac #15271)

4.2. Known issues

Note that the LLVM code generator (-fllvm) in GHC 8.6, as well as all earlier releases, are affected by Trac #14251, which can result in miscompilation of some programs calling functions with unboxed floating-point arguments. While originally scheduled to be fixed for this release, the fix ended up being more difficult than anticipated and, given that issue is not a strict regression from 8.4, we decided to proceed with the release.

4.3. 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 8.6.2 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 Deppendency of ghc library
containers Dependency of ghc library
deepseq Dependency of ghc library
directory Dependency of ghc library
filepath Dependency of ghc library
ghc-boot 8.6.2 Internal compiler library
ghc-compact Core library
ghc-prim 0.5.3 Core library
ghci 8.6.2 The REPL interface
haskeline Dependency of ghci executable
hpc Dependency of hpc executable
integer-gmp Core library
mtl 2.2.2 Dependency of Cabal library
parsec Dependency of Cabal library
process Dependency of ghc library
template-haskell Core 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