anchor.diff:          url = "https://github.com/fxcoudert/gcc/compare/releases/gcc-11.1.0...gcc-11.1.0-arm-20210504.diff";
           sha256 = "sha256-JqCGJAfbOxSmkNyq49aFHteK/RFsCSLQrL9mzUCnaD0=";
         })
  +      ++ optional langD ../libphobos.patch
   
         # Obtain latest patch with ../update-mcfgthread-patches.sh
         ++ optional (!crossStageStatic && targetPlatform.isMinGW) ./Added-mcf-thread-model-support-from-mcfgthread.patch;
  
positive.code: 
    inherit
      (import ../common/extra-target-flags.nix {
        inherit lib stdenv crossStageStatic libcCross threadsCross;
      })
      EXTRA_FLAGS_FOR_TARGET
      EXTRA_LDFLAGS_FOR_TARGET
      ;
  
    passthru = {
      inherit langC langCC langObjC langObjCpp langAda langFortran langGo version;
      isGNU = true;
    };
  
  
negative.code: assert langGo -> langCC;
  assert langAda -> gnatboot != null;
  
  # TODO: fixup D bootstapping, probably by using gdc11 (and maybe other changes).
  #   error: GDC is required to build d
  assert !langD;
  
  # threadsCross is just for MinGW
  assert threadsCross != null -> stdenv.targetPlatform.isWindows;
  
  