2.1. Version 9.4.8
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, 13, or 14.
2.1.1. Significant Changes
Issues fixed in this release include:
2.1.1.1. Compiler
Fix a recompilation checking bug where GHC may miss changes in transitive dependencies when deciding to relink a program (#23724).
Fix a compiler panic resulting from incorrect eta-reduction of join points (#23922).
Fix a code generator bug on AArch64 platforms resulting in invalid conditional jumps (#23746).
Improve STG code generation in certain scenarios (#23783).
Fix a bug where we could silently truncate 64 bit values to 32 bit on 32 bit architectures.
Fix
-split-sectionson Windows (#22834).
2.1.1.2. Runtime system
Remove an assertion prone to race conditions (#22563).
Fix some crashes and loops with the non-moving GC (#24042, :ghc-ticket:`23003).
Properly escape characters when writing JSON profiles (
-pJ) (#23924).
2.1.1.3. Build system and packaging
Ensure
-split-sectionsis enabled while building binary distributions for all platforms where this is supported (#21135).Make the configure script use
AC_PATH_TOOLinstead ofAC_PATH_PROGto detect tools, making cross-compilation easier (#21601).Fix a bug where
-DNOSMPwasn’t being passed to the C compiler even if the target doesn’t support SMP (#24082).
2.1.1.4. Core libraries
Bump
baseto 4.17.2.1Bump
bytestringto 0.11.5.3Bump
processto 1.6.18.0
2.1.1.5. 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.8 | The compiler itself |
Cabal-syntax |
3.8.1.0 | Dependency of |
Cabal |
3.8.1.0 | Dependency of |
Win32 |
2.12.0.1 | Dependency of |
array |
0.5.4.0 | Dependency of |
base |
4.17.2.1 | Core library |
binary |
0.8.9.1 | Dependency of |
bytestring |
0.11.5.3 | Dependency of |
containers |
0.6.7 | Dependency of |
deepseq |
1.4.8.0 | Dependency of |
directory |
1.3.7.1 | Dependency of |
exceptions |
0.10.5 | Dependency of |
filepath |
1.4.2.2 | Dependency of |
ghc-boot-th |
9.4.8 | Internal compiler library |
ghc-boot |
9.4.8 | Internal compiler library |
ghc-compact |
0.1.0.0 | Core library |
ghc-heap |
9.4.8 | GHC heap-walking library |
ghc-prim |
0.9.1 | Core library |
ghci |
9.4.8 | The REPL interface |
haskeline |
0.8.2 | Dependency of |
hpc |
0.6.1.0 | Dependency of |
integer-gmp |
1.1 | Core library |
libiserv |
9.4.8 | Internal compiler library |
mtl |
2.2.2 | Dependency of |
parsec |
3.1.16.1 | Dependency of |
pretty |
1.1.3.6 | Dependency of |
process |
1.6.18.0 | Dependency of |
stm |
2.5.1.0 | Dependency of |
template-haskell |
2.19.0.0 | Core library |
terminfo |
0.4.1.5 | Dependency of |
text |
2.0.2 | Dependency of |
time |
1.12.2 | Dependency of |
transformers |
0.5.6.2 | Dependency of |
unix |
2.7.3 | Dependency of |
xhtml |
3000.2.2.1 | Dependency of |