[GHC] #11570: C build fails on RPi 2

GHC ghc-devs at haskell.org
Fri Feb 12 14:22:01 UTC 2016


#11570: C build fails on RPi 2
---------------------------------+-------------------------------------
           Reporter:  neuwirthe  |             Owner:
               Type:  bug        |            Status:  new
           Priority:  normal     |         Milestone:
          Component:  Compiler   |           Version:  7.8.4-rc1
           Keywords:             |  Operating System:  Unknown/Multiple
       Architecture:  arm        |   Type of failure:  None/Unknown
          Test Case:             |        Blocked By:
           Blocking:             |   Related Tickets:
Differential Rev(s):             |         Wiki Page:
---------------------------------+-------------------------------------
 I am trying to build ghc 7.8.4 on a RaspberryPi 2 B
 This fails in the last step.

 I installed ghc 7.6.3 from the Raspbian archive
 pi at raspberrypi32:~/devel/ghc-7.8.4$ ghc --version
 The Glorious Glasgow Haskell Compilation System, version 7.6.3

 And I downloaded the sources for 7.8.4 from here.
 https://www.haskell.org/ghc/dist/7.8.4/ghc-7.8.4-src.tar.bz2


 The I unarchived the tar file and did

 ./boot
 ./configure
 make

 Then, tha machine happily chruned alog for more than 12 hours
 and then I got

 ===--- building final phase
 make -r --no-print-directory -f ghc.mk phase=final all
 inplace/bin/dll-split compiler/stage2/build/.depend-v-p-dyn.haskell
 "DynFlags" "Annotations Avail Bag BasicTypes BinIface Binary
 BooleanFormula BreakArray BufWrite BuildTyCl Class CmdLineParser CmmType
 CoAxiom ConLike Coercion Config Constants CoreArity CoreFVs CoreLint
 CoreSubst CoreSyn CoreTidy CoreUnfold CoreUtils CostCentre DataCon Demand
 Digraph DriverPhases DsMonad DynFlags Encoding ErrUtils Exception
 ExtsCompat46 FamInstEnv FastFunctions FastMutInt FastString FastTypes
 Finder Fingerprint FiniteMap ForeignCall Hooks HsBinds HsDecls HsDoc
 HsExpr HsImpExp HsLit HsPat HsSyn HsTypes HsUtils HscTypes IOEnv Id IdInfo
 IfaceEnv IfaceSyn IfaceType InstEnv Kind ListSetOps Literal LoadIface
 Maybes MkCore MkId Module MonadUtils Name NameEnv NameSet OccName
 OccurAnal OptCoercion OrdList Outputable PackageConfig Packages Pair Panic
 PatSyn PipelineMonad Platform PlatformConstants PprCore PrelInfo PrelNames
 PrelRules Pretty PrimOp RdrName Rules Serialized SrcLoc StaticFlags
 StringBuffer TcEvidence TcIface TcRnMonad TcRnTypes TcType TcTypeNats
 TrieMap TyCon Type TypeRep TysPrim TysWiredIn Unify UniqFM UniqSet
 UniqSupply Unique Util Var VarEnv VarSet Bitmap BlockId ByteCodeAsm
 ByteCodeInstr ByteCodeItbls CLabel Cmm CmmCallConv CmmExpr CmmInfo
 CmmMachOp CmmNode CmmUtils CodeGen.Platform CodeGen.Platform.ARM
 CodeGen.Platform.NoRegs CodeGen.Platform.PPC CodeGen.Platform.PPC_Darwin
 CodeGen.Platform.SPARC CodeGen.Platform.X86 CodeGen.Platform.X86_64
 FastBool Hoopl Hoopl.Dataflow InteractiveEvalTypes MkGraph PprCmm
 PprCmmDecl PprCmmExpr Reg RegClass SMRep StgCmmArgRep StgCmmClosure
 StgCmmEnv StgCmmLayout StgCmmMonad StgCmmProf StgCmmTicky StgCmmUtils
 StgSyn Stream"
 dll-split: internal error: evacuate(static): strange closure type 0
     (GHC version 7.8.4 for arm_unknown_linux)
     Please report this as a GHC bug:
 http://www.haskell.org/ghc/reportabug
 compiler/ghc.mk:646: recipe for target 'compiler/stage2/dll-split.stamp'
 failed
 make[1]: *** [compiler/stage2/dll-split.stamp] Aborted
 Makefile:71: recipe for target 'all' failed
 make: *** [all] Error 2

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11570>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list