File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change 301
301
++ final . lib . optional ( versionAtLeast "9.6.3" && versionLessThan "9.10" && final . stdenv . targetPlatform . isAndroid ) ./patches/ghc/ghc-9.6-iog.patch
302
302
++ final . lib . optional ( versionAtLeast "9.6" && versionLessThan "9.12" && final . stdenv . targetPlatform . is32bit ) ./patches/ghc/ghc-9.6-genapply-cross-arch.patch
303
303
++ final . lib . optional ( versionAtLeast "9.6" && versionLessThan "9.9" && final . stdenv . targetPlatform . isAndroid ) ./patches/ghc/ghc-9.6-debug-secno.patch
304
+ ++ final . lib . optional ( versionAtLeast "9.6" && versionLessThan "9.9" && final . stdenv . targetPlatform . isAndroid && final . stdenv . targetPlatform . is32bit ) ./patches/ghc/ghc-9.6-missing-symbols-deadbeef.patch
304
305
;
305
306
in ( {
306
307
ghc865 = final . callPackage ../compiler/ghc ( traceWarnOld "8.6" {
Original file line number Diff line number Diff line change
1
+ diff --git a/rts/linker/elf_got.c b/rts/linker/elf_got.c
2
+ index 4d0c978..96a9d60 100644
3
+ --- a/rts/linker/elf_got.c
4
+ +++ b/rts/linker/elf_got.c
5
+ @@ -99,7 +99,8 @@ fillGot(ObjectCode * oc) {
6
+ } else {
7
+ errorBelch("Failed to lookup symbol: %s\n",
8
+ symbol->name);
9
+ - return EXIT_FAILURE;
10
+ + // return EXIT_FAILURE;
11
+ + symbol->addr = 0xDEADBEEF;
12
+ }
13
+ }
14
+ } else {
You can’t perform that action at this time.
0 commit comments