diff --git a/hadrian/src/Settings/Packages.hs b/hadrian/src/Settings/Packages.hs index d6430ada71773d989087dd20bb87eae89dc6c7c0..0e4ccb6af0d99c1158ab5b158b33edfe45bd69af 100644 --- a/hadrian/src/Settings/Packages.hs +++ b/hadrian/src/Settings/Packages.hs @@ -77,7 +77,15 @@ packageArgs = do , compilerStageOption ghcProfiled ? 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" , flag UseLibzstd `cabalFlag` "with-libzstd"