[GHC] #9414: GHC 7.8.3 compilation fails on Raspberry PI
GHC
ghc-devs at haskell.org
Wed Aug 6 07:21:20 UTC 2014
#9414: GHC 7.8.3 compilation fails on Raspberry PI
----------------------------+---------------------------------------
Reporter: ipuustin | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.8.3
Keywords: | Operating System: Linux
Architecture: arm | Type of failure: None/Unknown
Difficulty: Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Revisions:
----------------------------+---------------------------------------
Tried to compile GHC 7.8.3 from the source package on Raspbian (a Debian-
based Raspberry PI distribution). The installed GHC version is 7.4.1. All
build dependencies for 7.4.1 were installed ('apt-get build-dep ghc').
{{{
"inplace/bin/ghc-stage1" -o utils/dll-split/dist-install/build/tmp/dll-
split -hisuf dyn_hi -osuf dyn_o -hcsuf dyn_hc -fPIC -dynamic -H32m -O
-hide-all-packages -i -iutils/dll-split/. -iutils/dll-split/dist-
install/build -iutils/dll-split/dist-install/build/autogen -Iutils/dll-
split/dist-install/build -Iutils/dll-split/dist-install/build/autogen
-optP-include -optPutils/dll-split/dist-
install/build/autogen/cabal_macros.h -package base-4.7.0.1 -package
containers-0.5.5.1 -package filepath-1.3.0.2 -XHaskell98 -no-user-
package-db -rtsopts -odir utils/dll-split/dist-install/build -hidir
utils/dll-split/dist-install/build -stubdir utils/dll-split/dist-
install/build -optl-L'/home/pi/ghc/ghc-7.8.3/libraries/filepath/dist-
install/build' -optl-L'/home/pi/ghc/ghc-7.8.3/libraries/containers/dist-
install/build' -optl-L'/home/pi/ghc/ghc-7.8.3/libraries/deepseq/dist-
install/build' -optl-L'/home/pi/ghc/ghc-7.8.3/libraries/array/dist-
install/build' -optl-L'/home/pi/ghc/ghc-7.8.3/libraries/base/dist-
install/build' -optl-L'/home/pi/ghc/ghc-7.8.3/libraries/integer-gmp/dist-
install/build' -optl-L'/home/pi/ghc/ghc-7.8.3/libraries/ghc-prim/dist-
install/build' -optl-L'/home/pi/ghc/ghc-7.8.3/rts/dist/build' -optl-lgmp
-optl-lm -optl-lrt -optl-ldl -fPIC -dynamic -H32m -O -hide-all-
packages -i -iutils/dll-split/. -iutils/dll-split/dist-install/build
-iutils/dll-split/dist-install/build/autogen -Iutils/dll-split/dist-
install/build -Iutils/dll-split/dist-install/build/autogen -optP-
include -optPutils/dll-split/dist-install/build/autogen/cabal_macros.h
-package base-4.7.0.1 -package containers-0.5.5.1 -package
filepath-1.3.0.2 -XHaskell98 -no-user-package-db -rtsopts -fno-use-
rpaths -optl-Wl,-rpath -optl-Wl,'$ORIGIN/../filepath-1.3.0.2' -optl-
Wl,-rpath -optl-Wl,'$ORIGIN/../containers-0.5.5.1' -optl-Wl,-rpath -optl-
Wl,'$ORIGIN/../deepseq-1.3.0.2' -optl-Wl,-rpath -optl-
Wl,'$ORIGIN/../array-0.5.0.0' -optl-Wl,-rpath -optl-
Wl,'$ORIGIN/../base-4.7.0.1' -optl-Wl,-rpath -optl-Wl,'$ORIGIN/../integer-
gmp-0.5.1.0' -optl-Wl,-rpath -optl-Wl,'$ORIGIN/../ghc-prim-0.3.1.0' -optl-
Wl,-rpath -optl-Wl,'$ORIGIN/../rts-1.0' -optl-Wl,-zorigin utils/dll-split
/dist-install/build/Main.dyn_o
"cp" -p utils/dll-split/dist-install/build/tmp/dll-split inplace/lib/bin
/dll-split
"rm" -f inplace/bin
/dll-split
echo '#!/bin/bash' >>
inplace/bin/dll-split
echo 'executablename="/home/pi/ghc/ghc-7.8.3/inplace/lib/bin/dll-split"'
>> inplace/bin/dll-split
echo 'datadir="/home/pi/ghc/ghc-7.8.3/inplace/lib"'
>> inplace/bin/dll-split
echo 'bindir="/home/pi/ghc/ghc-7.8.3/inplace/bin"'
>> inplace/bin/dll-split
echo 'topdir="/home/pi/ghc/ghc-7.8.3/inplace/lib"'
>> inplace/bin/dll-split
echo 'pgmgcc="/usr/bin/gcc"' >>
inplace/bin/dll-split
echo 'export LD_LIBRARY_PATH="/home/pi/ghc/ghc-7.8.3/libraries/filepath
/dist-install/build:/home/pi/ghc/ghc-7.8.3/libraries/containers/dist-
install/build:/home/pi/ghc/ghc-7.8.3/libraries/deepseq/dist-
install/build:/home/pi/ghc/ghc-7.8.3/libraries/array/dist-
install/build:/home/pi/ghc/ghc-7.8.3/libraries/base/dist-
install/build:/home/pi/ghc/ghc-7.8.3/libraries/integer-gmp/dist-
install/build:/home/pi/ghc/ghc-7.8.3/libraries/ghc-prim/dist-
install/build:/home/pi/ghc/ghc-7.8.3/rts/dist/build:$LD_LIBRARY_PATH"' >>
inplace/bin/dll-split
echo 'exec "$executablename" ${1+"$@"}' >> inplace/bin
/dll-split
chmod +x inplace/bin
/dll-split
inplace/bin/dll-split compiler/stage2/build/.depend-v-p-dyn.haskell
"DynFlags" "Annotations Avail Bag BasicTypes BinIface Binary Bitmap
BlockId BooleanFormula BreakArray BufWrite BuildTyCl ByteCodeAsm
ByteCodeInstr ByteCodeItbls CLabel Class CmdLineParser Cmm CmmCallConv
CmmExpr CmmInfo CmmMachOp CmmNode CmmType CmmUtils CoAxiom ConLike
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 Coercion Config Constants
CoreArity CoreFVs CoreLint CoreSubst CoreSyn CoreTidy CoreUnfold CoreUtils
CostCentre DataCon Demand Digraph DriverPhases DsMonad DynFlags Encoding
ErrUtils Exception ExtsCompat46 FamInstEnv FastBool FastFunctions
FastMutInt FastString FastTypes Finder Fingerprint FiniteMap ForeignCall
Hooks Hoopl Hoopl.Dataflow HsBinds HsDecls HsDoc HsExpr HsImpExp HsLit
HsPat HsSyn HsTypes HsUtils HscTypes IOEnv Id IdInfo IfaceEnv IfaceSyn
IfaceType InstEnv InteractiveEvalTypes Kind ListSetOps Literal LoadIface
Maybes MkCore MkGraph MkId Module MonadUtils Name NameEnv NameSet OccName
OccurAnal OptCoercion OrdList Outputable PackageConfig Packages Pair Panic
PatSyn PipelineMonad Platform PlatformConstants PprCmm PprCmmDecl
PprCmmExpr PprCore PrelInfo PrelNames PrelRules Pretty PrimOp RdrName Reg
RegClass Rules SMRep Serialized SrcLoc StaticFlags StgCmmArgRep
StgCmmClosure StgCmmEnv StgCmmLayout StgCmmMonad StgCmmProf StgCmmTicky
StgCmmUtils StgSyn Stream StringBuffer TcEvidence TcIface TcRnMonad
TcRnTypes TcType TcTypeNats TrieMap TyCon Type TypeRep TysPrim TysWiredIn
Unify UniqFM UniqSet UniqSupply Unique Util Var VarEnv VarSet"
dll-split: internal error: evacuate(static): strange closure type 0
(GHC version 7.8.3 for arm_unknown_linux)
Please report this as a GHC bug:
http://www.haskell.org/ghc/reportabug
make[1]: *** [compiler/stage2/dll-split.stamp] Keskeytetty
make: *** [all] Virhe 2
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9414>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list