[Haskell-cafe] Fwd: vector fails to build with ghc on arm-linux-androideabi
Herwig Hochleitner
hhochleitner at gmail.com
Wed Nov 27 21:29:57 UTC 2013
Hello,
I'm trying to build the openpgp libs for android. I can build and run
HaskellActivity from the HelloWorld sample, but as when I try to install
vector, I get the following build failure:
====================
$ arm-linux-androideabi-cabal install --reinstall --force-reinstall vector
...
[ 5 of 19] Compiling Data.Vector.Fusion.Stream.Monadic (
Data/Vector/Fusion/Stream/Monadic.hs,
dist/build/Data/Vector/Fusion/Stream/Monadic.o )
Loading package ghc-prim ... linking ... ghc:
/home/androidbuilder/.ghc/android-14/arm-linux-androideabi-4.8/lib/arm-unknown-linux-androideabi-ghc-7.7.20130921/ghc-prim-0.3.1.0/HSghc-prim-0.3.1.0.o:
unhandled ELF relocation(Rel) type 28
ghc: unable to load package `ghc-prim'
Failed to install vector-0.10.9.1
...
====================
It seems somewhat related to this closed bug:
https://ghc.haskell.org/trac/ghc/ticket/7824
Am I doing something stupid? Can I fix this?
cheers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20131127/27254645/attachment.html>
More information about the Haskell-Cafe
mailing list