[GHC] #8629: Option 'split-objs' being ignored when trying to reduce object code size in iOS cross-compilation

GHC ghc-devs at haskell.org
Wed Mar 6 21:48:28 UTC 2019


#8629: Option 'split-objs' being ignored when trying to reduce object code size in
iOS cross-compilation
---------------------------------+----------------------------------------
        Reporter:  f1rstmistake  |                Owner:  (none)
            Type:  bug           |               Status:  new
        Priority:  normal        |            Milestone:
       Component:  Compiler      |              Version:  7.6.3
      Resolution:                |             Keywords:  ios
Operating System:  MacOS X       |         Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown  |            Test Case:
      Blocked By:  8300          |             Blocking:
 Related Tickets:                |  Differential Rev(s):
       Wiki Page:                |
---------------------------------+----------------------------------------

Comment (by Marge Bot <ben+marge-bot@…>):

 In [changeset:"37f257afcd6a52cf4d76c60d766b1aeb520b9f05/ghc"
 37f257af/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="37f257afcd6a52cf4d76c60d766b1aeb520b9f05"
 Rip out object splitting

 The splitter is an evil Perl script that processes assembler code.
 Its job can be done better by the linker's --gc-sections flag. GHC
 passes this flag to the linker whenever -split-sections is passed on
 the command line.

 This is based on @DemiMarie's D2768.

 Fixes Trac #11315
 Fixes Trac #9832
 Fixes Trac #8964
 Fixes Trac #8685
 Fixes Trac #8629
 }}}

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


More information about the ghc-tickets mailing list