[GHC] #14328: ld.gold -r brokenness breaks SplitSections=YES builds

GHC ghc-devs at haskell.org
Wed Feb 21 17:03:20 UTC 2018


#14328: ld.gold -r brokenness breaks SplitSections=YES builds
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                Owner:  (none)
            Type:  bug               |               Status:  upstream
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.2.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:  14291
 Related Tickets:                    |  Differential Rev(s):  Phab:D4431
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Simon Marlow <marlowsd@…>):

 In [changeset:"0a3629af36e89de73b7012c726fd533c4c5460fb/ghc"
 0a3629af/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="0a3629af36e89de73b7012c726fd533c4c5460fb"
 Don't use ld.gold when building libraries for GHCi

 Summary:
 ld.gold is buggy when using -r and a linker script.  See upstream bug
 https://sourceware.org/bugzilla/show_bug.cgi?id=22266

 This has been causing various brokenness for the GHC runtime linker,
 where we load these broken object files.

 Test Plan: Test program from #14675

 Reviewers: bgamari, RyanGlScott, alpmestan, hvr, erikd

 Subscribers: rwbarton, thomie, erikd, carter

 GHC Trac Issues: #14328, #14675, #14291

 Differential Revision: https://phabricator.haskell.org/D4431
 }}}

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


More information about the ghc-tickets mailing list