[GHC] #10801: ghc returns ExitFailure (-4) when compiling some projects on ARM

GHC ghc-devs at haskell.org
Thu Aug 27 22:05:18 UTC 2015


#10801: ghc returns ExitFailure (-4) when compiling some projects on ARM
-------------------------------------+-------------------------------------
              Reporter:  Ansible     |             Owner:
                  Type:  bug         |            Status:  new
              Priority:  normal      |         Milestone:
             Component:  Compiler    |           Version:  7.8.2
              Keywords:              |  Operating System:  Unknown/Multiple
          Architecture:  arm         |   Type of failure:  Compile-time
             Test Case:  compile a   |  crash
  big web project                    |        Blocked By:
              Blocking:              |   Related Tickets:
Differential Revisions:              |
-------------------------------------+-------------------------------------
 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.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10801>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list