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

GHC ghc-devs at haskell.org
Fri Aug 28 15:01:58 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
      Resolution:                    |                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:
-------------------------------------+-------------------------------------

Comment (by Ansible):

 I'm glad to see an arm binary for 7.10.2, but it hasn't worked for me - it
 fails to compile 'hello world'.

 I didn't know gold was recommended for 7.8.2.  I followed the procedure
 here for enabling it:

 https://wiki.archlinux.org/index.php/Gold_linker

 "ghc --info" still reports "("ld command","/usr/bin/ld")".  I guess that's
 normal?  Is there another way to enable gold?  When I had debian jessie
 and 7.10.2, "ghc --info" reported gold as the 'ld command'.  At any rate,
 this is what I get for ld --version.


 {{{
 [bburdette at alarmpi epicmeatbars]$ ld --version
 GNU gold (GNU Binutils 2.25.1) 1.11
 Copyright (C) 2014 Free Software Foundation, Inc.

 }}}


 Unfortunately this didn't allow the link to work in my 'epic' project, but
 maybe it would if I recompiled everything.  I'll go ahead with that and
 see if it helps.

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


More information about the ghc-tickets mailing list