[GHC] #10464: ghc 7.8.4 on arm

GHC ghc-devs at haskell.org
Wed Dec 23 22:51:46 UTC 2015


#10464: ghc 7.8.4 on arm
---------------------------------+-----------------------------
        Reporter:  andrewufrank  |                Owner:
            Type:  bug           |               Status:  new
        Priority:  normal        |            Milestone:
       Component:  Build System  |              Version:  7.8.4
      Resolution:                |             Keywords:
Operating System:  Linux         |         Architecture:  arm
 Type of failure:  None/Unknown  |            Test Case:
      Blocked By:                |             Blocking:
 Related Tickets:  #10376        |  Differential Rev(s):
       Wiki Page:                |
---------------------------------+-----------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"353e97a37da98ccd174429fad348efbf01ace96c/ghc"
 353e97a3/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="353e97a37da98ccd174429fad348efbf01ace96c"
 config.mk.in: Disable stripping by default on ARM

 The Cortex A8 hardware apparently has a bug which ld.gold will try to
 correct; however in order to do so it must have unstripped executables
 lest we see warnings of the form (see #10376, #10464),

     /usr/bin/ld.gold: warning: cannot scan executable section 1 of ...
     for Cortex-A8 erratum because it has no mapping symbols.

 Consequently we disabling stripping by default on this architecture.

 A bit more discussion about this issue can be found in this [Android
 issue](http://code.google.com/p/android/issues/detail?id=40794).

 Test Plan: Try validating on ARM

 Reviewers: erikd, austin, thomie

 Reviewed By: austin, thomie

 Differential Revision: https://phabricator.haskell.org/D1599

 GHC Trac Issues: #10376, #10464
 }}}

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


More information about the ghc-tickets mailing list