diff --git a/hadrian/src/Settings/Packages.hs b/hadrian/src/Settings/Packages.hs index a864e3bbd8fff2f022501eefa789f2fd74d999c4..3da4845cfb718efababf30e66d9a8880650f8f62 100644 --- a/hadrian/src/Settings/Packages.hs +++ b/hadrian/src/Settings/Packages.hs @@ -75,7 +75,15 @@ packageArgs = do , (getStage >>= expr . askGhcProfiled) ? arg "--ghc-pkg-option=--force" ] , builder (Cabal Flags) ? mconcat - [ andM [expr ghcWithInterpreter, notStage0] `cabalFlag` "internal-interpreter" + -- For the ghc library, internal-interpreter only makes + -- sense when we're not cross compiling. For cross GHC, + -- external interpreter is used for loading target code + -- and internal interpreter is supposed to load native + -- code for plugins (!7377), however it's unfinished work + -- (#14335) and completely untested in CI for cross + -- backends at the moment, so we might as well disable it + -- for cross GHC. + [ andM [expr ghcWithInterpreter, notStage0, notCross] `cabalFlag` "internal-interpreter" , notM cross `cabalFlag` "terminfo" , arg "-build-tool-depends" ]