Error building ghc on raspberry pi.
jeremy at n-heptane.com
Thu Jan 3 02:40:56 CET 2013
My random guess is that /tmp is mounted using tmpfs (aka a RAM drive)
and it got full. Try remounting /tmp to use the sdcard instead ?
On Wed, Jan 2, 2013 at 7:32 PM, <roconnor at theorem.ca> wrote:
> I'm trying to build ghc-7.4.1 using ghc-7.4.1 on my raspberry pi (armv6l)
> and I get the following error:
> "inplace/bin/ghc-stage1" -H32m -O -package-name ghc-prim-0.2.0.0
> -hide-all-packages -i -ilibraries/ghc-prim/.
> -Ilibraries/ghc-prim/dist-install/build/autogen -Ilibraries/ghc-prim/.
> -optPlibraries/ghc-prim/dist-install/build/autogen/cabal_macros.h -package
> rts-1.0 -package-name ghc-prim -XHaskell98 -XCPP -XMagicHash
> -XForeignFunctionInterface -XUnliftedFFITypes -XUnboxedTuples
> -XEmptyDataDecls -XNoImplicitPrelude -O2 -no-user-package-conf -rtsopts
> -odir libraries/ghc-prim/dist-install/build -hidir
> libraries/ghc-prim/dist-install/build -stubdir
> libraries/ghc-prim/dist-install/build -hisuf hi -osuf o -hcsuf hc -c
> libraries/ghc-prim/./GHC/Types.hs -o
> Stack dump:
> 0. Program arguments: llc -O3 -relocation-model=static
> /tmp/ghc6324_0/ghc6324_0.bc -o /tmp/ghc6324_0/ghc6324_0.lm_s 1. Running
> pass 'Function Pass Manager' on module '/tmp/ghc6324_0/ghc6324_0.bc'.
> 2. Running pass 'ARM Instruction Selection' on function
> /tmp/ghc6324_0/ghc6324_0.lm_s: openBinaryFile: does not exist (No such file
> or directory)
> make: *** [libraries/ghc-prim/dist-install/build/GHC/Types.o] Error 1
> make: *** [all] Error 2
> Anyone have any thoughts on what might be the matter and what I can do to
> fix it. (If only openBinaryFile said which file doesn't exist.)
> Russell O'Connor <http://r6.ca/>
> ``All talk about `theft,''' the general counsel of the American Graphophone
> Company wrote, ``is the merest claptrap, for there exists no property in
> ideas musical, literary or artistic, except as defined by statute.''
> Glasgow-haskell-users mailing list
> Glasgow-haskell-users at haskell.org
More information about the Glasgow-haskell-users