[GHC] #10376: arm/linux linking failure

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


#10376: arm/linux linking failure
-------------------------------------+-----------------------------
        Reporter:  erikd             |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.0.1
       Component:  Compiler          |              Version:  7.11
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:  arm
 Type of failure:  Other             |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #10464            |  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/10376#comment:10>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list