[GHC] #11055: GHC 7.8.4 crash on ARM while building Stack 0.1.7

GHC ghc-devs at haskell.org
Mon Nov 9 23:02:05 UTC 2015


#11055: GHC 7.8.4 crash on ARM while building Stack 0.1.7
---------------------------------------+----------------------------------
        Reporter:  Lokathor            |                Owner:
            Type:  bug                 |               Status:  infoneeded
        Priority:  normal              |            Milestone:
       Component:  Compiler            |              Version:  7.8.4
      Resolution:                      |             Keywords:
Operating System:  Linux               |         Architecture:  arm
 Type of failure:  Compile-time crash  |            Test Case:
      Blocked By:                      |             Blocking:
 Related Tickets:                      |  Differential Rev(s):
       Wiki Page:                      |
---------------------------------------+----------------------------------

Comment (by Lokathor):

 Alright, I guess the downloads directories are made before they're filled,
 and they're filled based on platform popularity as well. At the time of
 this writing, the 7.10.3-rc1 directory has an ARM build, the 7.10.3-rc2
 does not, and the 7.10.3-rc3 directory is entirely empty.

 Using 7.10.3-rc1 I was able to build stack 0.1.7, and it seems to work. I
 also tried out another file that would always crash GHCi (but not GHC) in
 version 7.8.4, and using version 7.10.3-rc1 it did not crash ghci.

 I did however get a warning I've never seen before during the linking,
 about missing mapping symbols. I built another project just to be sure and
 it gave the same thing, all the messages are basically


 {{{
 /usr/bin/ld.gold: warning: cannot scan executable section 1 of
 /home/daniel/dev/haizod/.cabal-sandbox/lib/arm-linux-
 ghc-7.10.2.20151030/netwo_EsGuXlNmVtd2gsY9SXPuBb/libHSnetwork-
 simple-0.4.0.4-G2iPUu3gNst2JPWvkDR4bl.a(TCP.o)
 for Cortex-A8 erratum because it has no mapping symbols.
 }}}

 Things *seem* to run fine despite the warning though. I'm going to use the
 newly built stack to rebuild stack itself, which should give it a fair
 shake, but it takes like a day to build all the dependencies and the
 binary together, so I'll get back on results from that tomorrow.

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


More information about the ghc-tickets mailing list