[Git][ghc/ghc][wip/romes/hadrian-cross-stage2-rebase_SVEN_FIXED] Take LD from env
Sven Tennie pushed to branch wip/romes/hadrian-cross-stage2-rebase_SVEN_FIXED at Glasgow Haskell Compiler / GHC Commits: d8adb9c7 by Sven Tennie at 2025-10-06T12:39:28+02:00 Take LD from env The resembles the old behaviour. Left TODOs because the old behaviour had its flaws. - - - - - 1 changed file: - hadrian/src/Rules/Libffi.hs Changes: ===================================== hadrian/src/Rules/Libffi.hs ===================================== @@ -150,7 +150,8 @@ configureEnvironment stage@Stage1 = do -- TODO: Use staged LD for winTarget. This is only a hack because the wrong staged LD was provided. [remBuilderEnvironment "LD"] else - [builderEnvironment "LD" (Ld stage)]) + [ -- TODO: This should be the staged LD, but that points to GCC and not LD. + ]) configureEnvironment stage = do context <- libffiContext stage @@ -170,7 +171,8 @@ configureEnvironment stage = do -- TODO: We should use the staged LD here. Unfortunately, that differs from what's expected via $LD. [] else - [builderEnvironment "LD" (Ld stage)]) + [ -- TODO: This should be the staged LD, but that points to GCC and not LD. + ]) -- Need the libffi archive and `trackAllow` all files in the build directory. -- See [Libffi indicating inputs]. View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/d8adb9c7fe06eae1514301facf3245bb... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/d8adb9c7fe06eae1514301facf3245bb... You're receiving this email because of your account on gitlab.haskell.org.
participants (1)
-
Sven Tennie (@supersven)