Commits on Source (6)
-
This is a bit of a shot in the dark to fix #24033, which appears to be another instance of #21712. For some reason the ld-override logic *still* appears to be active on Darwin targets (or at least one). Consequently, on misconfigured systems we may choose a non-`ld64` linker. It's a bit unclear exactly what happened in #24033 but ultimately the check added for #21712 was not quite right, checking for the `ghc_host_os` (the value of which depends upon the bootstrap compiler) instead of the target platform. Fix this. Fixes #24033.
5f74d14d -
0b007af8
Showing
- compiler/GHC/Data/FastString.hs 4 additions, 0 deletionscompiler/GHC/Data/FastString.hs
- compiler/GHC/Types/Name/Reader.hs 9 additions, 5 deletionscompiler/GHC/Types/Name/Reader.hs
- compiler/ghc.cabal.in 1 addition, 1 deletioncompiler/ghc.cabal.in
- ghc/ghc-bin.cabal.in 1 addition, 1 deletionghc/ghc-bin.cabal.in
- hadrian/hadrian.cabal 1 addition, 1 deletionhadrian/hadrian.cabal
- libraries/bytestring 1 addition, 1 deletionlibraries/bytestring
- libraries/ghc-boot/ghc-boot.cabal.in 1 addition, 1 deletionlibraries/ghc-boot/ghc-boot.cabal.in
- libraries/ghc-compact/ghc-compact.cabal 1 addition, 1 deletionlibraries/ghc-compact/ghc-compact.cabal
- libraries/ghci/ghci.cabal.in 1 addition, 1 deletionlibraries/ghci/ghci.cabal.in
- libraries/haskeline 1 addition, 1 deletionlibraries/haskeline
- m4/find_ld.m4 11 additions, 7 deletionsm4/find_ld.m4
- rts/include/rts/ghc_ffi.h 1 addition, 1 deletionrts/include/rts/ghc_ffi.h
- rts/sm/NonMoving.h 4 additions, 4 deletionsrts/sm/NonMoving.h
- testsuite/tests/rename/should_compile/T24037.hs 7 additions, 0 deletionstestsuite/tests/rename/should_compile/T24037.hs
- testsuite/tests/rename/should_compile/all.T 1 addition, 0 deletionstestsuite/tests/rename/should_compile/all.T
- utils/iserv/iserv.cabal.in 1 addition, 1 deletionutils/iserv/iserv.cabal.in