[GHC] #9336: binutils gold linker detection does not work when called via gcc and selected by commandline parameters

GHC ghc-devs at haskell.org
Tue Nov 18 18:43:20 UTC 2014


#9336: binutils gold linker detection does not work when called via gcc and
selected by commandline parameters
-------------------------------------+-------------------------------------
              Reporter:  slomo       |            Owner:
                  Type:  bug         |           Status:  patch
              Priority:  normal      |        Milestone:
             Component:  Driver      |          Version:  7.8.3
            Resolution:              |         Keywords:
      Operating System:              |     Architecture:  Unknown/Multiple
  Unknown/Multiple                   |       Difficulty:  Unknown
       Type of failure:              |       Blocked By:
  None/Unknown                       |  Related Tickets:  #8976
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by Austin Seipp <austin@…>):

 In [changeset:"e7b414a3cc0e27049f2608f5e0a00c47146cc46d/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="e7b414a3cc0e27049f2608f5e0a00c47146cc46d"
 Fix detection of GNU gold linker if invoked via gcc with parameters

 Previously the linker was called without any commandline parameters to
 detect whether bfd or gold is used. However the -fuse-ld parameter can
 be used to switch between gold and bfd and should be taken into account
 here.

 Trac #9336

 Signed-off-by: Austin Seipp <austin at well-typed.com>
 }}}

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


More information about the ghc-tickets mailing list