I just installed ghc 7.8.2 on my new Raspberry Pi 2, which pulled in llvm 3.5. When I go to build my project, ghc prints out the warning:
You are using a new version of LLVM that hasn't been tested yet!
We will try though...
And then it ultimately explodes with "LLVM ERROR: Broken module found, compilation aborted!".
http://lpaste.net/120379
So I think there's just incompatible versions of ghc and llvm in the repos. I guess I'll try to downgrade llvm now, but I figured I should report this or something.