[GHC] #14328: ld.gold -r brokenness breaks SplitSections=YES builds
#14328: ld.gold -r brokenness breaks SplitSections=YES builds -------------------------------------+------------------------------------- Reporter: bgamari | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.2.1 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: 14291 | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- See https://sourceware.org/bugzilla/show_bug.cgi?id=22266. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14328> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#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): Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: new => upstream -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14328#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#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): Wiki Page: | -------------------------------------+------------------------------------- Description changed by bgamari: Old description:
New description: See https://sourceware.org/bugzilla/show_bug.cgi?id=22266. Repro: https://github.com/bgamari/T14291-repro -- -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14328#comment:4> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#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): Wiki Page: | -------------------------------------+------------------------------------- Comment (by simonmar): This looks like the final fix: https://sourceware.org/git/gitweb.cgi?p =binutils-gdb.git;a=commit;h=033bfb739b525703bfe23f151d09e9beee3a2afe -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14328#comment:5> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#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, 14675 Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by simonmar): * blocking: 14291 => 14291, 14675 -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14328#comment:6> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#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: | -------------------------------------+------------------------------------- Changes (by simonmar): * differential: => Phab:D4431 -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14328#comment:8> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#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
participants (1)
-
GHC