webmonarch / ghc-for-ios

7 stars 3 forks source link

./start ghc build ... fails #1

Open epoberezkin opened 3 years ago

epoberezkin commented 3 years ago

The end of the log file:

checking whether byte ordering is bigendian... no
checking assembler .cfi pseudo-op support... no
checking for _ prefix in compiled symbols... yes
checking whether .eh_frame section should be read-only... no
checking for __attribute__((visibility("hidden")))... yes
clang: error: unsupported option '-print-multi-os-directory'
clang: error: no input files
checking for ld used by aarch64-apple-ios-clang... (cached) aarch64-apple-ios-ld
checking if the linker (aarch64-apple-ios-ld) is GNU ld... (cached) no
configure: versioning on shared library symbols is no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating include/Makefile
config.status: creating include/ffi.h
config.status: creating Makefile
config.status: creating testsuite/Makefile
config.status: creating man/Makefile
config.status: creating doc/Makefile
config.status: creating libffi.pc
config.status: creating fficonfig.h
config.status: executing buildir commands
config.status: create top_srcdir/Makefile guessed from local Makefile
config.status: build in aarch64-apple-ios (HOST=)
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing include commands
config.status: executing src commands
# wc on OS X has spaces in its output, which libffi's Makefile
# doesn't expect, so we tweak it to sed them out
mv libffi/build/Makefile libffi/build/Makefile.orig
sed "s#wc -w#wc -w | sed 's/ //g'#" < libffi/build/Makefile.orig > libffi/build/Makefile
"touch" libffi/stamp.ffi.static.configure
make: *** [all] Error 2
epoberezkin commented 3 years ago

interesting... the second run failed earlier, the third is still going at least twice further...

webmonarch commented 3 years ago

Yeah, peculiarities of make. It'll fail if 1 task fails though there are potentially many other tasks that can succeed which is why it progresses more/less after an initial fail.

try:

# setup build env
eval "$(./start bash)"

cd build/ghc-8.10.7

# execute single threaded, when it fails, the log/error will be more clear
make -j1 

LMK

webmonarch commented 3 years ago

I updated the README to (hopefully) help: https://github.com/webmonarch/ghc-for-ios/tree/ewebb/readme-help#help

epoberezkin commented 3 years ago

try

I did that, that's the end of the log now (3675 lines):

echo compiler/stage2/build/HieTypes.o compiler/stage2/build/HieDebug.o compiler/stage2/build/HieBin.o compiler/stage2/build/HieUtils.o compiler/stage2/build/HieAst.o compiler/stage2/build/Ar.o compiler/stage2/build/FileCleanup.o compiler/stage2/build/DriverBkp.o compiler/stage2/build/BkpSyn.o compiler/stage2/build/NameShape.o compiler/stage2/build/RnModIface.o compiler/stage2/build/Avail.o compiler/stage2/build/AsmUtils.o compiler/stage2/build/BasicTypes.o compiler/stage2/build/ConLike.o compiler/stage2/build/DataCon.o compiler/stage2/build/PatSyn.o compiler/stage2/build/Demand.o compiler/stage2/build/Debug.o compiler/stage2/build/Exception.o compiler/stage2/build/FieldLabel.o compiler/stage2/build/GhcMonad.o compiler/stage2/build/Hooks.o compiler/stage2/build/Id.o compiler/stage2/build/IdInfo.o compiler/stage2/build/Predicate.o compiler/stage2/build/Lexeme.o compiler/stage2/build/Literal.o compiler/stage2/build/Llvm.o compiler/stage2/build/Llvm/AbsSyn.o compiler/stage2/build/Llvm/MetaData.o compiler/stage2/build/Llvm/PpLlvm.o compiler/stage2/build/Llvm/Types.o compiler/stage2/build/LlvmCodeGen.o compiler/stage2/build/LlvmCodeGen/Base.o compiler/stage2/build/LlvmCodeGen/CodeGen.o compiler/stage2/build/LlvmCodeGen/Data.o compiler/stage2/build/LlvmCodeGen/Ppr.o compiler/stage2/build/LlvmCodeGen/Regs.o compiler/stage2/build/LlvmMangler.o compiler/stage2/build/MkId.o compiler/stage2/build/Module.o compiler/stage2/build/Name.o compiler/stage2/build/NameEnv.o compiler/stage2/build/NameSet.o compiler/stage2/build/OccName.o compiler/stage2/build/RdrName.o compiler/stage2/build/NameCache.o compiler/stage2/build/SrcLoc.o compiler/stage2/build/UniqSupply.o compiler/stage2/build/Unique.o compiler/stage2/build/Var.o compiler/stage2/build/VarEnv.o compiler/stage2/build/VarSet.o compiler/stage2/build/UnVarGraph.o compiler/stage2/build/BlockId.o compiler/stage2/build/CLabel.o compiler/stage2/build/Cmm.o compiler/stage2/build/CmmBuildInfoTables.o compiler/stage2/build/CmmPipeline.o compiler/stage2/build/CmmCallConv.o compiler/stage2/build/CmmCommonBlockElim.o compiler/stage2/build/CmmImplementSwitchPlans.o compiler/stage2/build/CmmContFlowOpt.o compiler/stage2/build/CmmExpr.o compiler/stage2/build/CmmInfo.o compiler/stage2/build/CmmLex.o compiler/stage2/build/CmmLint.o compiler/stage2/build/CmmLive.o compiler/stage2/build/CmmMachOp.o compiler/stage2/build/CmmMonad.o compiler/stage2/build/CmmSwitch.o compiler/stage2/build/CmmNode.o compiler/stage2/build/CmmOpt.o compiler/stage2/build/CmmParse.o compiler/stage2/build/CmmProcPoint.o compiler/stage2/build/CmmSink.o compiler/stage2/build/CmmType.o compiler/stage2/build/CmmUtils.o compiler/stage2/build/CmmLayoutStack.o compiler/stage2/build/CliOption.o compiler/stage2/build/EnumSet.o compiler/stage2/build/GhcNameVersion.o compiler/stage2/build/FileSettings.o compiler/stage2/build/MkGraph.o compiler/stage2/build/PprBase.o compiler/stage2/build/PprC.o compiler/stage2/build/PprCmm.o compiler/stage2/build/PprCmmDecl.o compiler/stage2/build/PprCmmExpr.o compiler/stage2/build/Bitmap.o compiler/stage2/build/GHC/Platform/Regs.o compiler/stage2/build/GHC/Platform/ARM.o compiler/stage2/build/GHC/Platform/AArch64.o compiler/stage2/build/GHC/Platform/NoRegs.o compiler/stage2/build/GHC/Platform/PPC.o compiler/stage2/build/GHC/Platform/S390X.o compiler/stage2/build/GHC/Platform/SPARC.o compiler/stage2/build/GHC/Platform/X86.o compiler/stage2/build/GHC/Platform/X86_64.o compiler/stage2/build/GHC/StgToCmm/CgUtils.o compiler/stage2/build/GHC/StgToCmm.o compiler/stage2/build/GHC/StgToCmm/Bind.o compiler/stage2/build/GHC/StgToCmm/Closure.o compiler/stage2/build/GHC/StgToCmm/DataCon.o compiler/stage2/build/GHC/StgToCmm/Env.o compiler/stage2/build/GHC/StgToCmm/Expr.o compiler/stage2/build/GHC/StgToCmm/Foreign.o compiler/stage2/build/GHC/StgToCmm/Heap.o compiler/stage2/build/GHC/StgToCmm/Hpc.o compiler/stage2/build/GHC/StgToCmm/ArgRep.o compiler/stage2/build/GHC/StgToCmm/Layout.o compiler/stage2/build/GHC/StgToCmm/Monad.o compiler/stage2/build/GHC/StgToCmm/Prim.o compiler/stage2/build/GHC/StgToCmm/Prof.o compiler/stage2/build/GHC/StgToCmm/Ticky.o compiler/stage2/build/GHC/StgToCmm/Utils.o compiler/stage2/build/GHC/StgToCmm/ExtCode.o compiler/stage2/build/SMRep.o compiler/stage2/build/CoreArity.o compiler/stage2/build/CoreFVs.o compiler/stage2/build/CoreLint.o compiler/stage2/build/CorePrep.o compiler/stage2/build/CoreSubst.o compiler/stage2/build/CoreOpt.o compiler/stage2/build/CoreSyn.o compiler/stage2/build/TrieMap.o compiler/stage2/build/CoreTidy.o compiler/stage2/build/CoreUnfold.o compiler/stage2/build/CoreUtils.o compiler/stage2/build/CoreMap.o compiler/stage2/build/CoreSeq.o compiler/stage2/build/CoreStats.o compiler/stage2/build/MkCore.o compiler/stage2/build/PprCore.o compiler/stage2/build/GHC/HsToCore/PmCheck/Oracle.o compiler/stage2/build/GHC/HsToCore/PmCheck/Ppr.o compiler/stage2/build/GHC/HsToCore/PmCheck/Types.o compiler/stage2/build/GHC/HsToCore/PmCheck.o compiler/stage2/build/Coverage.o compiler/stage2/build/Desugar.o compiler/stage2/build/DsArrows.o compiler/stage2/build/DsBinds.o compiler/stage2/build/DsCCall.o compiler/stage2/build/DsExpr.o compiler/stage2/build/DsForeign.o compiler/stage2/build/DsGRHSs.o compiler/stage2/build/DsListComp.o compiler/stage2/build/DsMonad.o compiler/stage2/build/DsUsage.o compiler/stage2/build/DsUtils.o compiler/stage2/build/ExtractDocs.o compiler/stage2/build/Match.o compiler/stage2/build/MatchCon.o compiler/stage2/build/MatchLit.o compiler/stage2/build/GHC/Hs.o compiler/stage2/build/GHC/Hs/Binds.o compiler/stage2/build/GHC/Hs/Decls.o compiler/stage2/build/GHC/Hs/Doc.o compiler/stage2/build/GHC/Hs/Expr.o compiler/stage2/build/GHC/Hs/ImpExp.o compiler/stage2/build/GHC/Hs/Lit.o compiler/stage2/build/GHC/Hs/PlaceHolder.o compiler/stage2/build/GHC/Hs/Extension.o compiler/stage2/build/GHC/Hs/Instances.o compiler/stage2/build/GHC/Hs/Pat.o compiler/stage2/build/GHC/Hs/Types.o compiler/stage2/build/GHC/Hs/Utils.o compiler/stage2/build/GHC/Hs/Dump.o compiler/stage2/build/BinIface.o compiler/stage2/build/BinFingerprint.o compiler/stage2/build/BuildTyCl.o compiler/stage2/build/IfaceEnv.o compiler/stage2/build/IfaceSyn.o compiler/stage2/build/IfaceType.o compiler/stage2/build/ToIface.o compiler/stage2/build/LoadIface.o compiler/stage2/build/MkIface.o compiler/stage2/build/TcIface.o compiler/stage2/build/FlagChecker.o compiler/stage2/build/Annotations.o compiler/stage2/build/CmdLineParser.o compiler/stage2/build/CodeOutput.o compiler/stage2/build/Config.o compiler/stage2/build/Constants.o compiler/stage2/build/DriverMkDepend.o compiler/stage2/build/DriverPhases.o compiler/stage2/build/PipelineMonad.o compiler/stage2/build/DriverPipeline.o compiler/stage2/build/DynFlags.o compiler/stage2/build/ErrUtils.o compiler/stage2/build/Finder.o compiler/stage2/build/GHC.o compiler/stage2/build/GhcMake.o compiler/stage2/build/GhcPlugins.o compiler/stage2/build/GhcPrelude.o compiler/stage2/build/DynamicLoading.o compiler/stage2/build/HeaderInfo.o compiler/stage2/build/HscMain.o compiler/stage2/build/HscStats.o compiler/stage2/build/HscTypes.o compiler/stage2/build/InteractiveEval.o compiler/stage2/build/InteractiveEvalTypes.o compiler/stage2/build/PackageConfig.o compiler/stage2/build/Packages.o compiler/stage2/build/PlatformConstants.o compiler/stage2/build/Plugins.o compiler/stage2/build/TcPluginM.o compiler/stage2/build/PprTyThing.o compiler/stage2/build/Settings.o compiler/stage2/build/StaticPtrTable.o compiler/stage2/build/SysTools.o compiler/stage2/build/SysTools/BaseDir.o compiler/stage2/build/SysTools/Terminal.o compiler/stage2/build/SysTools/ExtraObj.o compiler/stage2/build/SysTools/Info.o compiler/stage2/build/SysTools/Process.o compiler/stage2/build/SysTools/Tasks.o compiler/stage2/build/SysTools/Settings.o compiler/stage2/build/Elf.o compiler/stage2/build/TidyPgm.o compiler/stage2/build/Ctype.o compiler/stage2/build/HaddockUtils.o compiler/stage2/build/Lexer.o compiler/stage2/build/OptCoercion.o compiler/stage2/build/Parser.o compiler/stage2/build/RdrHsSyn.o compiler/stage2/build/ApiAnnotation.o compiler/stage2/build/ForeignCall.o compiler/stage2/build/KnownUniques.o compiler/stage2/build/PrelInfo.o compiler/stage2/build/PrelNames.o compiler/stage2/build/PrelRules.o compiler/stage2/build/PrimOp.o compiler/stage2/build/ToolSettings.o compiler/stage2/build/TysPrim.o compiler/stage2/build/TysWiredIn.o compiler/stage2/build/CostCentre.o compiler/stage2/build/CostCentreState.o compiler/stage2/build/ProfInit.o compiler/stage2/build/RnBinds.o compiler/stage2/build/RnEnv.o compiler/stage2/build/RnExpr.o compiler/stage2/build/RnHsDoc.o compiler/stage2/build/RnNames.o compiler/stage2/build/RnPat.o compiler/stage2/build/RnSource.o compiler/stage2/build/RnSplice.o compiler/stage2/build/RnTypes.o compiler/stage2/build/RnFixity.o compiler/stage2/build/RnUtils.o compiler/stage2/build/RnUnbound.o compiler/stage2/build/CoreMonad.o compiler/stage2/build/CSE.o compiler/stage2/build/FloatIn.o compiler/stage2/build/FloatOut.o compiler/stage2/build/LiberateCase.o compiler/stage2/build/OccurAnal.o compiler/stage2/build/SAT.o compiler/stage2/build/SetLevels.o compiler/stage2/build/SimplCore.o compiler/stage2/build/SimplEnv.o compiler/stage2/build/SimplMonad.o compiler/stage2/build/SimplUtils.o compiler/stage2/build/Simplify.o compiler/stage2/build/SimplStg.o compiler/stage2/build/StgStats.o compiler/stage2/build/StgCse.o compiler/stage2/build/StgLiftLams.o compiler/stage2/build/StgLiftLams/Analysis.o compiler/stage2/build/StgLiftLams/LiftM.o compiler/stage2/build/StgLiftLams/Transformation.o compiler/stage2/build/StgSubst.o compiler/stage2/build/UnariseStg.o compiler/stage2/build/RepType.o compiler/stage2/build/Rules.o compiler/stage2/build/SpecConstr.o compiler/stage2/build/Specialise.o compiler/stage2/build/CoreToStg.o compiler/stage2/build/StgLint.o compiler/stage2/build/StgSyn.o compiler/stage2/build/StgFVs.o compiler/stage2/build/CallArity.o compiler/stage2/build/DmdAnal.o compiler/stage2/build/Exitify.o compiler/stage2/build/WorkWrap.o compiler/stage2/build/WwLib.o compiler/stage2/build/FamInst.o compiler/stage2/build/ClsInst.o compiler/stage2/build/Inst.o compiler/stage2/build/TcAnnotations.o compiler/stage2/build/TcArrows.o compiler/stage2/build/TcBinds.o compiler/stage2/build/TcSigs.o compiler/stage2/build/TcClassDcl.o compiler/stage2/build/TcDefaults.o compiler/stage2/build/TcDeriv.o compiler/stage2/build/TcDerivInfer.o compiler/stage2/build/TcDerivUtils.o compiler/stage2/build/TcEnv.o compiler/stage2/build/TcExpr.o compiler/stage2/build/TcForeign.o compiler/stage2/build/TcGenDeriv.o compiler/stage2/build/TcGenFunctor.o compiler/stage2/build/TcGenGenerics.o compiler/stage2/build/TcHsSyn.o compiler/stage2/build/TcHsType.o compiler/stage2/build/TcInstDcls.o compiler/stage2/build/TcMType.o compiler/stage2/build/TcValidity.o compiler/stage2/build/TcMatches.o compiler/stage2/build/TcPat.o compiler/stage2/build/TcPatSyn.o compiler/stage2/build/TcRnDriver.o compiler/stage2/build/TcBackpack.o compiler/stage2/build/TcRnExports.o compiler/stage2/build/TcRnMonad.o compiler/stage2/build/TcRnTypes.o compiler/stage2/build/Constraint.o compiler/stage2/build/TcOrigin.o compiler/stage2/build/TcRules.o compiler/stage2/build/TcSimplify.o compiler/stage2/build/TcHoleErrors.o compiler/stage2/build/TcHoleFitTypes.o compiler/stage2/build/TcErrors.o compiler/stage2/build/TcTyClsDecls.o compiler/stage2/build/TcTyDecls.o compiler/stage2/build/TcTypeable.o compiler/stage2/build/TcType.o compiler/stage2/build/TcEvidence.o compiler/stage2/build/TcEvTerm.o compiler/stage2/build/TcUnify.o compiler/stage2/build/TcInteract.o compiler/stage2/build/TcCanonical.o compiler/stage2/build/TcFlatten.o compiler/stage2/build/TcSMonad.o compiler/stage2/build/TcTypeNats.o compiler/stage2/build/TcSplice.o compiler/stage2/build/Class.o compiler/stage2/build/Coercion.o compiler/stage2/build/DsMeta.o compiler/stage2/build/THNames.o compiler/stage2/build/FamInstEnv.o compiler/stage2/build/FunDeps.o compiler/stage2/build/InstEnv.o compiler/stage2/build/TyCon.o compiler/stage2/build/CoAxiom.o compiler/stage2/build/Type.o compiler/stage2/build/TyCoRep.o compiler/stage2/build/TyCoFVs.o compiler/stage2/build/TyCoSubst.o compiler/stage2/build/TyCoPpr.o compiler/stage2/build/TyCoTidy.o compiler/stage2/build/Unify.o compiler/stage2/build/Bag.o compiler/stage2/build/Binary.o compiler/stage2/build/BooleanFormula.o compiler/stage2/build/BufWrite.o compiler/stage2/build/Digraph.o compiler/stage2/build/Encoding.o compiler/stage2/build/FastFunctions.o compiler/stage2/build/FastMutInt.o compiler/stage2/build/FastString.o compiler/stage2/build/FastStringEnv.o compiler/stage2/build/Fingerprint.o compiler/stage2/build/FiniteMap.o compiler/stage2/build/FV.o compiler/stage2/build/GraphBase.o compiler/stage2/build/GraphColor.o compiler/stage2/build/GraphOps.o compiler/stage2/build/GraphPpr.o compiler/stage2/build/IOEnv.o compiler/stage2/build/Json.o compiler/stage2/build/ListSetOps.o compiler/stage2/build/Maybes.o compiler/stage2/build/MonadUtils.o compiler/stage2/build/OrdList.o compiler/stage2/build/Outputable.o compiler/stage2/build/Pair.o compiler/stage2/build/Panic.o compiler/stage2/build/PlainPanic.o compiler/stage2/build/PprColour.o compiler/stage2/build/Pretty.o compiler/stage2/build/State.o compiler/stage2/build/Stream.o compiler/stage2/build/StringBuffer.o compiler/stage2/build/UniqDFM.o compiler/stage2/build/UniqDSet.o compiler/stage2/build/UniqFM.o compiler/stage2/build/UniqMap.o compiler/stage2/build/UniqSet.o compiler/stage2/build/Util.o compiler/stage2/build/Hoopl/Block.o compiler/stage2/build/Hoopl/Collections.o compiler/stage2/build/Hoopl/Dataflow.o compiler/stage2/build/Hoopl/Graph.o compiler/stage2/build/Hoopl/Label.o compiler/stage2/build/AsmCodeGen.o compiler/stage2/build/TargetReg.o compiler/stage2/build/NCGMonad.o compiler/stage2/build/Instruction.o compiler/stage2/build/BlockLayout.o compiler/stage2/build/CFG.o compiler/stage2/build/Dominators.o compiler/stage2/build/Format.o compiler/stage2/build/Reg.o compiler/stage2/build/RegClass.o compiler/stage2/build/PIC.o compiler/stage2/build/CPrim.o compiler/stage2/build/X86/Regs.o compiler/stage2/build/X86/RegInfo.o compiler/stage2/build/X86/Instr.o compiler/stage2/build/X86/Cond.o compiler/stage2/build/X86/Ppr.o compiler/stage2/build/X86/CodeGen.o compiler/stage2/build/PPC/Regs.o compiler/stage2/build/PPC/RegInfo.o compiler/stage2/build/PPC/Instr.o compiler/stage2/build/PPC/Cond.o compiler/stage2/build/PPC/Ppr.o compiler/stage2/build/PPC/CodeGen.o compiler/stage2/build/SPARC/Base.o compiler/stage2/build/SPARC/Regs.o compiler/stage2/build/SPARC/Imm.o compiler/stage2/build/SPARC/AddrMode.o compiler/stage2/build/SPARC/Cond.o compiler/stage2/build/SPARC/Instr.o compiler/stage2/build/SPARC/Stack.o compiler/stage2/build/SPARC/ShortcutJump.o compiler/stage2/build/SPARC/Ppr.o compiler/stage2/build/SPARC/CodeGen.o compiler/stage2/build/SPARC/CodeGen/Amode.o compiler/stage2/build/SPARC/CodeGen/Base.o compiler/stage2/build/SPARC/CodeGen/CondCode.o compiler/stage2/build/SPARC/CodeGen/Gen32.o compiler/stage2/build/SPARC/CodeGen/Gen64.o compiler/stage2/build/SPARC/CodeGen/Sanity.o compiler/stage2/build/SPARC/CodeGen/Expand.o compiler/stage2/build/RegAlloc/Liveness.o compiler/stage2/build/RegAlloc/Graph/Main.o compiler/stage2/build/RegAlloc/Graph/Stats.o compiler/stage2/build/RegAlloc/Graph/ArchBase.o compiler/stage2/build/RegAlloc/Graph/ArchX86.o compiler/stage2/build/RegAlloc/Graph/Coalesce.o compiler/stage2/build/RegAlloc/Graph/Spill.o compiler/stage2/build/RegAlloc/Graph/SpillClean.o compiler/stage2/build/RegAlloc/Graph/SpillCost.o compiler/stage2/build/RegAlloc/Graph/TrivColorable.o compiler/stage2/build/RegAlloc/Linear/Main.o compiler/stage2/build/RegAlloc/Linear/JoinToTargets.o compiler/stage2/build/RegAlloc/Linear/State.o compiler/stage2/build/RegAlloc/Linear/Stats.o compiler/stage2/build/RegAlloc/Linear/FreeRegs.o compiler/stage2/build/RegAlloc/Linear/StackMap.o compiler/stage2/build/RegAlloc/Linear/Base.o compiler/stage2/build/RegAlloc/Linear/X86/FreeRegs.o compiler/stage2/build/RegAlloc/Linear/X86_64/FreeRegs.o compiler/stage2/build/RegAlloc/Linear/PPC/FreeRegs.o compiler/stage2/build/RegAlloc/Linear/SPARC/FreeRegs.o compiler/stage2/build/Dwarf.o compiler/stage2/build/Dwarf/Types.o compiler/stage2/build/Dwarf/Constants.o compiler/stage2/build/GHC/ThToHs.o compiler/stage2/build/ByteCodeTypes.o compiler/stage2/build/ByteCodeAsm.o compiler/stage2/build/ByteCodeGen.o compiler/stage2/build/ByteCodeInstr.o compiler/stage2/build/ByteCodeItbls.o compiler/stage2/build/ByteCodeLink.o compiler/stage2/build/Debugger.o compiler/stage2/build/LinkerTypes.o compiler/stage2/build/Linker.o compiler/stage2/build/RtClosureInspect.o compiler/stage2/build/GHCi.o   compiler/stage2/build/parser/cutils.o compiler/stage2/build/cbits/genSym.o     >> compiler/stage2/build/libHSghc-8.10.7.a.contents
"xargs"  "aarch64-apple-ios-ar" qcls  compiler/stage2/build/libHSghc-8.10.7.a < compiler/stage2/build/libHSghc-8.10.7.a.contents
"rm" -f compiler/stage2/build/libHSghc-8.10.7.a.contents  
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/hsc2hs/. -iutils/hsc2hs/dist-install/build -Iutils/hsc2hs/dist-install/build -iutils/hsc2hs/dist-install/build/hsc2hs/autogen -Iutils/hsc2hs/dist-install/build/hsc2hs/autogen     -optP-include -optPutils/hsc2hs/dist-install/build/hsc2hs/autogen/cabal_macros.h -package-id base-4.14.3.0 -package-id containers-0.6.5.1 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -package-id process-1.6.13.2 -Wall -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -outputdir utils/hsc2hs/dist-install/build   -c utils/hsc2hs/./HSCParser.hs -o utils/hsc2hs/dist-install/build/HSCParser.o 
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/hsc2hs/. -iutils/hsc2hs/dist-install/build -Iutils/hsc2hs/dist-install/build -iutils/hsc2hs/dist-install/build/hsc2hs/autogen -Iutils/hsc2hs/dist-install/build/hsc2hs/autogen     -optP-include -optPutils/hsc2hs/dist-install/build/hsc2hs/autogen/cabal_macros.h -package-id base-4.14.3.0 -package-id containers-0.6.5.1 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -package-id process-1.6.13.2 -Wall -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -outputdir utils/hsc2hs/dist-install/build   -c utils/hsc2hs/./Flags.hs -o utils/hsc2hs/dist-install/build/Flags.o 
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/hsc2hs/. -iutils/hsc2hs/dist-install/build -Iutils/hsc2hs/dist-install/build -iutils/hsc2hs/dist-install/build/hsc2hs/autogen -Iutils/hsc2hs/dist-install/build/hsc2hs/autogen     -optP-include -optPutils/hsc2hs/dist-install/build/hsc2hs/autogen/cabal_macros.h -package-id base-4.14.3.0 -package-id containers-0.6.5.1 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -package-id process-1.6.13.2 -Wall -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -outputdir utils/hsc2hs/dist-install/build   -c utils/hsc2hs/./Compat/TempFile.hs -o utils/hsc2hs/dist-install/build/Compat/TempFile.o 
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/hsc2hs/. -iutils/hsc2hs/dist-install/build -Iutils/hsc2hs/dist-install/build -iutils/hsc2hs/dist-install/build/hsc2hs/autogen -Iutils/hsc2hs/dist-install/build/hsc2hs/autogen     -optP-include -optPutils/hsc2hs/dist-install/build/hsc2hs/autogen/cabal_macros.h -package-id base-4.14.3.0 -package-id containers-0.6.5.1 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -package-id process-1.6.13.2 -Wall -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -outputdir utils/hsc2hs/dist-install/build   -c utils/hsc2hs/./Common.hs -o utils/hsc2hs/dist-install/build/Common.o 
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/hsc2hs/. -iutils/hsc2hs/dist-install/build -Iutils/hsc2hs/dist-install/build -iutils/hsc2hs/dist-install/build/hsc2hs/autogen -Iutils/hsc2hs/dist-install/build/hsc2hs/autogen     -optP-include -optPutils/hsc2hs/dist-install/build/hsc2hs/autogen/cabal_macros.h -package-id base-4.14.3.0 -package-id containers-0.6.5.1 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -package-id process-1.6.13.2 -Wall -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -outputdir utils/hsc2hs/dist-install/build   -c utils/hsc2hs/./C.hs -o utils/hsc2hs/dist-install/build/C.o 
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/hsc2hs/. -iutils/hsc2hs/dist-install/build -Iutils/hsc2hs/dist-install/build -iutils/hsc2hs/dist-install/build/hsc2hs/autogen -Iutils/hsc2hs/dist-install/build/hsc2hs/autogen     -optP-include -optPutils/hsc2hs/dist-install/build/hsc2hs/autogen/cabal_macros.h -package-id base-4.14.3.0 -package-id containers-0.6.5.1 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -package-id process-1.6.13.2 -Wall -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -outputdir utils/hsc2hs/dist-install/build   -c utils/hsc2hs/./UtilsCodegen.hs -o utils/hsc2hs/dist-install/build/UtilsCodegen.o 
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/hsc2hs/. -iutils/hsc2hs/dist-install/build -Iutils/hsc2hs/dist-install/build -iutils/hsc2hs/dist-install/build/hsc2hs/autogen -Iutils/hsc2hs/dist-install/build/hsc2hs/autogen     -optP-include -optPutils/hsc2hs/dist-install/build/hsc2hs/autogen/cabal_macros.h -package-id base-4.14.3.0 -package-id containers-0.6.5.1 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -package-id process-1.6.13.2 -Wall -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -outputdir utils/hsc2hs/dist-install/build   -c utils/hsc2hs/./DirectCodegen.hs -o utils/hsc2hs/dist-install/build/DirectCodegen.o 
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/hsc2hs/. -iutils/hsc2hs/dist-install/build -Iutils/hsc2hs/dist-install/build -iutils/hsc2hs/dist-install/build/hsc2hs/autogen -Iutils/hsc2hs/dist-install/build/hsc2hs/autogen     -optP-include -optPutils/hsc2hs/dist-install/build/hsc2hs/autogen/cabal_macros.h -package-id base-4.14.3.0 -package-id containers-0.6.5.1 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -package-id process-1.6.13.2 -Wall -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -outputdir utils/hsc2hs/dist-install/build   -c utils/hsc2hs/./ATTParser.hs -o utils/hsc2hs/dist-install/build/ATTParser.o 
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/hsc2hs/. -iutils/hsc2hs/dist-install/build -Iutils/hsc2hs/dist-install/build -iutils/hsc2hs/dist-install/build/hsc2hs/autogen -Iutils/hsc2hs/dist-install/build/hsc2hs/autogen     -optP-include -optPutils/hsc2hs/dist-install/build/hsc2hs/autogen/cabal_macros.h -package-id base-4.14.3.0 -package-id containers-0.6.5.1 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -package-id process-1.6.13.2 -Wall -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -outputdir utils/hsc2hs/dist-install/build   -c utils/hsc2hs/./CrossCodegen.hs -o utils/hsc2hs/dist-install/build/CrossCodegen.o 
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/hsc2hs/. -iutils/hsc2hs/dist-install/build -Iutils/hsc2hs/dist-install/build -iutils/hsc2hs/dist-install/build/hsc2hs/autogen -Iutils/hsc2hs/dist-install/build/hsc2hs/autogen     -optP-include -optPutils/hsc2hs/dist-install/build/hsc2hs/autogen/cabal_macros.h -package-id base-4.14.3.0 -package-id containers-0.6.5.1 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -package-id process-1.6.13.2 -Wall -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -outputdir utils/hsc2hs/dist-install/build   -c utils/hsc2hs/./Compat/ResponseFile.hs -o utils/hsc2hs/dist-install/build/Compat/ResponseFile.o 
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/hsc2hs/. -iutils/hsc2hs/dist-install/build -Iutils/hsc2hs/dist-install/build -iutils/hsc2hs/dist-install/build/hsc2hs/autogen -Iutils/hsc2hs/dist-install/build/hsc2hs/autogen     -optP-include -optPutils/hsc2hs/dist-install/build/hsc2hs/autogen/cabal_macros.h -package-id base-4.14.3.0 -package-id containers-0.6.5.1 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -package-id process-1.6.13.2 -Wall -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -outputdir utils/hsc2hs/dist-install/build   -c utils/hsc2hs/dist-install/build/hsc2hs/autogen/Paths_hsc2hs.hs -o utils/hsc2hs/dist-install/build/Paths_hsc2hs.o 
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/hsc2hs/. -iutils/hsc2hs/dist-install/build -Iutils/hsc2hs/dist-install/build -iutils/hsc2hs/dist-install/build/hsc2hs/autogen -Iutils/hsc2hs/dist-install/build/hsc2hs/autogen     -optP-include -optPutils/hsc2hs/dist-install/build/hsc2hs/autogen/cabal_macros.h -package-id base-4.14.3.0 -package-id containers-0.6.5.1 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -package-id process-1.6.13.2 -Wall -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -outputdir utils/hsc2hs/dist-install/build   -c utils/hsc2hs/./Main.hs -o utils/hsc2hs/dist-install/build/Main.o 
"inplace/bin/mkdirhier" utils/hsc2hs/dist-install/build/cbits//.
"aarch64-apple-ios-clang"   -Wall   -Iutils/hsc2hs/dist-install/build/hsc2hs/autogen      -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/process/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/process/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/process/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/process/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/process/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/process/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/process/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/process/dist-install/build/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/directory/' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/directory/dist-install/build/' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/directory/dist-install/build/' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/directory/dist-install/build/dist-install/build/' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/unix/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/unix/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/unix/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/unix/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/unix/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/unix/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/unix/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/unix/dist-install/build/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/time/lib/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/time/lib/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/time/dist-install/build/lib/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/time/dist-install/build/lib/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/time/dist-install/build/lib/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/time/dist-install/build/lib/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/time/dist-install/build/dist-install/build/lib/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/time/dist-install/build/dist-install/build/lib/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/containers/containers/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/containers/containers/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/containers/containers/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/containers/containers/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/containers/containers/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/containers/containers/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/containers/containers/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/containers/containers/dist-install/build/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/bytestring/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/bytestring/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/bytestring/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/bytestring/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/bytestring/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/bytestring/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/bytestring/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/bytestring/dist-install/build/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/base/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/base/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/base/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/base/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/base/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/base/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/base/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/base/dist-install/build/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/rts/dist/build' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/includes' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/includes/dist-derivedconstants/header' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/includes/dist-install/build'   -Wno-unknown-pragmas   -fembed-bitcode   -c utils/hsc2hs/cbits/utils.c -o utils/hsc2hs/dist-install/build/cbits/utils.o
"inplace/bin/mkdirhier" utils/hsc2hs/dist-install/build/tmp//.
"inplace/bin/ghc-stage1" -o utils/hsc2hs/dist-install/build/tmp/hsc2hs -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/hsc2hs/. -iutils/hsc2hs/dist-install/build -Iutils/hsc2hs/dist-install/build -iutils/hsc2hs/dist-install/build/hsc2hs/autogen -Iutils/hsc2hs/dist-install/build/hsc2hs/autogen     -optP-include -optPutils/hsc2hs/dist-install/build/hsc2hs/autogen/cabal_macros.h -package-id base-4.14.3.0 -package-id containers-0.6.5.1 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -package-id process-1.6.13.2 -Wall -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -outputdir utils/hsc2hs/dist-install/build    -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/hsc2hs/. -iutils/hsc2hs/dist-install/build -Iutils/hsc2hs/dist-install/build -iutils/hsc2hs/dist-install/build/hsc2hs/autogen -Iutils/hsc2hs/dist-install/build/hsc2hs/autogen     -optP-include -optPutils/hsc2hs/dist-install/build/hsc2hs/autogen/cabal_macros.h -package-id base-4.14.3.0 -package-id containers-0.6.5.1 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -package-id process-1.6.13.2 -Wall -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  utils/hsc2hs/dist-install/build/Main.o utils/hsc2hs/dist-install/build/C.o utils/hsc2hs/dist-install/build/Common.o utils/hsc2hs/dist-install/build/CrossCodegen.o utils/hsc2hs/dist-install/build/DirectCodegen.o utils/hsc2hs/dist-install/build/Flags.o utils/hsc2hs/dist-install/build/HSCParser.o utils/hsc2hs/dist-install/build/ATTParser.o utils/hsc2hs/dist-install/build/UtilsCodegen.o utils/hsc2hs/dist-install/build/Compat/ResponseFile.o utils/hsc2hs/dist-install/build/Compat/TempFile.o utils/hsc2hs/dist-install/build/Paths_hsc2hs.o utils/hsc2hs/dist-install/build/cbits/utils.o   
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/ghc-cabal/. -iutils/ghc-cabal/dist-install/build -Iutils/ghc-cabal/dist-install/build -iutils/ghc-cabal/dist-install/build/ghc-cabal/autogen -Iutils/ghc-cabal/dist-install/build/ghc-cabal/autogen     -optP-include -optPutils/ghc-cabal/dist-install/build/ghc-cabal/autogen/cabal_macros.h -package-id Cabal-3.2.1.0 -package-id base-4.14.3.0 -package-id bytestring-0.10.12.0 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -outputdir utils/ghc-cabal/dist-install/build   -c utils/ghc-cabal/./Main.hs -o utils/ghc-cabal/dist-install/build/Main.o 
"inplace/bin/mkdirhier" utils/ghc-cabal/dist-install/build/tmp//.
"inplace/bin/ghc-stage1" -o utils/ghc-cabal/dist-install/build/tmp/ghc-cabal -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/ghc-cabal/. -iutils/ghc-cabal/dist-install/build -Iutils/ghc-cabal/dist-install/build -iutils/ghc-cabal/dist-install/build/ghc-cabal/autogen -Iutils/ghc-cabal/dist-install/build/ghc-cabal/autogen     -optP-include -optPutils/ghc-cabal/dist-install/build/ghc-cabal/autogen/cabal_macros.h -package-id Cabal-3.2.1.0 -package-id base-4.14.3.0 -package-id bytestring-0.10.12.0 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -outputdir utils/ghc-cabal/dist-install/build    -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/ghc-cabal/. -iutils/ghc-cabal/dist-install/build -Iutils/ghc-cabal/dist-install/build -iutils/ghc-cabal/dist-install/build/ghc-cabal/autogen -Iutils/ghc-cabal/dist-install/build/ghc-cabal/autogen     -optP-include -optPutils/ghc-cabal/dist-install/build/ghc-cabal/autogen/cabal_macros.h -package-id Cabal-3.2.1.0 -package-id base-4.14.3.0 -package-id bytestring-0.10.12.0 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  utils/ghc-cabal/dist-install/build/Main.o    
"rm" -f                                                   utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist  
echo '#!/bin/sh'                                                   >> utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist
echo 'exec "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal" ${1+"$@"}'                                  >> utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist
chmod +x                                                   utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/hpc/. -iutils/hpc/dist-install/build -Iutils/hpc/dist-install/build -iutils/hpc/dist-install/build/hpc/autogen -Iutils/hpc/dist-install/build/hpc/autogen     -optP-include -optPutils/hpc/dist-install/build/hpc/autogen/cabal_macros.h -package-id array-0.5.4.0 -package-id base-4.14.3.0 -package-id containers-0.6.5.1 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -package-id hpc-0.6.1.0 -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -outputdir utils/hpc/dist-install/build   -c utils/hpc/dist-install/build/hpc/autogen/Paths_hpc_bin.hs -o utils/hpc/dist-install/build/Paths_hpc_bin.o 
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/hpc/. -iutils/hpc/dist-install/build -Iutils/hpc/dist-install/build -iutils/hpc/dist-install/build/hpc/autogen -Iutils/hpc/dist-install/build/hpc/autogen     -optP-include -optPutils/hpc/dist-install/build/hpc/autogen/cabal_macros.h -package-id array-0.5.4.0 -package-id base-4.14.3.0 -package-id containers-0.6.5.1 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -package-id hpc-0.6.1.0 -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -outputdir utils/hpc/dist-install/build   -c utils/hpc/./HpcUtils.hs -o utils/hpc/dist-install/build/HpcUtils.o 
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/hpc/. -iutils/hpc/dist-install/build -Iutils/hpc/dist-install/build -iutils/hpc/dist-install/build/hpc/autogen -Iutils/hpc/dist-install/build/hpc/autogen     -optP-include -optPutils/hpc/dist-install/build/hpc/autogen/cabal_macros.h -package-id array-0.5.4.0 -package-id base-4.14.3.0 -package-id containers-0.6.5.1 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -package-id hpc-0.6.1.0 -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -outputdir utils/hpc/dist-install/build   -c utils/hpc/./HpcLexer.hs -o utils/hpc/dist-install/build/HpcLexer.o 
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/hpc/. -iutils/hpc/dist-install/build -Iutils/hpc/dist-install/build -iutils/hpc/dist-install/build/hpc/autogen -Iutils/hpc/dist-install/build/hpc/autogen     -optP-include -optPutils/hpc/dist-install/build/hpc/autogen/cabal_macros.h -package-id array-0.5.4.0 -package-id base-4.14.3.0 -package-id containers-0.6.5.1 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -package-id hpc-0.6.1.0 -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -outputdir utils/hpc/dist-install/build   -c utils/hpc/./HpcParser.hs -o utils/hpc/dist-install/build/HpcParser.o 
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/hpc/. -iutils/hpc/dist-install/build -Iutils/hpc/dist-install/build -iutils/hpc/dist-install/build/hpc/autogen -Iutils/hpc/dist-install/build/hpc/autogen     -optP-include -optPutils/hpc/dist-install/build/hpc/autogen/cabal_macros.h -package-id array-0.5.4.0 -package-id base-4.14.3.0 -package-id containers-0.6.5.1 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -package-id hpc-0.6.1.0 -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -outputdir utils/hpc/dist-install/build   -c utils/hpc/./HpcFlags.hs -o utils/hpc/dist-install/build/HpcFlags.o 
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/hpc/. -iutils/hpc/dist-install/build -Iutils/hpc/dist-install/build -iutils/hpc/dist-install/build/hpc/autogen -Iutils/hpc/dist-install/build/hpc/autogen     -optP-include -optPutils/hpc/dist-install/build/hpc/autogen/cabal_macros.h -package-id array-0.5.4.0 -package-id base-4.14.3.0 -package-id containers-0.6.5.1 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -package-id hpc-0.6.1.0 -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -outputdir utils/hpc/dist-install/build   -c utils/hpc/./HpcOverlay.hs -o utils/hpc/dist-install/build/HpcOverlay.o 
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/hpc/. -iutils/hpc/dist-install/build -Iutils/hpc/dist-install/build -iutils/hpc/dist-install/build/hpc/autogen -Iutils/hpc/dist-install/build/hpc/autogen     -optP-include -optPutils/hpc/dist-install/build/hpc/autogen/cabal_macros.h -package-id array-0.5.4.0 -package-id base-4.14.3.0 -package-id containers-0.6.5.1 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -package-id hpc-0.6.1.0 -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -outputdir utils/hpc/dist-install/build   -c utils/hpc/./HpcDraft.hs -o utils/hpc/dist-install/build/HpcDraft.o 
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/hpc/. -iutils/hpc/dist-install/build -Iutils/hpc/dist-install/build -iutils/hpc/dist-install/build/hpc/autogen -Iutils/hpc/dist-install/build/hpc/autogen     -optP-include -optPutils/hpc/dist-install/build/hpc/autogen/cabal_macros.h -package-id array-0.5.4.0 -package-id base-4.14.3.0 -package-id containers-0.6.5.1 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -package-id hpc-0.6.1.0 -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -outputdir utils/hpc/dist-install/build   -c utils/hpc/./HpcShowTix.hs -o utils/hpc/dist-install/build/HpcShowTix.o 
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/hpc/. -iutils/hpc/dist-install/build -Iutils/hpc/dist-install/build -iutils/hpc/dist-install/build/hpc/autogen -Iutils/hpc/dist-install/build/hpc/autogen     -optP-include -optPutils/hpc/dist-install/build/hpc/autogen/cabal_macros.h -package-id array-0.5.4.0 -package-id base-4.14.3.0 -package-id containers-0.6.5.1 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -package-id hpc-0.6.1.0 -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -outputdir utils/hpc/dist-install/build   -c utils/hpc/./HpcCombine.hs -o utils/hpc/dist-install/build/HpcCombine.o 
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/hpc/. -iutils/hpc/dist-install/build -Iutils/hpc/dist-install/build -iutils/hpc/dist-install/build/hpc/autogen -Iutils/hpc/dist-install/build/hpc/autogen     -optP-include -optPutils/hpc/dist-install/build/hpc/autogen/cabal_macros.h -package-id array-0.5.4.0 -package-id base-4.14.3.0 -package-id containers-0.6.5.1 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -package-id hpc-0.6.1.0 -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -outputdir utils/hpc/dist-install/build   -c utils/hpc/./HpcMarkup.hs -o utils/hpc/dist-install/build/HpcMarkup.o 
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/hpc/. -iutils/hpc/dist-install/build -Iutils/hpc/dist-install/build -iutils/hpc/dist-install/build/hpc/autogen -Iutils/hpc/dist-install/build/hpc/autogen     -optP-include -optPutils/hpc/dist-install/build/hpc/autogen/cabal_macros.h -package-id array-0.5.4.0 -package-id base-4.14.3.0 -package-id containers-0.6.5.1 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -package-id hpc-0.6.1.0 -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -outputdir utils/hpc/dist-install/build   -c utils/hpc/./HpcReport.hs -o utils/hpc/dist-install/build/HpcReport.o 
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/hpc/. -iutils/hpc/dist-install/build -Iutils/hpc/dist-install/build -iutils/hpc/dist-install/build/hpc/autogen -Iutils/hpc/dist-install/build/hpc/autogen     -optP-include -optPutils/hpc/dist-install/build/hpc/autogen/cabal_macros.h -package-id array-0.5.4.0 -package-id base-4.14.3.0 -package-id containers-0.6.5.1 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -package-id hpc-0.6.1.0 -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -outputdir utils/hpc/dist-install/build   -c utils/hpc/./Main.hs -o utils/hpc/dist-install/build/Main.o 
"inplace/bin/mkdirhier" utils/hpc/dist-install/build/tmp//.
"inplace/bin/ghc-stage1" -o utils/hpc/dist-install/build/tmp/hpc -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/hpc/. -iutils/hpc/dist-install/build -Iutils/hpc/dist-install/build -iutils/hpc/dist-install/build/hpc/autogen -Iutils/hpc/dist-install/build/hpc/autogen     -optP-include -optPutils/hpc/dist-install/build/hpc/autogen/cabal_macros.h -package-id array-0.5.4.0 -package-id base-4.14.3.0 -package-id containers-0.6.5.1 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -package-id hpc-0.6.1.0 -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -outputdir utils/hpc/dist-install/build    -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/hpc/. -iutils/hpc/dist-install/build -Iutils/hpc/dist-install/build -iutils/hpc/dist-install/build/hpc/autogen -Iutils/hpc/dist-install/build/hpc/autogen     -optP-include -optPutils/hpc/dist-install/build/hpc/autogen/cabal_macros.h -package-id array-0.5.4.0 -package-id base-4.14.3.0 -package-id containers-0.6.5.1 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -package-id hpc-0.6.1.0 -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  utils/hpc/dist-install/build/Main.o utils/hpc/dist-install/build/HpcParser.o utils/hpc/dist-install/build/HpcCombine.o utils/hpc/dist-install/build/HpcDraft.o utils/hpc/dist-install/build/HpcFlags.o utils/hpc/dist-install/build/HpcLexer.o utils/hpc/dist-install/build/HpcMarkup.o utils/hpc/dist-install/build/HpcOverlay.o utils/hpc/dist-install/build/HpcReport.o utils/hpc/dist-install/build/HpcShowTix.o utils/hpc/dist-install/build/HpcUtils.o utils/hpc/dist-install/build/Paths_hpc_bin.o    
/usr/bin/install -c -m 755 utils/hpc/dist-install/build/tmp/hpc inplace/lib/bin/hpc
"rm" -f                                                     inplace/bin/hpc  
echo '#!/bin/sh'                                                     >> inplace/bin/hpc
echo 'executablename="/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/inplace/lib/bin/hpc"'                                  >> inplace/bin/hpc
echo 'datadir="/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/inplace/lib"'                             >> inplace/bin/hpc
echo 'bindir="/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/inplace/bin"'                              >> inplace/bin/hpc
echo 'topdir="/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/inplace/lib"'                           >> inplace/bin/hpc
echo 'pgmgcc="aarch64-apple-ios-clang"'                                               >> inplace/bin/hpc
cat utils/hpc/hpc.wrapper                                     >> inplace/bin/hpc
chmod +x                                                     inplace/bin/hpc
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/compare_sizes/. -iutils/compare_sizes/dist-install/build -Iutils/compare_sizes/dist-install/build -iutils/compare_sizes/dist-install/build/compareSizes/autogen -Iutils/compare_sizes/dist-install/build/compareSizes/autogen     -optP-include -optPutils/compare_sizes/dist-install/build/compareSizes/autogen/cabal_macros.h -package-id base-4.14.3.0 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -outputdir utils/compare_sizes/dist-install/build   -c utils/compare_sizes/./Main.hs -o utils/compare_sizes/dist-install/build/Main.o 
"inplace/bin/mkdirhier" utils/compare_sizes/dist-install/build/tmp//.
"inplace/bin/ghc-stage1" -o utils/compare_sizes/dist-install/build/tmp/compareSizes -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/compare_sizes/. -iutils/compare_sizes/dist-install/build -Iutils/compare_sizes/dist-install/build -iutils/compare_sizes/dist-install/build/compareSizes/autogen -Iutils/compare_sizes/dist-install/build/compareSizes/autogen     -optP-include -optPutils/compare_sizes/dist-install/build/compareSizes/autogen/cabal_macros.h -package-id base-4.14.3.0 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -outputdir utils/compare_sizes/dist-install/build    -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/compare_sizes/. -iutils/compare_sizes/dist-install/build -Iutils/compare_sizes/dist-install/build -iutils/compare_sizes/dist-install/build/compareSizes/autogen -Iutils/compare_sizes/dist-install/build/compareSizes/autogen     -optP-include -optPutils/compare_sizes/dist-install/build/compareSizes/autogen/cabal_macros.h -package-id base-4.14.3.0 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  utils/compare_sizes/dist-install/build/Main.o    
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/iserv/src -iutils/iserv/stage2/build -Iutils/iserv/stage2/build -iutils/iserv/stage2/build/iserv/autogen -Iutils/iserv/stage2/build/iserv/autogen -Iutils/iserv/. -Iutils/iserv/stage2/build/.    -optP-include -optPutils/iserv/stage2/build/iserv/autogen/cabal_macros.h -package-id array-0.5.4.0 -package-id base-4.14.3.0 -package-id binary-0.8.8.0 -package-id bytestring-0.10.12.0 -package-id containers-0.6.5.1 -package-id deepseq-1.4.4.0 -package-id ghci-8.10.7 -package-id libiserv-8.10.7 -package-id unix-2.7.2.2 -no-hs-main -XHaskell2010  -threaded -no-hs-main -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -outputdir utils/iserv/stage2/build   -c utils/iserv/src/Main.hs -o utils/iserv/stage2/build/Main.o 
"inplace/bin/mkdirhier" utils/iserv/stage2/build/cbits//.
"aarch64-apple-ios-clang"   -Wall   -Iutils/iserv/stage2/build/iserv/autogen -Iutils/iserv/. -Iutils/iserv/stage2/build/.     -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/directory/' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/directory/dist-install/build/' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/directory/dist-install/build/' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/directory/dist-install/build/dist-install/build/' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/unix/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/unix/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/unix/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/unix/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/unix/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/unix/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/unix/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/unix/dist-install/build/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/time/lib/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/time/lib/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/time/dist-install/build/lib/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/time/dist-install/build/lib/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/time/dist-install/build/lib/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/time/dist-install/build/lib/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/time/dist-install/build/dist-install/build/lib/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/time/dist-install/build/dist-install/build/lib/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/containers/containers/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/containers/containers/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/containers/containers/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/containers/containers/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/containers/containers/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/containers/containers/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/containers/containers/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/containers/containers/dist-install/build/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/bytestring/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/bytestring/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/bytestring/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/bytestring/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/bytestring/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/bytestring/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/bytestring/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/bytestring/dist-install/build/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/base/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/base/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/base/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/base/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/base/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/base/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/base/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/base/dist-install/build/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/rts/dist/build' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/includes' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/includes/dist-derivedconstants/header' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/includes/dist-install/build'   -Wno-unknown-pragmas   -fembed-bitcode   -c utils/iserv/cbits/iservmain.c -o utils/iserv/stage2/build/cbits/iservmain.o
"inplace/bin/mkdirhier" utils/iserv/stage2/build/tmp//.
"inplace/bin/ghc-stage1" -o utils/iserv/stage2/build/tmp/ghc-iserv -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/iserv/src -iutils/iserv/stage2/build -Iutils/iserv/stage2/build -iutils/iserv/stage2/build/iserv/autogen -Iutils/iserv/stage2/build/iserv/autogen -Iutils/iserv/. -Iutils/iserv/stage2/build/.    -optP-include -optPutils/iserv/stage2/build/iserv/autogen/cabal_macros.h -package-id array-0.5.4.0 -package-id base-4.14.3.0 -package-id binary-0.8.8.0 -package-id bytestring-0.10.12.0 -package-id containers-0.6.5.1 -package-id deepseq-1.4.4.0 -package-id ghci-8.10.7 -package-id libiserv-8.10.7 -package-id unix-2.7.2.2 -no-hs-main -XHaskell2010  -threaded -no-hs-main -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -outputdir utils/iserv/stage2/build    -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/iserv/src -iutils/iserv/stage2/build -Iutils/iserv/stage2/build -iutils/iserv/stage2/build/iserv/autogen -Iutils/iserv/stage2/build/iserv/autogen -Iutils/iserv/. -Iutils/iserv/stage2/build/.    -optP-include -optPutils/iserv/stage2/build/iserv/autogen/cabal_macros.h -package-id array-0.5.4.0 -package-id base-4.14.3.0 -package-id binary-0.8.8.0 -package-id bytestring-0.10.12.0 -package-id containers-0.6.5.1 -package-id deepseq-1.4.4.0 -package-id ghci-8.10.7 -package-id libiserv-8.10.7 -package-id unix-2.7.2.2 -no-hs-main -XHaskell2010  -threaded -no-hs-main -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  utils/iserv/stage2/build/Main.o utils/iserv/stage2/build/cbits/iservmain.o   
Warning: -rtsopts and -with-rtsopts have no effect with -no-hs-main.
    Call hs_init_ghc() from your main() function to set these options.
/usr/bin/install -c -m 755 utils/iserv/stage2/build/tmp/ghc-iserv inplace/lib/bin/ghc-iserv
webmonarch commented 3 years ago

Hmm @epoberezkin, I don't see an error in that snip.

I have simplified the command more, see https://github.com/webmonarch/ghc-for-ios#quick-start

Also, I setup a Github Action to build everything, see https://github.com/webmonarch/ghc-for-ios/blob/main/.github/workflows/build-ghc.yml So, it seems to be working locally and on Github.

You can download the built GHC and library artifacts from the Github build: https://github.com/webmonarch/ghc-for-ios/actions/runs/1387210647

Usage is something like:

cd <DOWNLOAD> /dist/x86_64-apple-ios/lib/x86_64-apple-ios-ghc-8.10.7
./bin/ghc -B. <ARGS>
epoberezkin commented 3 years ago

Ok, so I've just started it all from scratch :) Now it ends with:

clang: error: unsupported option '-print-multi-os-directory'
clang: error: no input files
checking for ld used by x86_64-apple-ios-clang... (cached) x86_64-apple-ios-ld
checking if the linker (x86_64-apple-ios-ld) is GNU ld... (cached) no
configure: versioning on shared library symbols is no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating include/Makefile
config.status: creating include/ffi.h
config.status: creating Makefile
config.status: creating testsuite/Makefile
config.status: creating man/Makefile
config.status: creating doc/Makefile
config.status: creating libffi.pc
config.status: creating fficonfig.h
config.status: executing buildir commands
config.status: create top_srcdir/Makefile guessed from local Makefile
config.status: build in x86_64-apple-ios (HOST=)
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing include commands
config.status: executing src commands
# wc on OS X has spaces in its output, which libffi's Makefile
# doesn't expect, so we tweak it to sed them out
mv libffi/build/Makefile libffi/build/Makefile.orig
sed "s#wc -w#wc -w | sed 's/ //g'#" < libffi/build/Makefile.orig > libffi/build/Makefile
"touch" libffi/stamp.ffi.static.configure
make: *** [all] Error 2

and when I run without concurrency, as suggested in debugging:

echo compiler/stage2/build/HieTypes.o compiler/stage2/build/HieDebug.o compiler/stage2/build/HieBin.o compiler/stage2/build/HieUtils.o compiler/stage2/build/HieAst.o compiler/stage2/build/Ar.o compiler/stage2/build/FileCleanup.o compiler/stage2/build/DriverBkp.o compiler/stage2/build/BkpSyn.o compiler/stage2/build/NameShape.o compiler/stage2/build/RnModIface.o compiler/stage2/build/Avail.o compiler/stage2/build/AsmUtils.o compiler/stage2/build/BasicTypes.o compiler/stage2/build/ConLike.o compiler/stage2/build/DataCon.o compiler/stage2/build/PatSyn.o compiler/stage2/build/Demand.o compiler/stage2/build/Debug.o compiler/stage2/build/Exception.o compiler/stage2/build/FieldLabel.o compiler/stage2/build/GhcMonad.o compiler/stage2/build/Hooks.o compiler/stage2/build/Id.o compiler/stage2/build/IdInfo.o compiler/stage2/build/Predicate.o compiler/stage2/build/Lexeme.o compiler/stage2/build/Literal.o compiler/stage2/build/Llvm.o compiler/stage2/build/Llvm/AbsSyn.o compiler/stage2/build/Llvm/MetaData.o compiler/stage2/build/Llvm/PpLlvm.o compiler/stage2/build/Llvm/Types.o compiler/stage2/build/LlvmCodeGen.o compiler/stage2/build/LlvmCodeGen/Base.o compiler/stage2/build/LlvmCodeGen/CodeGen.o compiler/stage2/build/LlvmCodeGen/Data.o compiler/stage2/build/LlvmCodeGen/Ppr.o compiler/stage2/build/LlvmCodeGen/Regs.o compiler/stage2/build/LlvmMangler.o compiler/stage2/build/MkId.o compiler/stage2/build/Module.o compiler/stage2/build/Name.o compiler/stage2/build/NameEnv.o compiler/stage2/build/NameSet.o compiler/stage2/build/OccName.o compiler/stage2/build/RdrName.o compiler/stage2/build/NameCache.o compiler/stage2/build/SrcLoc.o compiler/stage2/build/UniqSupply.o compiler/stage2/build/Unique.o compiler/stage2/build/Var.o compiler/stage2/build/VarEnv.o compiler/stage2/build/VarSet.o compiler/stage2/build/UnVarGraph.o compiler/stage2/build/BlockId.o compiler/stage2/build/CLabel.o compiler/stage2/build/Cmm.o compiler/stage2/build/CmmBuildInfoTables.o compiler/stage2/build/CmmPipeline.o compiler/stage2/build/CmmCallConv.o compiler/stage2/build/CmmCommonBlockElim.o compiler/stage2/build/CmmImplementSwitchPlans.o compiler/stage2/build/CmmContFlowOpt.o compiler/stage2/build/CmmExpr.o compiler/stage2/build/CmmInfo.o compiler/stage2/build/CmmLex.o compiler/stage2/build/CmmLint.o compiler/stage2/build/CmmLive.o compiler/stage2/build/CmmMachOp.o compiler/stage2/build/CmmMonad.o compiler/stage2/build/CmmSwitch.o compiler/stage2/build/CmmNode.o compiler/stage2/build/CmmOpt.o compiler/stage2/build/CmmParse.o compiler/stage2/build/CmmProcPoint.o compiler/stage2/build/CmmSink.o compiler/stage2/build/CmmType.o compiler/stage2/build/CmmUtils.o compiler/stage2/build/CmmLayoutStack.o compiler/stage2/build/CliOption.o compiler/stage2/build/EnumSet.o compiler/stage2/build/GhcNameVersion.o compiler/stage2/build/FileSettings.o compiler/stage2/build/MkGraph.o compiler/stage2/build/PprBase.o compiler/stage2/build/PprC.o compiler/stage2/build/PprCmm.o compiler/stage2/build/PprCmmDecl.o compiler/stage2/build/PprCmmExpr.o compiler/stage2/build/Bitmap.o compiler/stage2/build/GHC/Platform/Regs.o compiler/stage2/build/GHC/Platform/ARM.o compiler/stage2/build/GHC/Platform/AArch64.o compiler/stage2/build/GHC/Platform/NoRegs.o compiler/stage2/build/GHC/Platform/PPC.o compiler/stage2/build/GHC/Platform/S390X.o compiler/stage2/build/GHC/Platform/SPARC.o compiler/stage2/build/GHC/Platform/X86.o compiler/stage2/build/GHC/Platform/X86_64.o compiler/stage2/build/GHC/StgToCmm/CgUtils.o compiler/stage2/build/GHC/StgToCmm.o compiler/stage2/build/GHC/StgToCmm/Bind.o compiler/stage2/build/GHC/StgToCmm/Closure.o compiler/stage2/build/GHC/StgToCmm/DataCon.o compiler/stage2/build/GHC/StgToCmm/Env.o compiler/stage2/build/GHC/StgToCmm/Expr.o compiler/stage2/build/GHC/StgToCmm/Foreign.o compiler/stage2/build/GHC/StgToCmm/Heap.o compiler/stage2/build/GHC/StgToCmm/Hpc.o compiler/stage2/build/GHC/StgToCmm/ArgRep.o compiler/stage2/build/GHC/StgToCmm/Layout.o compiler/stage2/build/GHC/StgToCmm/Monad.o compiler/stage2/build/GHC/StgToCmm/Prim.o compiler/stage2/build/GHC/StgToCmm/Prof.o compiler/stage2/build/GHC/StgToCmm/Ticky.o compiler/stage2/build/GHC/StgToCmm/Utils.o compiler/stage2/build/GHC/StgToCmm/ExtCode.o compiler/stage2/build/SMRep.o compiler/stage2/build/CoreArity.o compiler/stage2/build/CoreFVs.o compiler/stage2/build/CoreLint.o compiler/stage2/build/CorePrep.o compiler/stage2/build/CoreSubst.o compiler/stage2/build/CoreOpt.o compiler/stage2/build/CoreSyn.o compiler/stage2/build/TrieMap.o compiler/stage2/build/CoreTidy.o compiler/stage2/build/CoreUnfold.o compiler/stage2/build/CoreUtils.o compiler/stage2/build/CoreMap.o compiler/stage2/build/CoreSeq.o compiler/stage2/build/CoreStats.o compiler/stage2/build/MkCore.o compiler/stage2/build/PprCore.o compiler/stage2/build/GHC/HsToCore/PmCheck/Oracle.o compiler/stage2/build/GHC/HsToCore/PmCheck/Ppr.o compiler/stage2/build/GHC/HsToCore/PmCheck/Types.o compiler/stage2/build/GHC/HsToCore/PmCheck.o compiler/stage2/build/Coverage.o compiler/stage2/build/Desugar.o compiler/stage2/build/DsArrows.o compiler/stage2/build/DsBinds.o compiler/stage2/build/DsCCall.o compiler/stage2/build/DsExpr.o compiler/stage2/build/DsForeign.o compiler/stage2/build/DsGRHSs.o compiler/stage2/build/DsListComp.o compiler/stage2/build/DsMonad.o compiler/stage2/build/DsUsage.o compiler/stage2/build/DsUtils.o compiler/stage2/build/ExtractDocs.o compiler/stage2/build/Match.o compiler/stage2/build/MatchCon.o compiler/stage2/build/MatchLit.o compiler/stage2/build/GHC/Hs.o compiler/stage2/build/GHC/Hs/Binds.o compiler/stage2/build/GHC/Hs/Decls.o compiler/stage2/build/GHC/Hs/Doc.o compiler/stage2/build/GHC/Hs/Expr.o compiler/stage2/build/GHC/Hs/ImpExp.o compiler/stage2/build/GHC/Hs/Lit.o compiler/stage2/build/GHC/Hs/PlaceHolder.o compiler/stage2/build/GHC/Hs/Extension.o compiler/stage2/build/GHC/Hs/Instances.o compiler/stage2/build/GHC/Hs/Pat.o compiler/stage2/build/GHC/Hs/Types.o compiler/stage2/build/GHC/Hs/Utils.o compiler/stage2/build/GHC/Hs/Dump.o compiler/stage2/build/BinIface.o compiler/stage2/build/BinFingerprint.o compiler/stage2/build/BuildTyCl.o compiler/stage2/build/IfaceEnv.o compiler/stage2/build/IfaceSyn.o compiler/stage2/build/IfaceType.o compiler/stage2/build/ToIface.o compiler/stage2/build/LoadIface.o compiler/stage2/build/MkIface.o compiler/stage2/build/TcIface.o compiler/stage2/build/FlagChecker.o compiler/stage2/build/Annotations.o compiler/stage2/build/CmdLineParser.o compiler/stage2/build/CodeOutput.o compiler/stage2/build/Config.o compiler/stage2/build/Constants.o compiler/stage2/build/DriverMkDepend.o compiler/stage2/build/DriverPhases.o compiler/stage2/build/PipelineMonad.o compiler/stage2/build/DriverPipeline.o compiler/stage2/build/DynFlags.o compiler/stage2/build/ErrUtils.o compiler/stage2/build/Finder.o compiler/stage2/build/GHC.o compiler/stage2/build/GhcMake.o compiler/stage2/build/GhcPlugins.o compiler/stage2/build/GhcPrelude.o compiler/stage2/build/DynamicLoading.o compiler/stage2/build/HeaderInfo.o compiler/stage2/build/HscMain.o compiler/stage2/build/HscStats.o compiler/stage2/build/HscTypes.o compiler/stage2/build/InteractiveEval.o compiler/stage2/build/InteractiveEvalTypes.o compiler/stage2/build/PackageConfig.o compiler/stage2/build/Packages.o compiler/stage2/build/PlatformConstants.o compiler/stage2/build/Plugins.o compiler/stage2/build/TcPluginM.o compiler/stage2/build/PprTyThing.o compiler/stage2/build/Settings.o compiler/stage2/build/StaticPtrTable.o compiler/stage2/build/SysTools.o compiler/stage2/build/SysTools/BaseDir.o compiler/stage2/build/SysTools/Terminal.o compiler/stage2/build/SysTools/ExtraObj.o compiler/stage2/build/SysTools/Info.o compiler/stage2/build/SysTools/Process.o compiler/stage2/build/SysTools/Tasks.o compiler/stage2/build/SysTools/Settings.o compiler/stage2/build/Elf.o compiler/stage2/build/TidyPgm.o compiler/stage2/build/Ctype.o compiler/stage2/build/HaddockUtils.o compiler/stage2/build/Lexer.o compiler/stage2/build/OptCoercion.o compiler/stage2/build/Parser.o compiler/stage2/build/RdrHsSyn.o compiler/stage2/build/ApiAnnotation.o compiler/stage2/build/ForeignCall.o compiler/stage2/build/KnownUniques.o compiler/stage2/build/PrelInfo.o compiler/stage2/build/PrelNames.o compiler/stage2/build/PrelRules.o compiler/stage2/build/PrimOp.o compiler/stage2/build/ToolSettings.o compiler/stage2/build/TysPrim.o compiler/stage2/build/TysWiredIn.o compiler/stage2/build/CostCentre.o compiler/stage2/build/CostCentreState.o compiler/stage2/build/ProfInit.o compiler/stage2/build/RnBinds.o compiler/stage2/build/RnEnv.o compiler/stage2/build/RnExpr.o compiler/stage2/build/RnHsDoc.o compiler/stage2/build/RnNames.o compiler/stage2/build/RnPat.o compiler/stage2/build/RnSource.o compiler/stage2/build/RnSplice.o compiler/stage2/build/RnTypes.o compiler/stage2/build/RnFixity.o compiler/stage2/build/RnUtils.o compiler/stage2/build/RnUnbound.o compiler/stage2/build/CoreMonad.o compiler/stage2/build/CSE.o compiler/stage2/build/FloatIn.o compiler/stage2/build/FloatOut.o compiler/stage2/build/LiberateCase.o compiler/stage2/build/OccurAnal.o compiler/stage2/build/SAT.o compiler/stage2/build/SetLevels.o compiler/stage2/build/SimplCore.o compiler/stage2/build/SimplEnv.o compiler/stage2/build/SimplMonad.o compiler/stage2/build/SimplUtils.o compiler/stage2/build/Simplify.o compiler/stage2/build/SimplStg.o compiler/stage2/build/StgStats.o compiler/stage2/build/StgCse.o compiler/stage2/build/StgLiftLams.o compiler/stage2/build/StgLiftLams/Analysis.o compiler/stage2/build/StgLiftLams/LiftM.o compiler/stage2/build/StgLiftLams/Transformation.o compiler/stage2/build/StgSubst.o compiler/stage2/build/UnariseStg.o compiler/stage2/build/RepType.o compiler/stage2/build/Rules.o compiler/stage2/build/SpecConstr.o compiler/stage2/build/Specialise.o compiler/stage2/build/CoreToStg.o compiler/stage2/build/StgLint.o compiler/stage2/build/StgSyn.o compiler/stage2/build/StgFVs.o compiler/stage2/build/CallArity.o compiler/stage2/build/DmdAnal.o compiler/stage2/build/Exitify.o compiler/stage2/build/WorkWrap.o compiler/stage2/build/WwLib.o compiler/stage2/build/FamInst.o compiler/stage2/build/ClsInst.o compiler/stage2/build/Inst.o compiler/stage2/build/TcAnnotations.o compiler/stage2/build/TcArrows.o compiler/stage2/build/TcBinds.o compiler/stage2/build/TcSigs.o compiler/stage2/build/TcClassDcl.o compiler/stage2/build/TcDefaults.o compiler/stage2/build/TcDeriv.o compiler/stage2/build/TcDerivInfer.o compiler/stage2/build/TcDerivUtils.o compiler/stage2/build/TcEnv.o compiler/stage2/build/TcExpr.o compiler/stage2/build/TcForeign.o compiler/stage2/build/TcGenDeriv.o compiler/stage2/build/TcGenFunctor.o compiler/stage2/build/TcGenGenerics.o compiler/stage2/build/TcHsSyn.o compiler/stage2/build/TcHsType.o compiler/stage2/build/TcInstDcls.o compiler/stage2/build/TcMType.o compiler/stage2/build/TcValidity.o compiler/stage2/build/TcMatches.o compiler/stage2/build/TcPat.o compiler/stage2/build/TcPatSyn.o compiler/stage2/build/TcRnDriver.o compiler/stage2/build/TcBackpack.o compiler/stage2/build/TcRnExports.o compiler/stage2/build/TcRnMonad.o compiler/stage2/build/TcRnTypes.o compiler/stage2/build/Constraint.o compiler/stage2/build/TcOrigin.o compiler/stage2/build/TcRules.o compiler/stage2/build/TcSimplify.o compiler/stage2/build/TcHoleErrors.o compiler/stage2/build/TcHoleFitTypes.o compiler/stage2/build/TcErrors.o compiler/stage2/build/TcTyClsDecls.o compiler/stage2/build/TcTyDecls.o compiler/stage2/build/TcTypeable.o compiler/stage2/build/TcType.o compiler/stage2/build/TcEvidence.o compiler/stage2/build/TcEvTerm.o compiler/stage2/build/TcUnify.o compiler/stage2/build/TcInteract.o compiler/stage2/build/TcCanonical.o compiler/stage2/build/TcFlatten.o compiler/stage2/build/TcSMonad.o compiler/stage2/build/TcTypeNats.o compiler/stage2/build/TcSplice.o compiler/stage2/build/Class.o compiler/stage2/build/Coercion.o compiler/stage2/build/DsMeta.o compiler/stage2/build/THNames.o compiler/stage2/build/FamInstEnv.o compiler/stage2/build/FunDeps.o compiler/stage2/build/InstEnv.o compiler/stage2/build/TyCon.o compiler/stage2/build/CoAxiom.o compiler/stage2/build/Type.o compiler/stage2/build/TyCoRep.o compiler/stage2/build/TyCoFVs.o compiler/stage2/build/TyCoSubst.o compiler/stage2/build/TyCoPpr.o compiler/stage2/build/TyCoTidy.o compiler/stage2/build/Unify.o compiler/stage2/build/Bag.o compiler/stage2/build/Binary.o compiler/stage2/build/BooleanFormula.o compiler/stage2/build/BufWrite.o compiler/stage2/build/Digraph.o compiler/stage2/build/Encoding.o compiler/stage2/build/FastFunctions.o compiler/stage2/build/FastMutInt.o compiler/stage2/build/FastString.o compiler/stage2/build/FastStringEnv.o compiler/stage2/build/Fingerprint.o compiler/stage2/build/FiniteMap.o compiler/stage2/build/FV.o compiler/stage2/build/GraphBase.o compiler/stage2/build/GraphColor.o compiler/stage2/build/GraphOps.o compiler/stage2/build/GraphPpr.o compiler/stage2/build/IOEnv.o compiler/stage2/build/Json.o compiler/stage2/build/ListSetOps.o compiler/stage2/build/Maybes.o compiler/stage2/build/MonadUtils.o compiler/stage2/build/OrdList.o compiler/stage2/build/Outputable.o compiler/stage2/build/Pair.o compiler/stage2/build/Panic.o compiler/stage2/build/PlainPanic.o compiler/stage2/build/PprColour.o compiler/stage2/build/Pretty.o compiler/stage2/build/State.o compiler/stage2/build/Stream.o compiler/stage2/build/StringBuffer.o compiler/stage2/build/UniqDFM.o compiler/stage2/build/UniqDSet.o compiler/stage2/build/UniqFM.o compiler/stage2/build/UniqMap.o compiler/stage2/build/UniqSet.o compiler/stage2/build/Util.o compiler/stage2/build/Hoopl/Block.o compiler/stage2/build/Hoopl/Collections.o compiler/stage2/build/Hoopl/Dataflow.o compiler/stage2/build/Hoopl/Graph.o compiler/stage2/build/Hoopl/Label.o compiler/stage2/build/AsmCodeGen.o compiler/stage2/build/TargetReg.o compiler/stage2/build/NCGMonad.o compiler/stage2/build/Instruction.o compiler/stage2/build/BlockLayout.o compiler/stage2/build/CFG.o compiler/stage2/build/Dominators.o compiler/stage2/build/Format.o compiler/stage2/build/Reg.o compiler/stage2/build/RegClass.o compiler/stage2/build/PIC.o compiler/stage2/build/CPrim.o compiler/stage2/build/X86/Regs.o compiler/stage2/build/X86/RegInfo.o compiler/stage2/build/X86/Instr.o compiler/stage2/build/X86/Cond.o compiler/stage2/build/X86/Ppr.o compiler/stage2/build/X86/CodeGen.o compiler/stage2/build/PPC/Regs.o compiler/stage2/build/PPC/RegInfo.o compiler/stage2/build/PPC/Instr.o compiler/stage2/build/PPC/Cond.o compiler/stage2/build/PPC/Ppr.o compiler/stage2/build/PPC/CodeGen.o compiler/stage2/build/SPARC/Base.o compiler/stage2/build/SPARC/Regs.o compiler/stage2/build/SPARC/Imm.o compiler/stage2/build/SPARC/AddrMode.o compiler/stage2/build/SPARC/Cond.o compiler/stage2/build/SPARC/Instr.o compiler/stage2/build/SPARC/Stack.o compiler/stage2/build/SPARC/ShortcutJump.o compiler/stage2/build/SPARC/Ppr.o compiler/stage2/build/SPARC/CodeGen.o compiler/stage2/build/SPARC/CodeGen/Amode.o compiler/stage2/build/SPARC/CodeGen/Base.o compiler/stage2/build/SPARC/CodeGen/CondCode.o compiler/stage2/build/SPARC/CodeGen/Gen32.o compiler/stage2/build/SPARC/CodeGen/Gen64.o compiler/stage2/build/SPARC/CodeGen/Sanity.o compiler/stage2/build/SPARC/CodeGen/Expand.o compiler/stage2/build/RegAlloc/Liveness.o compiler/stage2/build/RegAlloc/Graph/Main.o compiler/stage2/build/RegAlloc/Graph/Stats.o compiler/stage2/build/RegAlloc/Graph/ArchBase.o compiler/stage2/build/RegAlloc/Graph/ArchX86.o compiler/stage2/build/RegAlloc/Graph/Coalesce.o compiler/stage2/build/RegAlloc/Graph/Spill.o compiler/stage2/build/RegAlloc/Graph/SpillClean.o compiler/stage2/build/RegAlloc/Graph/SpillCost.o compiler/stage2/build/RegAlloc/Graph/TrivColorable.o compiler/stage2/build/RegAlloc/Linear/Main.o compiler/stage2/build/RegAlloc/Linear/JoinToTargets.o compiler/stage2/build/RegAlloc/Linear/State.o compiler/stage2/build/RegAlloc/Linear/Stats.o compiler/stage2/build/RegAlloc/Linear/FreeRegs.o compiler/stage2/build/RegAlloc/Linear/StackMap.o compiler/stage2/build/RegAlloc/Linear/Base.o compiler/stage2/build/RegAlloc/Linear/X86/FreeRegs.o compiler/stage2/build/RegAlloc/Linear/X86_64/FreeRegs.o compiler/stage2/build/RegAlloc/Linear/PPC/FreeRegs.o compiler/stage2/build/RegAlloc/Linear/SPARC/FreeRegs.o compiler/stage2/build/Dwarf.o compiler/stage2/build/Dwarf/Types.o compiler/stage2/build/Dwarf/Constants.o compiler/stage2/build/GHC/ThToHs.o compiler/stage2/build/ByteCodeTypes.o compiler/stage2/build/ByteCodeAsm.o compiler/stage2/build/ByteCodeGen.o compiler/stage2/build/ByteCodeInstr.o compiler/stage2/build/ByteCodeItbls.o compiler/stage2/build/ByteCodeLink.o compiler/stage2/build/Debugger.o compiler/stage2/build/LinkerTypes.o compiler/stage2/build/Linker.o compiler/stage2/build/RtClosureInspect.o compiler/stage2/build/GHCi.o   compiler/stage2/build/parser/cutils.o compiler/stage2/build/cbits/genSym.o     >> compiler/stage2/build/libHSghc-8.10.7.a.contents
"xargs"  "x86_64-apple-ios-ar" qcls  compiler/stage2/build/libHSghc-8.10.7.a < compiler/stage2/build/libHSghc-8.10.7.a.contents
"rm" -f compiler/stage2/build/libHSghc-8.10.7.a.contents  
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/hsc2hs/. -iutils/hsc2hs/dist-install/build -Iutils/hsc2hs/dist-install/build -iutils/hsc2hs/dist-install/build/hsc2hs/autogen -Iutils/hsc2hs/dist-install/build/hsc2hs/autogen     -optP-include -optPutils/hsc2hs/dist-install/build/hsc2hs/autogen/cabal_macros.h -package-id base-4.14.3.0 -package-id containers-0.6.5.1 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -package-id process-1.6.13.2 -Wall -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -outputdir utils/hsc2hs/dist-install/build   -c utils/hsc2hs/./HSCParser.hs -o utils/hsc2hs/dist-install/build/HSCParser.o 
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/hsc2hs/. -iutils/hsc2hs/dist-install/build -Iutils/hsc2hs/dist-install/build -iutils/hsc2hs/dist-install/build/hsc2hs/autogen -Iutils/hsc2hs/dist-install/build/hsc2hs/autogen     -optP-include -optPutils/hsc2hs/dist-install/build/hsc2hs/autogen/cabal_macros.h -package-id base-4.14.3.0 -package-id containers-0.6.5.1 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -package-id process-1.6.13.2 -Wall -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -outputdir utils/hsc2hs/dist-install/build   -c utils/hsc2hs/./Flags.hs -o utils/hsc2hs/dist-install/build/Flags.o 
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/hsc2hs/. -iutils/hsc2hs/dist-install/build -Iutils/hsc2hs/dist-install/build -iutils/hsc2hs/dist-install/build/hsc2hs/autogen -Iutils/hsc2hs/dist-install/build/hsc2hs/autogen     -optP-include -optPutils/hsc2hs/dist-install/build/hsc2hs/autogen/cabal_macros.h -package-id base-4.14.3.0 -package-id containers-0.6.5.1 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -package-id process-1.6.13.2 -Wall -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -outputdir utils/hsc2hs/dist-install/build   -c utils/hsc2hs/./Compat/TempFile.hs -o utils/hsc2hs/dist-install/build/Compat/TempFile.o 
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/hsc2hs/. -iutils/hsc2hs/dist-install/build -Iutils/hsc2hs/dist-install/build -iutils/hsc2hs/dist-install/build/hsc2hs/autogen -Iutils/hsc2hs/dist-install/build/hsc2hs/autogen     -optP-include -optPutils/hsc2hs/dist-install/build/hsc2hs/autogen/cabal_macros.h -package-id base-4.14.3.0 -package-id containers-0.6.5.1 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -package-id process-1.6.13.2 -Wall -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -outputdir utils/hsc2hs/dist-install/build   -c utils/hsc2hs/./Common.hs -o utils/hsc2hs/dist-install/build/Common.o 
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/hsc2hs/. -iutils/hsc2hs/dist-install/build -Iutils/hsc2hs/dist-install/build -iutils/hsc2hs/dist-install/build/hsc2hs/autogen -Iutils/hsc2hs/dist-install/build/hsc2hs/autogen     -optP-include -optPutils/hsc2hs/dist-install/build/hsc2hs/autogen/cabal_macros.h -package-id base-4.14.3.0 -package-id containers-0.6.5.1 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -package-id process-1.6.13.2 -Wall -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -outputdir utils/hsc2hs/dist-install/build   -c utils/hsc2hs/./C.hs -o utils/hsc2hs/dist-install/build/C.o 
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/hsc2hs/. -iutils/hsc2hs/dist-install/build -Iutils/hsc2hs/dist-install/build -iutils/hsc2hs/dist-install/build/hsc2hs/autogen -Iutils/hsc2hs/dist-install/build/hsc2hs/autogen     -optP-include -optPutils/hsc2hs/dist-install/build/hsc2hs/autogen/cabal_macros.h -package-id base-4.14.3.0 -package-id containers-0.6.5.1 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -package-id process-1.6.13.2 -Wall -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -outputdir utils/hsc2hs/dist-install/build   -c utils/hsc2hs/./UtilsCodegen.hs -o utils/hsc2hs/dist-install/build/UtilsCodegen.o 
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/hsc2hs/. -iutils/hsc2hs/dist-install/build -Iutils/hsc2hs/dist-install/build -iutils/hsc2hs/dist-install/build/hsc2hs/autogen -Iutils/hsc2hs/dist-install/build/hsc2hs/autogen     -optP-include -optPutils/hsc2hs/dist-install/build/hsc2hs/autogen/cabal_macros.h -package-id base-4.14.3.0 -package-id containers-0.6.5.1 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -package-id process-1.6.13.2 -Wall -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -outputdir utils/hsc2hs/dist-install/build   -c utils/hsc2hs/./DirectCodegen.hs -o utils/hsc2hs/dist-install/build/DirectCodegen.o 
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/hsc2hs/. -iutils/hsc2hs/dist-install/build -Iutils/hsc2hs/dist-install/build -iutils/hsc2hs/dist-install/build/hsc2hs/autogen -Iutils/hsc2hs/dist-install/build/hsc2hs/autogen     -optP-include -optPutils/hsc2hs/dist-install/build/hsc2hs/autogen/cabal_macros.h -package-id base-4.14.3.0 -package-id containers-0.6.5.1 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -package-id process-1.6.13.2 -Wall -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -outputdir utils/hsc2hs/dist-install/build   -c utils/hsc2hs/./ATTParser.hs -o utils/hsc2hs/dist-install/build/ATTParser.o 
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/hsc2hs/. -iutils/hsc2hs/dist-install/build -Iutils/hsc2hs/dist-install/build -iutils/hsc2hs/dist-install/build/hsc2hs/autogen -Iutils/hsc2hs/dist-install/build/hsc2hs/autogen     -optP-include -optPutils/hsc2hs/dist-install/build/hsc2hs/autogen/cabal_macros.h -package-id base-4.14.3.0 -package-id containers-0.6.5.1 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -package-id process-1.6.13.2 -Wall -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -outputdir utils/hsc2hs/dist-install/build   -c utils/hsc2hs/./CrossCodegen.hs -o utils/hsc2hs/dist-install/build/CrossCodegen.o 
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/hsc2hs/. -iutils/hsc2hs/dist-install/build -Iutils/hsc2hs/dist-install/build -iutils/hsc2hs/dist-install/build/hsc2hs/autogen -Iutils/hsc2hs/dist-install/build/hsc2hs/autogen     -optP-include -optPutils/hsc2hs/dist-install/build/hsc2hs/autogen/cabal_macros.h -package-id base-4.14.3.0 -package-id containers-0.6.5.1 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -package-id process-1.6.13.2 -Wall -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -outputdir utils/hsc2hs/dist-install/build   -c utils/hsc2hs/./Compat/ResponseFile.hs -o utils/hsc2hs/dist-install/build/Compat/ResponseFile.o 
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/hsc2hs/. -iutils/hsc2hs/dist-install/build -Iutils/hsc2hs/dist-install/build -iutils/hsc2hs/dist-install/build/hsc2hs/autogen -Iutils/hsc2hs/dist-install/build/hsc2hs/autogen     -optP-include -optPutils/hsc2hs/dist-install/build/hsc2hs/autogen/cabal_macros.h -package-id base-4.14.3.0 -package-id containers-0.6.5.1 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -package-id process-1.6.13.2 -Wall -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -outputdir utils/hsc2hs/dist-install/build   -c utils/hsc2hs/dist-install/build/hsc2hs/autogen/Paths_hsc2hs.hs -o utils/hsc2hs/dist-install/build/Paths_hsc2hs.o 
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/hsc2hs/. -iutils/hsc2hs/dist-install/build -Iutils/hsc2hs/dist-install/build -iutils/hsc2hs/dist-install/build/hsc2hs/autogen -Iutils/hsc2hs/dist-install/build/hsc2hs/autogen     -optP-include -optPutils/hsc2hs/dist-install/build/hsc2hs/autogen/cabal_macros.h -package-id base-4.14.3.0 -package-id containers-0.6.5.1 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -package-id process-1.6.13.2 -Wall -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -outputdir utils/hsc2hs/dist-install/build   -c utils/hsc2hs/./Main.hs -o utils/hsc2hs/dist-install/build/Main.o 
"inplace/bin/mkdirhier" utils/hsc2hs/dist-install/build/cbits//.
"x86_64-apple-ios-clang"   -Wall   -Iutils/hsc2hs/dist-install/build/hsc2hs/autogen      -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/process/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/process/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/process/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/process/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/process/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/process/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/process/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/process/dist-install/build/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/directory/' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/directory/dist-install/build/' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/directory/dist-install/build/' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/directory/dist-install/build/dist-install/build/' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/unix/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/unix/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/unix/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/unix/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/unix/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/unix/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/unix/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/unix/dist-install/build/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/time/lib/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/time/lib/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/time/dist-install/build/lib/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/time/dist-install/build/lib/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/time/dist-install/build/lib/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/time/dist-install/build/lib/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/time/dist-install/build/dist-install/build/lib/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/time/dist-install/build/dist-install/build/lib/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/containers/containers/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/containers/containers/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/containers/containers/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/containers/containers/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/containers/containers/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/containers/containers/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/containers/containers/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/containers/containers/dist-install/build/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/bytestring/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/bytestring/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/bytestring/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/bytestring/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/bytestring/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/bytestring/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/bytestring/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/bytestring/dist-install/build/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/base/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/base/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/base/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/base/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/base/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/base/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/base/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/base/dist-install/build/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/rts/dist/build' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/includes' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/includes/dist-derivedconstants/header' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/includes/dist-install/build'   -Wno-unknown-pragmas   -fembed-bitcode   -c utils/hsc2hs/cbits/utils.c -o utils/hsc2hs/dist-install/build/cbits/utils.o
"inplace/bin/mkdirhier" utils/hsc2hs/dist-install/build/tmp//.
"inplace/bin/ghc-stage1" -o utils/hsc2hs/dist-install/build/tmp/hsc2hs -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/hsc2hs/. -iutils/hsc2hs/dist-install/build -Iutils/hsc2hs/dist-install/build -iutils/hsc2hs/dist-install/build/hsc2hs/autogen -Iutils/hsc2hs/dist-install/build/hsc2hs/autogen     -optP-include -optPutils/hsc2hs/dist-install/build/hsc2hs/autogen/cabal_macros.h -package-id base-4.14.3.0 -package-id containers-0.6.5.1 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -package-id process-1.6.13.2 -Wall -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -outputdir utils/hsc2hs/dist-install/build    -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/hsc2hs/. -iutils/hsc2hs/dist-install/build -Iutils/hsc2hs/dist-install/build -iutils/hsc2hs/dist-install/build/hsc2hs/autogen -Iutils/hsc2hs/dist-install/build/hsc2hs/autogen     -optP-include -optPutils/hsc2hs/dist-install/build/hsc2hs/autogen/cabal_macros.h -package-id base-4.14.3.0 -package-id containers-0.6.5.1 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -package-id process-1.6.13.2 -Wall -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  utils/hsc2hs/dist-install/build/Main.o utils/hsc2hs/dist-install/build/C.o utils/hsc2hs/dist-install/build/Common.o utils/hsc2hs/dist-install/build/CrossCodegen.o utils/hsc2hs/dist-install/build/DirectCodegen.o utils/hsc2hs/dist-install/build/Flags.o utils/hsc2hs/dist-install/build/HSCParser.o utils/hsc2hs/dist-install/build/ATTParser.o utils/hsc2hs/dist-install/build/UtilsCodegen.o utils/hsc2hs/dist-install/build/Compat/ResponseFile.o utils/hsc2hs/dist-install/build/Compat/TempFile.o utils/hsc2hs/dist-install/build/Paths_hsc2hs.o utils/hsc2hs/dist-install/build/cbits/utils.o   
ld: warning: could not create compact unwind for _StgRunIsImplementedInAssembler: register saved more than once (might be shrink wrap)
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/ghc-cabal/. -iutils/ghc-cabal/dist-install/build -Iutils/ghc-cabal/dist-install/build -iutils/ghc-cabal/dist-install/build/ghc-cabal/autogen -Iutils/ghc-cabal/dist-install/build/ghc-cabal/autogen     -optP-include -optPutils/ghc-cabal/dist-install/build/ghc-cabal/autogen/cabal_macros.h -package-id Cabal-3.2.1.0 -package-id base-4.14.3.0 -package-id bytestring-0.10.12.0 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -outputdir utils/ghc-cabal/dist-install/build   -c utils/ghc-cabal/./Main.hs -o utils/ghc-cabal/dist-install/build/Main.o 
"inplace/bin/mkdirhier" utils/ghc-cabal/dist-install/build/tmp//.
"inplace/bin/ghc-stage1" -o utils/ghc-cabal/dist-install/build/tmp/ghc-cabal -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/ghc-cabal/. -iutils/ghc-cabal/dist-install/build -Iutils/ghc-cabal/dist-install/build -iutils/ghc-cabal/dist-install/build/ghc-cabal/autogen -Iutils/ghc-cabal/dist-install/build/ghc-cabal/autogen     -optP-include -optPutils/ghc-cabal/dist-install/build/ghc-cabal/autogen/cabal_macros.h -package-id Cabal-3.2.1.0 -package-id base-4.14.3.0 -package-id bytestring-0.10.12.0 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -outputdir utils/ghc-cabal/dist-install/build    -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/ghc-cabal/. -iutils/ghc-cabal/dist-install/build -Iutils/ghc-cabal/dist-install/build -iutils/ghc-cabal/dist-install/build/ghc-cabal/autogen -Iutils/ghc-cabal/dist-install/build/ghc-cabal/autogen     -optP-include -optPutils/ghc-cabal/dist-install/build/ghc-cabal/autogen/cabal_macros.h -package-id Cabal-3.2.1.0 -package-id base-4.14.3.0 -package-id bytestring-0.10.12.0 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  utils/ghc-cabal/dist-install/build/Main.o    
ld: warning: could not create compact unwind for _StgRunIsImplementedInAssembler: register saved more than once (might be shrink wrap)
"rm" -f                                                   utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist  
echo '#!/bin/sh'                                                   >> utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist
echo 'exec "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal" ${1+"$@"}'                                  >> utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist
chmod +x                                                   utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/hpc/. -iutils/hpc/dist-install/build -Iutils/hpc/dist-install/build -iutils/hpc/dist-install/build/hpc/autogen -Iutils/hpc/dist-install/build/hpc/autogen     -optP-include -optPutils/hpc/dist-install/build/hpc/autogen/cabal_macros.h -package-id array-0.5.4.0 -package-id base-4.14.3.0 -package-id containers-0.6.5.1 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -package-id hpc-0.6.1.0 -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -outputdir utils/hpc/dist-install/build   -c utils/hpc/dist-install/build/hpc/autogen/Paths_hpc_bin.hs -o utils/hpc/dist-install/build/Paths_hpc_bin.o 
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/hpc/. -iutils/hpc/dist-install/build -Iutils/hpc/dist-install/build -iutils/hpc/dist-install/build/hpc/autogen -Iutils/hpc/dist-install/build/hpc/autogen     -optP-include -optPutils/hpc/dist-install/build/hpc/autogen/cabal_macros.h -package-id array-0.5.4.0 -package-id base-4.14.3.0 -package-id containers-0.6.5.1 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -package-id hpc-0.6.1.0 -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -outputdir utils/hpc/dist-install/build   -c utils/hpc/./HpcUtils.hs -o utils/hpc/dist-install/build/HpcUtils.o 
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/hpc/. -iutils/hpc/dist-install/build -Iutils/hpc/dist-install/build -iutils/hpc/dist-install/build/hpc/autogen -Iutils/hpc/dist-install/build/hpc/autogen     -optP-include -optPutils/hpc/dist-install/build/hpc/autogen/cabal_macros.h -package-id array-0.5.4.0 -package-id base-4.14.3.0 -package-id containers-0.6.5.1 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -package-id hpc-0.6.1.0 -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -outputdir utils/hpc/dist-install/build   -c utils/hpc/./HpcLexer.hs -o utils/hpc/dist-install/build/HpcLexer.o 
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/hpc/. -iutils/hpc/dist-install/build -Iutils/hpc/dist-install/build -iutils/hpc/dist-install/build/hpc/autogen -Iutils/hpc/dist-install/build/hpc/autogen     -optP-include -optPutils/hpc/dist-install/build/hpc/autogen/cabal_macros.h -package-id array-0.5.4.0 -package-id base-4.14.3.0 -package-id containers-0.6.5.1 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -package-id hpc-0.6.1.0 -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -outputdir utils/hpc/dist-install/build   -c utils/hpc/./HpcParser.hs -o utils/hpc/dist-install/build/HpcParser.o 
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/hpc/. -iutils/hpc/dist-install/build -Iutils/hpc/dist-install/build -iutils/hpc/dist-install/build/hpc/autogen -Iutils/hpc/dist-install/build/hpc/autogen     -optP-include -optPutils/hpc/dist-install/build/hpc/autogen/cabal_macros.h -package-id array-0.5.4.0 -package-id base-4.14.3.0 -package-id containers-0.6.5.1 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -package-id hpc-0.6.1.0 -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -outputdir utils/hpc/dist-install/build   -c utils/hpc/./HpcFlags.hs -o utils/hpc/dist-install/build/HpcFlags.o 
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/hpc/. -iutils/hpc/dist-install/build -Iutils/hpc/dist-install/build -iutils/hpc/dist-install/build/hpc/autogen -Iutils/hpc/dist-install/build/hpc/autogen     -optP-include -optPutils/hpc/dist-install/build/hpc/autogen/cabal_macros.h -package-id array-0.5.4.0 -package-id base-4.14.3.0 -package-id containers-0.6.5.1 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -package-id hpc-0.6.1.0 -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -outputdir utils/hpc/dist-install/build   -c utils/hpc/./HpcOverlay.hs -o utils/hpc/dist-install/build/HpcOverlay.o 
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/hpc/. -iutils/hpc/dist-install/build -Iutils/hpc/dist-install/build -iutils/hpc/dist-install/build/hpc/autogen -Iutils/hpc/dist-install/build/hpc/autogen     -optP-include -optPutils/hpc/dist-install/build/hpc/autogen/cabal_macros.h -package-id array-0.5.4.0 -package-id base-4.14.3.0 -package-id containers-0.6.5.1 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -package-id hpc-0.6.1.0 -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -outputdir utils/hpc/dist-install/build   -c utils/hpc/./HpcDraft.hs -o utils/hpc/dist-install/build/HpcDraft.o 
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/hpc/. -iutils/hpc/dist-install/build -Iutils/hpc/dist-install/build -iutils/hpc/dist-install/build/hpc/autogen -Iutils/hpc/dist-install/build/hpc/autogen     -optP-include -optPutils/hpc/dist-install/build/hpc/autogen/cabal_macros.h -package-id array-0.5.4.0 -package-id base-4.14.3.0 -package-id containers-0.6.5.1 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -package-id hpc-0.6.1.0 -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -outputdir utils/hpc/dist-install/build   -c utils/hpc/./HpcShowTix.hs -o utils/hpc/dist-install/build/HpcShowTix.o 
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/hpc/. -iutils/hpc/dist-install/build -Iutils/hpc/dist-install/build -iutils/hpc/dist-install/build/hpc/autogen -Iutils/hpc/dist-install/build/hpc/autogen     -optP-include -optPutils/hpc/dist-install/build/hpc/autogen/cabal_macros.h -package-id array-0.5.4.0 -package-id base-4.14.3.0 -package-id containers-0.6.5.1 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -package-id hpc-0.6.1.0 -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -outputdir utils/hpc/dist-install/build   -c utils/hpc/./HpcCombine.hs -o utils/hpc/dist-install/build/HpcCombine.o 
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/hpc/. -iutils/hpc/dist-install/build -Iutils/hpc/dist-install/build -iutils/hpc/dist-install/build/hpc/autogen -Iutils/hpc/dist-install/build/hpc/autogen     -optP-include -optPutils/hpc/dist-install/build/hpc/autogen/cabal_macros.h -package-id array-0.5.4.0 -package-id base-4.14.3.0 -package-id containers-0.6.5.1 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -package-id hpc-0.6.1.0 -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -outputdir utils/hpc/dist-install/build   -c utils/hpc/./HpcMarkup.hs -o utils/hpc/dist-install/build/HpcMarkup.o 
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/hpc/. -iutils/hpc/dist-install/build -Iutils/hpc/dist-install/build -iutils/hpc/dist-install/build/hpc/autogen -Iutils/hpc/dist-install/build/hpc/autogen     -optP-include -optPutils/hpc/dist-install/build/hpc/autogen/cabal_macros.h -package-id array-0.5.4.0 -package-id base-4.14.3.0 -package-id containers-0.6.5.1 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -package-id hpc-0.6.1.0 -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -outputdir utils/hpc/dist-install/build   -c utils/hpc/./HpcReport.hs -o utils/hpc/dist-install/build/HpcReport.o 
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/hpc/. -iutils/hpc/dist-install/build -Iutils/hpc/dist-install/build -iutils/hpc/dist-install/build/hpc/autogen -Iutils/hpc/dist-install/build/hpc/autogen     -optP-include -optPutils/hpc/dist-install/build/hpc/autogen/cabal_macros.h -package-id array-0.5.4.0 -package-id base-4.14.3.0 -package-id containers-0.6.5.1 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -package-id hpc-0.6.1.0 -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -outputdir utils/hpc/dist-install/build   -c utils/hpc/./Main.hs -o utils/hpc/dist-install/build/Main.o 
"inplace/bin/mkdirhier" utils/hpc/dist-install/build/tmp//.
"inplace/bin/ghc-stage1" -o utils/hpc/dist-install/build/tmp/hpc -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/hpc/. -iutils/hpc/dist-install/build -Iutils/hpc/dist-install/build -iutils/hpc/dist-install/build/hpc/autogen -Iutils/hpc/dist-install/build/hpc/autogen     -optP-include -optPutils/hpc/dist-install/build/hpc/autogen/cabal_macros.h -package-id array-0.5.4.0 -package-id base-4.14.3.0 -package-id containers-0.6.5.1 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -package-id hpc-0.6.1.0 -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -outputdir utils/hpc/dist-install/build    -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/hpc/. -iutils/hpc/dist-install/build -Iutils/hpc/dist-install/build -iutils/hpc/dist-install/build/hpc/autogen -Iutils/hpc/dist-install/build/hpc/autogen     -optP-include -optPutils/hpc/dist-install/build/hpc/autogen/cabal_macros.h -package-id array-0.5.4.0 -package-id base-4.14.3.0 -package-id containers-0.6.5.1 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -package-id hpc-0.6.1.0 -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  utils/hpc/dist-install/build/Main.o utils/hpc/dist-install/build/HpcParser.o utils/hpc/dist-install/build/HpcCombine.o utils/hpc/dist-install/build/HpcDraft.o utils/hpc/dist-install/build/HpcFlags.o utils/hpc/dist-install/build/HpcLexer.o utils/hpc/dist-install/build/HpcMarkup.o utils/hpc/dist-install/build/HpcOverlay.o utils/hpc/dist-install/build/HpcReport.o utils/hpc/dist-install/build/HpcShowTix.o utils/hpc/dist-install/build/HpcUtils.o utils/hpc/dist-install/build/Paths_hpc_bin.o    
ld: warning: could not create compact unwind for _StgRunIsImplementedInAssembler: register saved more than once (might be shrink wrap)
/usr/bin/install -c -m 755 utils/hpc/dist-install/build/tmp/hpc inplace/lib/bin/hpc
"rm" -f                                                     inplace/bin/hpc  
echo '#!/bin/sh'                                                     >> inplace/bin/hpc
echo 'executablename="/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/inplace/lib/bin/hpc"'                                  >> inplace/bin/hpc
echo 'datadir="/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/inplace/lib"'                             >> inplace/bin/hpc
echo 'bindir="/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/inplace/bin"'                              >> inplace/bin/hpc
echo 'topdir="/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/inplace/lib"'                           >> inplace/bin/hpc
echo 'pgmgcc="x86_64-apple-ios-clang"'                                               >> inplace/bin/hpc
cat utils/hpc/hpc.wrapper                                     >> inplace/bin/hpc
chmod +x                                                     inplace/bin/hpc
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/compare_sizes/. -iutils/compare_sizes/dist-install/build -Iutils/compare_sizes/dist-install/build -iutils/compare_sizes/dist-install/build/compareSizes/autogen -Iutils/compare_sizes/dist-install/build/compareSizes/autogen     -optP-include -optPutils/compare_sizes/dist-install/build/compareSizes/autogen/cabal_macros.h -package-id base-4.14.3.0 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -outputdir utils/compare_sizes/dist-install/build   -c utils/compare_sizes/./Main.hs -o utils/compare_sizes/dist-install/build/Main.o 
"inplace/bin/mkdirhier" utils/compare_sizes/dist-install/build/tmp//.
"inplace/bin/ghc-stage1" -o utils/compare_sizes/dist-install/build/tmp/compareSizes -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/compare_sizes/. -iutils/compare_sizes/dist-install/build -Iutils/compare_sizes/dist-install/build -iutils/compare_sizes/dist-install/build/compareSizes/autogen -Iutils/compare_sizes/dist-install/build/compareSizes/autogen     -optP-include -optPutils/compare_sizes/dist-install/build/compareSizes/autogen/cabal_macros.h -package-id base-4.14.3.0 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -outputdir utils/compare_sizes/dist-install/build    -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/compare_sizes/. -iutils/compare_sizes/dist-install/build -Iutils/compare_sizes/dist-install/build -iutils/compare_sizes/dist-install/build/compareSizes/autogen -Iutils/compare_sizes/dist-install/build/compareSizes/autogen     -optP-include -optPutils/compare_sizes/dist-install/build/compareSizes/autogen/cabal_macros.h -package-id base-4.14.3.0 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -XHaskell2010  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  utils/compare_sizes/dist-install/build/Main.o    
ld: warning: could not create compact unwind for _StgRunIsImplementedInAssembler: register saved more than once (might be shrink wrap)
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/iserv/src -iutils/iserv/stage2/build -Iutils/iserv/stage2/build -iutils/iserv/stage2/build/iserv/autogen -Iutils/iserv/stage2/build/iserv/autogen -Iutils/iserv/. -Iutils/iserv/stage2/build/.    -optP-include -optPutils/iserv/stage2/build/iserv/autogen/cabal_macros.h -package-id array-0.5.4.0 -package-id base-4.14.3.0 -package-id binary-0.8.8.0 -package-id bytestring-0.10.12.0 -package-id containers-0.6.5.1 -package-id deepseq-1.4.4.0 -package-id ghci-8.10.7 -package-id libiserv-8.10.7 -package-id unix-2.7.2.2 -no-hs-main -XHaskell2010  -threaded -no-hs-main -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -outputdir utils/iserv/stage2/build   -c utils/iserv/src/Main.hs -o utils/iserv/stage2/build/Main.o 
"inplace/bin/mkdirhier" utils/iserv/stage2/build/cbits//.
"x86_64-apple-ios-clang"   -Wall   -Iutils/iserv/stage2/build/iserv/autogen -Iutils/iserv/. -Iutils/iserv/stage2/build/.     -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/directory/' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/directory/dist-install/build/' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/directory/dist-install/build/' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/directory/dist-install/build/dist-install/build/' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/unix/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/unix/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/unix/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/unix/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/unix/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/unix/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/unix/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/unix/dist-install/build/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/time/lib/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/time/lib/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/time/dist-install/build/lib/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/time/dist-install/build/lib/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/time/dist-install/build/lib/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/time/dist-install/build/lib/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/time/dist-install/build/dist-install/build/lib/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/time/dist-install/build/dist-install/build/lib/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/containers/containers/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/containers/containers/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/containers/containers/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/containers/containers/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/containers/containers/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/containers/containers/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/containers/containers/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/containers/containers/dist-install/build/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/bytestring/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/bytestring/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/bytestring/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/bytestring/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/bytestring/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/bytestring/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/bytestring/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/bytestring/dist-install/build/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/base/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/base/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/base/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/base/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/base/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/base/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/base/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/libraries/base/dist-install/build/dist-install/build/dist-install/build/include' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/rts/dist/build' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/includes' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/includes/dist-derivedconstants/header' -I'/Users/evgeny/opensource/ghc-for-ios/build/ghc-8.10.7/includes/dist-install/build'   -Wno-unknown-pragmas   -fembed-bitcode   -c utils/iserv/cbits/iservmain.c -o utils/iserv/stage2/build/cbits/iservmain.o
"inplace/bin/mkdirhier" utils/iserv/stage2/build/tmp//.
"inplace/bin/ghc-stage1" -o utils/iserv/stage2/build/tmp/ghc-iserv -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/iserv/src -iutils/iserv/stage2/build -Iutils/iserv/stage2/build -iutils/iserv/stage2/build/iserv/autogen -Iutils/iserv/stage2/build/iserv/autogen -Iutils/iserv/. -Iutils/iserv/stage2/build/.    -optP-include -optPutils/iserv/stage2/build/iserv/autogen/cabal_macros.h -package-id array-0.5.4.0 -package-id base-4.14.3.0 -package-id binary-0.8.8.0 -package-id bytestring-0.10.12.0 -package-id containers-0.6.5.1 -package-id deepseq-1.4.4.0 -package-id ghci-8.10.7 -package-id libiserv-8.10.7 -package-id unix-2.7.2.2 -no-hs-main -XHaskell2010  -threaded -no-hs-main -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -outputdir utils/iserv/stage2/build    -static  -O0 -H64m -Wall      -hide-all-packages -package-env - -i -iutils/iserv/src -iutils/iserv/stage2/build -Iutils/iserv/stage2/build -iutils/iserv/stage2/build/iserv/autogen -Iutils/iserv/stage2/build/iserv/autogen -Iutils/iserv/. -Iutils/iserv/stage2/build/.    -optP-include -optPutils/iserv/stage2/build/iserv/autogen/cabal_macros.h -package-id array-0.5.4.0 -package-id base-4.14.3.0 -package-id binary-0.8.8.0 -package-id bytestring-0.10.12.0 -package-id containers-0.6.5.1 -package-id deepseq-1.4.4.0 -package-id ghci-8.10.7 -package-id libiserv-8.10.7 -package-id unix-2.7.2.2 -no-hs-main -XHaskell2010  -threaded -no-hs-main -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  utils/iserv/stage2/build/Main.o utils/iserv/stage2/build/cbits/iservmain.o   
Warning: -rtsopts and -with-rtsopts have no effect with -no-hs-main.
    Call hs_init_ghc() from your main() function to set these options.
ld: warning: could not create compact unwind for _StgRunIsImplementedInAssembler: register saved more than once (might be shrink wrap)
/usr/bin/install -c -m 755 utils/iserv/stage2/build/tmp/ghc-iserv inplace/lib/bin/ghc-iserv

(this is the last line I have in this case: https://github.com/webmonarch/ghc-for-ios/runs/4014271379?check_suite_focus=true#step:6:16561)

Could it be a different clang version - there is clang: error: unsupported option '-print-multi-os-directory'? I don't think there is such error in the build log.

> clang -v
Apple clang version 13.0.0 (clang-1300.0.29.3)
Target: x86_64-apple-darwin20.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

Another line that's not in CI output: wc on OS X has spaces in its output Not sure why my Mac would have a different wc if that's the case?...

webmonarch commented 3 years ago

Hmm, I have seen all those error messages, I don't think they are specific to your machine.

Did you run the ./start deps?

Can you give me the entire log output? I think the snips aren't catching the important detail.

./start ghc all <TARGET> 2>&1 tee build.log

Ultimately, I would be comparing to this: https://pipelines.actions.githubusercontent.com/YZXT6V9Yyz91mP3YV5AIvLq9FtEZ04oreKaoITf1Irh7zyJl19/_apis/pipelines/1/runs/22/signedlogcontent/2?urlExpires=2021-10-31T04%3A37%3A33.4701084Z&urlSigningMethod=HMACV1&urlSignature=WFPHlMsmekhaJt38Bt1jTAqWqJfNATtPVQxdA%2B2MZmg%3D

LMK!