[GHC] #9873: Use CONF_GCC_LINKER_OPTS_STAGE2 only in stage2

GHC ghc-devs at haskell.org
Mon Dec 15 08:50:10 UTC 2014


#9873: Use CONF_GCC_LINKER_OPTS_STAGE2 only in stage2
-------------------------------------+-------------------------------------
              Reporter:  nomeata     |            Owner:
                  Type:  bug         |           Status:  new
              Priority:  normal      |        Milestone:
             Component:  Build       |          Version:  7.9
  System                             |         Keywords:
            Resolution:              |     Architecture:  Unknown/Multiple
      Operating System:              |       Difficulty:  Unknown
  Unknown/Multiple                   |       Blocked By:
       Type of failure:              |  Related Tickets:
  None/Unknown                       |
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by nomeata):

 Did you also apply the patch that actually makes it use `gold`?
 {{{
 Index: ghc-7.8.3.20141119/aclocal.m4
 ===================================================================
 --- ghc-7.8.3.20141119.orig/aclocal.m4  2014-12-08 18:49:28.207171714+0100
 +++ ghc-7.8.3.20141119/aclocal.m4       2014-12-08 19:03:06.815522917+0100
 @@ -553,6 +553,10 @@
          $3="$$3 -D_HPUX_SOURCE"
          $5="$$5 -D_HPUX_SOURCE"
          ;;
 +    arm*)
 +        # On arm, link using gold
 +        $3="$$3 -fuse-ld=gold"
 +        ;;
      esac
      # If gcc knows about the stack protector, turn it off.
 }}}

 And how does it fail? Did it run `dll-split` successfully? Might be a
 different issue. You should talk to gamari about it.

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


More information about the ghc-tickets mailing list