[GHC] #8685: -split-objs doesn't work for executables
GHC
ghc-devs at haskell.org
Mon Nov 17 01:39:21 UTC 2014
#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
More information about the ghc-tickets
mailing list