Commits on Source (3)
-
This patch adds: - the --optimistic-linking flag which binds unknown symbols in the runtime linker to 0xDEADBEEF instead of exiting with failure - The test T25240 which tests these flags using dead code in the FFI system. - closes #25240 This patch is part of the upstreaming haskell.nix patches project.
867e6115 -
0c6fb1f8
-
This commit fixes an oversight of hadrian wrapper generation logic: when doing cross compilation, `wrapper` is called on executable names with cross prefix, therefore we must use `isSuffixOf` when matching to take the cross prefix into account. Also add missing cross prefix to ghci wrapper content and fix hsc2hs wrapper logic.
73e71758
Showing
- docs/users_guide/9.14.1-notes.rst 4 additions, 0 deletionsdocs/users_guide/9.14.1-notes.rst
- docs/users_guide/runtime_control.rst 5 additions, 0 deletionsdocs/users_guide/runtime_control.rst
- hadrian/bindist/Makefile 1 addition, 1 deletionhadrian/bindist/Makefile
- hadrian/src/Rules/BinaryDist.hs 10 additions, 9 deletionshadrian/src/Rules/BinaryDist.hs
- libraries/ghc-internal/src/GHC/Internal/RTS/Flags.hsc 2 additions, 0 deletionslibraries/ghc-internal/src/GHC/Internal/RTS/Flags.hsc
- rts/Linker.c 14 additions, 4 deletionsrts/Linker.c
- rts/RtsFlags.c 6 additions, 0 deletionsrts/RtsFlags.c
- rts/include/rts/Flags.h 1 addition, 0 deletionsrts/include/rts/Flags.h
- rts/linker/elf_got.c 15 additions, 2 deletionsrts/linker/elf_got.c
- testsuite/tests/ghci/linking/T25240/Makefile 7 additions, 0 deletionstestsuite/tests/ghci/linking/T25240/Makefile
- testsuite/tests/ghci/linking/T25240/T25240.hs 17 additions, 0 deletionstestsuite/tests/ghci/linking/T25240/T25240.hs
- testsuite/tests/ghci/linking/T25240/T25240.stderr 2 additions, 0 deletionstestsuite/tests/ghci/linking/T25240/T25240.stderr
- testsuite/tests/ghci/linking/T25240/T25240a.hs 13 additions, 0 deletionstestsuite/tests/ghci/linking/T25240/T25240a.hs
- testsuite/tests/ghci/linking/T25240/all.T 3 additions, 0 deletionstestsuite/tests/ghci/linking/T25240/all.T
- testsuite/tests/ghci/should_run/T18064.stderr 1 addition, 1 deletiontestsuite/tests/ghci/should_run/T18064.stderr
- testsuite/tests/rts/linker/T11223/T11223_link_order_a_b_2_fail.stderr 1 addition, 1 deletion...sts/rts/linker/T11223/T11223_link_order_a_b_2_fail.stderr
- testsuite/tests/rts/linker/T11223/T11223_link_order_a_b_2_fail.stderr-ws-32-mingw32 1 addition, 1 deletion.../T11223/T11223_link_order_a_b_2_fail.stderr-ws-32-mingw32
- testsuite/tests/rts/linker/T11223/T11223_link_order_a_b_2_fail.stderr-ws-64-mingw32 1 addition, 1 deletion.../T11223/T11223_link_order_a_b_2_fail.stderr-ws-64-mingw32
- testsuite/tests/rts/linker/T11223/T11223_simple_duplicate_lib.stderr 1 addition, 1 deletion...ests/rts/linker/T11223/T11223_simple_duplicate_lib.stderr
- testsuite/tests/rts/linker/T11223/T11223_simple_duplicate_lib.stderr-ws-32-mingw32 1 addition, 1 deletion...r/T11223/T11223_simple_duplicate_lib.stderr-ws-32-mingw32
testsuite/tests/ghci/linking/T25240/Makefile
0 → 100644
testsuite/tests/ghci/linking/T25240/all.T
0 → 100644