Skip to content

Commit

Permalink
Add changelog entry for GHC 9.4 Windows changes
Browse files Browse the repository at this point in the history
  • Loading branch information
bgamari committed Apr 6, 2022
1 parent c14bc82 commit 4b372fc
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions changelog.d/pr-8062
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
synopsis: Support GHC 9.4's `clang`-based Windows toolchain
packages: Cabal
prs: #8062

description {

- As the `lld` linker used by GHC 9.4 and later on Windows does not support
object merging, it is now an error to enable `--enable-library-for-ghci` on
Windows with such compilers. Note that this flag is merely enables an
optimisation and can safely be disabled if you encounter this error.

- `Cabal` will now use `llvm-ar`'s `L` modifier if available when building
static archives. This enables static library merging which is the behavior
required by GHC 9.4 and later on Windows.

}

0 comments on commit 4b372fc

Please sign in to comment.