Closed joeyh closed 10 years ago
Actually, this is a bug in the build script; I didn't have llvm installed and it didn't check for that.
However, my question about ghc versions stands..
Actually, it fails even with llvm installed. I think the real problem is that it's not passing --with-gcc= to ghc's configure, so libffi ends up being built for arm using the host compiler, which of course doesn't work.
Excellent. Thanks!
Building current ghc head fails. In a particularly nasty way involving arm assembly code. For example:
../src/arm/sysv.S:281: Error: no such instruction: `beq .Lretint'
That's not a bug in ghc-android itself, but I wonder if it would make sense to find a ghc release that works, and build from it by default rather than from git head?