Skip to content

Commit 3d8bee0

Browse files
authored
Add [PATCH] AArch64: Fix broken conditional jumps for offsets >= 1MB (input-output-hk#2108)
* Add [PATCH] AArch64: Fix broken conditional jumps for offsets >= 1MB This is added for aarch64 for now only as that's the only affeted platform.
1 parent 5cca93d commit 3d8bee0

File tree

2 files changed

+545
-0
lines changed

2 files changed

+545
-0
lines changed

overlays/bootstrap.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,8 @@ in {
260260
++ final.lib.optional (versionAtLeast "9.4" && final.stdenv.targetPlatform.isWindows) ./patches/ghc/ghc-9.6-fix-code-symbol-jumps.patch
261261
# this one is to allow linking extra symbols from iserv.
262262
# ++ fromUntil "9.6.1" "9.10" ./patches/ghc/iserv-syms.patch
263+
# Fix the bad fixups: https://gitlab.haskell.org/ghc/ghc/-/commit/2adc050857a9c1b992040fbfd55fbe65b2851b19
264+
++ final.lib.optional (versionAtLeast "9.6" && versionLessThan "9.8" && final.stdenv.targetPlatform.isAarch64) ./patches/ghc/2adc050857a9c1b992040fbfd55fbe65b2851b19.patch
263265
;
264266
in ({
265267
ghc865 = final.callPackage ../compiler/ghc (traceWarnOld "8.6" {

0 commit comments

Comments
 (0)