Skip to content

Hadrian error: in-tree arguments don't match out-of-tree arguments

The following error is visible in CI logs:

# ghc-config (for _build/test/ghcconfig)
Hadrian assertion failure: in-tree arguments don't match out-of-tree arguments.
Please report this bug on the GHC issue tracker. Continuing with in-tree arguments.
in-tree arguments:
TestCompilerArgs {hasDynamicRts = False, hasThreadedRts = True, hasDynamic = True, leadingUnderscore = False, withNativeCodeGen = True, withInterpreter = True, unregisterised = False, withSMP = True, debugAssertions = False, profiled = False, os = "linux", arch = "aarch64", platform = "aarch64-unknown-linux", wordsize = "64", libdir = "/builds/ghc/ghc/_build/stage0/lib", have_llvm = True, rtsLinker = True, pkgConfCacheFile = "/builds/ghc/ghc/_build/stage0/lib/package.conf.d/package.cache"}
out-of-tree arguments:
TestCompilerArgs {hasDynamicRts = False, hasThreadedRts = True, hasDynamic = False, leadingUnderscore = False, withNativeCodeGen = True, withInterpreter = True, unregisterised = False, withSMP = True, debugAssertions = True, profiled = False, os = "linux", arch = "aarch64", platform = "aarch64-unknown-linux", wordsize = "64", libdir = "/builds/ghc/ghc/_build/stage0/lib", have_llvm = True, rtsLinker = True, pkgConfCacheFile = "/builds/ghc/ghc/_build/stage0/lib/package.conf.d/package.cache"}

Example jobs:

https://gitlab.haskell.org/ghc/ghc/-/jobs/1150780

https://gitlab.haskell.org/ghc/ghc/-/jobs/1150781

https://gitlab.haskell.org/ghc/ghc/-/jobs/1150782

I used recent MR !8878 (closed) for concreteness, but it happens everywhere.

Presumably this error should make CI fail.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information