ghc returns ExitFailure (-4) when compiling some projects on ARM
|Reported by:||Ansible||Owned by:|
|Type of failure:||Compile-time crash||Test Case:||compile a big web project|
|Related Tickets:||Differential Rev(s):|
I'm trying to get either yesod or scotty to build on my raspberry pi 2, which is running arch.
Arch sports the newest working compiler for ghc, 7.8.2. Unfortunately llvm on arch is TOO new, and one must downgrade llvm, and the llvm downgrade packages are not available anywhere officially. I, however, happen to have these packages. These are for llvm 3.4.2-1.1.
At any rate, I find I'm at an impasse with both Yesod and with Scotty.
Sample output is attached. There's quite a bit of success, having compiled a lot of libraries, but it fails at the end.
I thought it might be a lack of memory, so I gave it a try with a 1G swapfile as well, but that didn't help.