[GHC] #9336: binutils gold linker detection does not work when called via gcc and selected by commandline parameters
#9336: binutils gold linker detection does not work when called via gcc and selected by commandline parameters -------------------------------------+------------------------------------- Reporter: slomo | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.8.3 Keywords: | Differential Revisions: Operating System: Unknown/Multiple | Architecture: Type of failure: None/Unknown | Unknown/Multiple Test Case: | Difficulty: Unknown Blocking: | Blocked By: | Related Tickets: -------------------------------------+------------------------------------- The binutils gold detection does not work if it is called via gcc and only selected via commandline parameters (i.e. -fuse-ld=gold). Reason is that the "linker" (actually compiler) is called without its commandline parameters. Attached patch fixes that. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9336> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#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: | -------------------------------------+------------------------------------- Changes (by thomie): * status: new => patch * component: Compiler => Driver * related: => #8976 -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9336#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#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@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
#9336: binutils gold linker detection does not work when called via gcc and selected by commandline parameters -------------------------------------+------------------------------------- Reporter: slomo | Owner: Type: bug | Status: closed Priority: normal | Milestone: 7.10.1 Component: Driver | Version: 7.8.3 Resolution: fixed | 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: | -------------------------------------+------------------------------------- Changes (by thoughtpolice): * status: patch => closed * resolution: => fixed * milestone: => 7.10.1 Comment: Merged, thanks! -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9336#comment:3> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#9336: binutils gold linker detection does not work when called via gcc and selected by commandline parameters -------------------------------------+------------------------------------- Reporter: slomo | Owner: Type: bug | Status: merge Priority: normal | Milestone: 7.8.4 Component: Driver | Version: 7.8.3 Resolution: fixed | 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: | -------------------------------------+------------------------------------- Changes (by nomeata): * status: closed => merge * milestone: 7.10.1 => 7.8.4 Comment: This patch is required to get 7.8.4 compile on arm in Debian; I hope this makes this eligible for merging into 7.8. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9336#comment:4> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#9336: binutils gold linker detection does not work when called via gcc and selected by commandline parameters -------------------------------------+------------------------------------- Reporter: slomo | Owner: Type: bug | Status: closed Priority: normal | Milestone: 7.8.4 Component: Driver | Version: 7.8.3 Resolution: fixed | 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: | -------------------------------------+------------------------------------- Changes (by thoughtpolice): * status: merge => closed Comment: Merged to 7.8.4. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9336#comment:5> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
participants (1)
-
GHC