[GHC] #8685: -split-objs doesn't work for executables

#8685: -split-objs doesn't work for executables ------------------------------------+------------------------------------- Reporter: refold | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Driver | Version: 7.6.3 Keywords: | Operating System: Unknown/Multiple Architecture: Unknown/Multiple | Type of failure: None/Unknown Difficulty: Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | ------------------------------------+------------------------------------- While investigating [this bug report](https://github.com/haskell/cabal/issues/1611), I've noticed that the `-split-objs` option only works for libraries, but not for executables. That is, unlike in the case of libraries, the driver feeds only `A.o B.o ...` files to the linker instead of `A_split_0.o A_split_1.o ... B_split_0.o B_split_1.o ...`. It'd be nice if `-split-objs` could be changed to also work on executables. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8685 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8685: -split-objs doesn't work for executables -------------------------------------+------------------------------------- Reporter: refold | Owner: Type: feature | Status: new request | Milestone: Priority: normal | Version: 7.6.3 Component: Driver | Keywords: Resolution: | Architecture: Unknown/Multiple Operating System: | Difficulty: Unknown Unknown/Multiple | Blocked By: Type of failure: | Related Tickets: None/Unknown | Test Case: | Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- Changes (by thomie): * type: bug => feature request Comment: It is mentioned in the user's guide: https://www.haskell.org/ghc/docs/latest/html/users_guide/flag- reference.html -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8685#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8685: -split-objs doesn't work for executables -------------------------------------+------------------------------------- Reporter: refold | Owner: Type: feature | Status: new request | Milestone: Priority: normal | Version: 7.6.3 Component: Driver | Keywords: Resolution: | Architecture: Unknown/Multiple Operating System: | Difficulty: Unknown Unknown/Multiple | Blocked By: Type of failure: | Related Tickets: None/Unknown | Test Case: | Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- Description changed by refold: Old description:
While investigating [this bug report](https://github.com/haskell/cabal/issues/1611), I've noticed that the `-split-objs` option only works for libraries, but not for executables. That is, unlike in the case of libraries, the driver feeds only `A.o B.o ...` files to the linker instead of `A_split_0.o A_split_1.o ... B_split_0.o B_split_1.o ...`. It'd be nice if `-split- objs` could be changed to also work on executables.
New description: While investigating [https://github.com/haskell/cabal/issues/1611 this bug report], I've noticed that the `-split-objs` option only works for libraries, but not for executables. That is, unlike in the case of libraries, the driver feeds only `A.o B.o ...` files to the linker instead of `A_split_0.o A_split_1.o ... B_split_0.o B_split_1.o ...`. It'd be nice if `-split-objs` could be changed to also work on executables. -- -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8685#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8685: -split-objs doesn't work for executables
-------------------------------------+-------------------------------------
Reporter: refold | Owner: (none)
Type: feature request | Status: new
Priority: normal | Milestone:
Component: Driver | Version: 7.6.3
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
-------------------------------------+-------------------------------------
Comment (by Marge Bot

#8685: -split-objs doesn't work for executables -------------------------------------+------------------------------------- Reporter: refold | Owner: (none) Type: feature request | Status: closed Priority: normal | Milestone: 8.10.1 Component: Driver | Version: 7.6.3 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: new => closed * resolution: => fixed * milestone: => 8.10.1 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8685#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8685: -split-objs doesn't work for executables -------------------------------------+------------------------------------- Reporter: refold | Owner: (none) Type: feature request | Status: closed Priority: normal | Milestone: 8.10.1 Component: Driver | Version: 7.6.3 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by bgamari): `-split-objs` has been removed in favor of `-split-sections`. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8685#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC