[GHC] #13810: Gold linker fails

GHC ghc-devs at haskell.org
Sat Jun 10 21:20:12 UTC 2017


#13810: Gold linker fails
---------------------------------+----------------------------------------
        Reporter:  ksaric        |                Owner:  (none)
            Type:  bug           |               Status:  new
        Priority:  normal        |            Milestone:
       Component:  Compiler      |              Version:  8.0.1
      Resolution:                |             Keywords:  linker
Operating System:  Linux         |         Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown  |            Test Case:
      Blocked By:                |             Blocking:
 Related Tickets:                |  Differential Rev(s):
       Wiki Page:                |
---------------------------------+----------------------------------------

Comment (by domenkozar):

 Following fixes it:

 ```
 diff --git a/bronze-linker.cabal b/bronze-linker.cabal
 index 548dbb9..00e0b5b 100644
 --- a/bronze-linker.cabal
 +++ b/bronze-linker.cabal
 @@ -31,6 +31,8 @@ executable bronze-linker-exe
    build-depends:       base
                       , bronze-linker
    default-language:    Haskell2010
 +  ghc-options:       -optl-fuse-ld=gold
 +  ld-options:        -fuse-ld=gold

  test-suite bronze-linker-test
    type:                exitcode-stdio-1.0
 Discard this hunk from worktree [y,n,q,a,d,/,e,?]? y
 ```

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


More information about the ghc-tickets mailing list